Questions tagged [tilde]
{tilde} is for questions about handling the special tilde character.
130 questions
212
votes
8
answers
166k
views
Correctly typesetting a tilde
How do I set the tilde (~) character correctly in LaTeX?
There’s a question discussing that on Stack Overflow, with a lot of answers. But dare I say it? They all suck:
\textasciitilde is too high,
\...
168
votes
1
answer
525k
views
tilde over a symbol Phi
Please suggest me a way to put tilde over a symbol phi.
I can easily put it over a letter but coming to the case of symbols, it is giving problems.
Thanks in advance.
58
votes
2
answers
219k
views
How do I draw a tilde in math mode? [duplicate]
Possible Duplicate:
How does one insert a backslash or a tilde into LaTeX?
I have tried using \text{\~{}} to draw a tilde in math mode. However, this only produces a superscript tilde.
I have ...
56
votes
4
answers
54k
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 to ...
33
votes
1
answer
26k
views
Why is this n with tilde disappearing in a BibTeX reference?
Working with the following abridged line in a BibTeX entry:
author = {J. Pe\~{n}a}
For some reason results in a BibTeX compilation to:
J.~P. {n}a
With a period and a space appearing and the tilde ...
30
votes
1
answer
22k
views
Tilde and slash in LaTeX
I am getting strange errors in LaTeX:
perhaps you should insert a `~' before "\ref"
missing `\ ' after "i.e."
missing `\ ' after "i.e."
I understand that the first expects me to put a tilde before ...
29
votes
3
answers
13k
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 ...
24
votes
1
answer
6k
views
What does the tilde character (~) do in math mode?
What effect does the tilde character ~ have in math mode? Is it the same non-breaking space that it is in text mode? Is it bad style to use ~ in math mode? I've seen it used in some examples but ...
21
votes
3
answers
13k
views
How to use tilde or space in includepdf filename?
I'm trying to include a pdf in a document, using pdfpages package, but I'm having troubles when filename contains tilde or space.
e.g.
\includepdf[pages=-]{C:/Users/MYUSER~1/AppData/Local/Temp/...
21
votes
2
answers
16k
views
moderncv : \homepage - can't handle a tilde
I'm using the latest version of moderncv from CTAN. When I set :
\homepage {homepage: my.homepage.url/~username/}
The tilde doesn't show up. So I tried:
\usepackage{textcomp}
\homepage {homepage: my....
18
votes
2
answers
20k
views
What is the difference between ~ (tilde) and \, (backslash comma) for a nonbreaking space? [duplicate]
Regarding tiny nonbreaking spaces, is there a difference between using a ~ (tilde) and using \, (backslash comma)? If so, what is the difference, in terms of length, properties, situations where you ...
18
votes
2
answers
19k
views
Sub tilde in LaTeX
In LaTeX, \tilde{x} puts a ~ on top of the x.
How can I put a ~ below the x?
16
votes
8
answers
9k
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 ...
13
votes
3
answers
34k
views
Double-tilde over symbol
I am trying to get a double tilde symbol over a letter but I can't find a well suiting solution. I tried
$\tilde{\tilde{z}}$
and
$\overset{\approx}{z}$
but both solution look a bit off.
I am trying ...
13
votes
3
answers
10k
views
Tilde below letter + subscript creates unwanted spacing
I use a tilde below a letter as a symbol for a vector. Redefining the \vec-command delivers a good output, but subscripts are a pain.
I'm using the following code:
\documentclass[10pt,a4paper]{...