Linked Questions

4
votes
4answers
2k views

How to show ~(tilde) in footnote? [duplicate]

Possible Duplicate: Correctly typesetting a tilde I can show ~(tilde) in normal text, using text as follows, \begin{quote} \verb|~| \end{quote} But the problem is when I try to put this in ...
1
vote
1answer
311 views

Is this a tilde? [duplicate]

Is this a tilde or some other ("upper tilde") symbol?
1
vote
0answers
307 views

Tilde symbol inside an environment [duplicate]

I have set a new matcode environment in order to have some matlab code in my .tex file, using the matlab-prettifier package (combined with the listings package). However, I have a problem with the ...
1
vote
1answer
44 views

Why ~ is not shown in place in R source listings? [duplicate]

My sample code is- \documentclass{article} \usepackage{listings} \usepackage{xcolor} \begin{document} \lstinputlisting[numbers=left,backgroundcolor=\color{lightgray},language=R]{code.R} \end{document}...
1
vote
0answers
24 views

How to get the symbol like tilde [duplicate]

The \tilde command is active and positions the tilde-symbol above the next letter: $\tilde x$. How to get the tilde itself as an isolated and vertically positioned symbol like a star $*$, $+$ etc?
0
votes
0answers
23 views

How to type “~”, the curly symbol used for “Home” in Linux, in latex? [duplicate]

I'm sorry if this is duplicate; I couldn't find it.
744
votes
9answers
1.5m views

How does one insert a backslash or a tilde (~) into LaTeX?

How does one insert a "\" (backslash) into the text of a LaTeX document? And how does one insert a "~" (tilde)? (If you insert \~, it will give you a tilde as an accent over the following letter.) I ...
15
votes
8answers
3k views

Why is tilde not available out of the box in TeX?

Today I need to type ~ in my document, but apparently it does not get rendered properly. I just got a blank space. I searched on the web and I found the same problem here. However, its solutions show ...
41
votes
3answers
40k views

URL with tilde character?

I'm trying to make a URL with a tilde character (~) in it: \usepackage{url} ... \url{http://lyle.smu.edu/~tspell/jaws} It looks right in the resulting PDF, but when clicking on it the browser goes ...
20
votes
3answers
7k views

How to insert a nice tilde in a lstlisting?

How do I insert a nice tilde that is centered in the middle in a lstlisting? I found another thread about tildes but I can't apply it because the method described there only works outside of ...
25
votes
2answers
1k views

Why can't caret and tilde be escaped with backslash alone?

I can escape some special characters with a backslash. \documentclass{article} \begin{document} \# \$ \% \& \_ \{ \} \end{document} But why can't I escape ^ and ~ with a backslash alone? For ...
20
votes
4answers
3k views

How can I create a full-size circumflex in typewriter font?

I have some C source code and would like to show the circumflex or caret (^) in the way it is typically shown in source code -- as a full-size character. The source code will be appearing in ...
9
votes
1answer
15k views

Quick question about curly braces not showing up

Ii am writing a short code, so I doubt anything else in the code is causing the problem. This is the problematic line of code: \[ M_R := \max {|f(z)|: |z - z_0| = R }\le M\] It doesn't show the ...
4
votes
1answer
3k views

How to insert LaTeX symbols? [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde into LaTeX? I tried inserting symbols in latex. e.g.: \texttildelow It didn't work. But symbols like \textasciitilde work....
5
votes
2answers
465 views

Is it possible to have URLs link from a pdf to the webpage? [duplicate]

Possible Duplicate: How does one insert a URL correctly? I'm writing up a document, and at one point I cite a file online found at http://www.math.uconn.edu/~kconrad/blurbs/grouptheory/groupsp3....
3
votes
1answer
2k views

Tilde in verbatim

I am writing a manual for an R file in which expressions like this are common: lm.1 <- lm(y ~ x1 + x2) I will be enclosing code samples in a verbatim environment but this doesn't work properly ...
3
votes
2answers
433 views

tilde in a url in the address portion of a letter

I am trying to include my website address in the address block of a letter. My webaddress has a tilde character, and my usual solution, $\sim$, to the tilde formatting problem is not working. The ...
2
votes
1answer
727 views

put a link in the document

I'm using the following code snippet to put a link in the document: \begin{footnotesize} \begin{verbatim} http://vlm1.uta.edu/~zhangzhong/fall_detection/ \end{verbatim} \end{footnotesize} But the ...
1
vote
1answer
717 views

How to display a 'not tilde' character [duplicate]

This doesn't seem to work: \usepackage{textcomp} \newcommand{\TextTilde}{\raisebox{0.5ex}{\texttildelow}} f(n) \not\TextTidle g(n) It displays the slash before the tilde. Is there any way I can get ...
0
votes
2answers
172 views

How can I use < and > in \keys{} of menukeys?

For the sake of this question I have created the following small example to reproduce the issue I am asking about. \documentclass[a4paper]{article} \usepackage{parskip} \usepackage[os=win]{menukeys} ...
2
votes
1answer
61 views

Quotation marks and hyphen in listings generate un-copyable PDF

I'm writing a document for general purpose so that anyone can follow it and the idea is to copy and paste this command in a Linux terminal. But when I do that in a terminal give me error because ...
0
votes
0answers
98 views

Cannot display tilde (~) in references latex / BibLatex

I have a link to a URL looking like this http://www.abc.de/~doo/bar/foobar.htm As you can see, it contains a ~. I tried changing the link to http://www.abc.de/\~doo/bar/foobar.htm However, the ~ ...