Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [tilde]

{tilde} is for questions about handling the special tilde character.

2
votes
1answer
57 views

Unbreakable spacing with tilde causes longer line

I am working on my thesis, but I came to a problem with unbreakable space in latex using tilde. It does an unbreakable space, but puts both words on previous line so the line is longer and at the end ...
0
votes
0answers
53 views

tilde above letter without changing font

I am writing a paper and am using a template where the author's names are in capitals, such as: \textsc{Robert Robertson$^1$\thanks{Corresponding Author: robert@gmail.com}, James Jameson$^1$, Will ...
3
votes
1answer
110 views

Make superscript lower for letter with tilde

Is there any way to have the t in my superscript further down? $\widetilde{\boldsymbol{W}}^t$ is the code for the second W^t, and $\boldsymbol{W}^t$ is the code for the first W^t in the screen-...
9
votes
3answers
2k 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 ...
1
vote
1answer
59 views

Can tilde symbol expanded to a whole word [duplicate]

I am new to using the tilde symbol in latex using the \tilde. It appears above one letter only. It seems to be this can be overlooked. Can I expand it somehow to be clearer? can the symbol be expanded ...
1
vote
1answer
210 views

Big tilde over regular text, not in math mode?

I am looking for ways to put tilde over regular text. In math mode, we can put tilde above letters by $\widetilde{ASK}$. Is there a way to do the same thing for regular text longer than three letters? ...
0
votes
1answer
165 views

Tilde over Hebrew letter

I need a simple solution for making a tilde over a Hebrew sign. \tilde{א} doesn't work. I also tried it with \makebox and \libertineGlyph{uni02DC} but \makebox produces more other mistakes. Are there ...
1
vote
1answer
372 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 ...
1
vote
1answer
87 views

tilde in superscript creates unnecessary spaces

I am using tile in math mode but it creates some unnecessary spaces over the variable I am using in superscript mode. x^{\sim}
4
votes
2answers
1k 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 ...
11
votes
3answers
913 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]{...
0
votes
1answer
53 views

tilde and bar entangled into each other

some times when we want to introduce two or more signs on top of a letter (for example tilde and bar signs over the letter u) they are entangled to each other (especially when we convert it to PDF) ...
5
votes
1answer
132 views

redefine ~ only within the scope of a \newcommand

I'd like to create a command (\newcommand) that does some decoration around a text (basically drawing a box around the text), for technical reports: Eg like: Use \pdobj{frob}{noz zle} for ...
2
votes
1answer
114 views

\Vdash with a tilde instead of a horizontal line?

I'm basically looking for a nicely type-set version of the symbol ||~, or a way to make it myself. Is there a way to generate a math-mode symbol that looks like a \VDash, but with a tilde in place of ...
1
vote
1answer
207 views

Is this a tilde? [duplicate]

Is this a tilde or some other ("upper tilde") symbol?
2
votes
1answer
270 views

Tilde in lstinputlisting

I am trying to include an R file in my document. There is a tilde in one of the R commands and when I try to use \lstinputlisting{file.r}, I get the awkward tilde which appears as if it were a ...
3
votes
3answers
493 views

LaTeX superscripts problem with widetilde

I tried to put a superscript (squared) with a \xi variable in the \widetilde : $\widetilde{\xi}^2 = (\widetilde{\xi})^2 \neq \widetilde{\xi^2}$ gives Which seems to be se same things, whereas it is ...
2
votes
2answers
136 views

Is there a good way to write URLs with tilde without using url or hyperref packages?

I want to write URLs, but the stylesheet cannot be used with url or hyperref packages. Then if I copy the urls from my pdf file and paste them to the browser, tilde symbols become %2(+a weird ...
5
votes
2answers
1k views

How to draw an isomorphism arrow in tikz-cd

I want to show an arrow for an isomorphism in a commutative diagram. Currently I'm using \ar[rr, dotted, "\textasciitilde", "\funcname{f}''"'] but there is two much vertical space between the Tilde ...
2
votes
1answer
118 views

Spacing with tilde

When I type $i\tilde{=} j$ the spacing is less than $i=j$ i.e. the i, \tilde{=}, and j all appear next to each other without space. How can I change it back to normal spacing?
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 ...
0
votes
1answer
894 views

how to have tilda and vector above a symbol [duplicate]

Is there a way to have symbol with a tilde and arrow stacked on top of each other? I tried $\vec \tilde{p}$ but it doesn't look good.
1
vote
1answer
157 views

Writing tilde in footnote url [duplicate]

I try to write footnote in my file as \footnote{http://chasen.org/\~taku/software/yamcha/} But the tilde is compiled as /∼ in my web browser. So it can not reach the webpage. I tried using ...
5
votes
1answer
199 views

Textcase, Listings, and Tilde

Consider the following MWE: \documentclass{scrreprt} \usepackage{textcase} \RequirePackage{listings} \usepackage[american]{babel} \begin{document} \MakeTextLowercase{A~B} \end{document} LaTeX ...
1
vote
1answer
224 views

How to get tilde enclosed in parenthesis

Quick and simple question (actually surprised I couldn't find it on Stackexchange already): How can I typeset (in math mode) quantities with a tilde on top that is enclosed in parentheses? Something ...
2
votes
1answer
63 views

Centering tildes on new lines in equation arrays

I have been using LaTex since a few weeks, and I have a lot of equations in my text. Up until now everything was perfectly doable, but now I am looking for a way to decrease the spacing between the ...
2
votes
1answer
582 views

vec command produces tilde instead of arrow

Upon compilation this generates an "E" with a tilde over it. What I want, of course, is an "E" with an arrow over it. I think this may be a font issue. Does anyone know how to get me what I want? \...
1
vote
1answer
316 views

LyX/LaTeX widetilde with superscripts problem

Using the \widetilde command to denote a tilde on a letter usually works wonders, although the tilde needs to be slightly lowered in my opinion. This didn't bother me too terribly until I needed to ...
1
vote
1answer
73 views

Tilde do not cover all variable

With this my equation: \begin{equation} \label{eq:new-ri} \tilde{RI} = \frac{RI(v)}{\hat{q}v^\gamma}, \end{equation} I have this result: QUESTION: Is possible obtain a more large tilde which covers ...
1
vote
0answers
237 views

Increase margin between tilde and line of fraction [closed]

I've written a document with some complex formulars in it. I find the distance or the margin between a decoration of a variable, in this case a tilde and the line of the fraction, in which it stands ...
3
votes
2answers
95 views

substitute widetilde in one font for another in plain tex

I am using newtx fonts in plain TeX. However, I prefer most of cmex to ntxexx. There is one exception (so far that I have found), the \widetilde, which is beautiful in ntxexx. I do not have any ...
3
votes
2answers
238 views

Is there a way to adjust the vertical position of accent above a greek letter in math mode?

I'm trying to write phi with a wide tilde on top in order to indicate an estimate in statistics, but the tilde are by default clear above the letter, like so: I'm wondering if there is a way to ...
3
votes
1answer
409 views

Symbol with tilde AND sub/super-scripts

I need to typeset a mathematical symbol consisting of a letter with a tilde and both sub- and super-scripts. The subscript is fine, but the tilde runs into the superscript. How can I fix this? Here ...
0
votes
1answer
84 views

tilde between Figure (or Table) and number when \ref{…} with chemstyle and babel spanish

When I reference a figure or table in the text using \ref{something} it appears a tilde between Figura (or Tabla) and the number (something like Figura~1), but I realized it's only when using packages ...
0
votes
2answers
101 views

tipa doesn't make all tildes

I am using the tipa package to write some phonetic things, and it doesn't work well with the tilde for some characters : \~a or \~e do work well, but not \~\textscripta, \~\textopeno, \~\textepsilon, ...
1
vote
0answers
213 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 ...
8
votes
4answers
856 views

Norm of “a” looks different from Norm of “b” in math mode

I run into the following little problem in the LaTeX math mode: $ \left \|\tilde{a} \right \| + \left \| \tilde{b} \right \| $ when trying this in the Latex Equation Editor, it looks a bit weird: ...
4
votes
1answer
2k views

What does symbol ~ do in Latex?

I noticed this symbol in an example. Including or excluding this from the source doesn't change anything. However, if I include \~, it puts a ~ on the first letter of the next word. So, what could be ...
0
votes
1answer
389 views

A chevron above a consonant, like a tilde [duplicate]

I want to put a wedge above a character, like a tilde can place, over an "S" or a "K". The MWE: \begin{equation} \begin{split} K_{ij}=\^{K}_{i,(1+j-i)} \qquad \text{para} \qquad i & =1,2,...,\...
2
votes
1answer
10k views

How to write a tilde over a sigma? [duplicate]

Good evening to everybody here.. My problem is how to write a "tilde" over a symbol (sigma for the precision) in the text mode.. Thank you so much
2
votes
2answers
577 views

\widetilde{} alternative for formula over the tilde

I'd like to put some formula over the tilde in math mode and adjust the tilde length to the length of that formula. It seems that \widetilde{} is almost what I need, however it puts the formula below ...
21
votes
1answer
3k 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 ...
0
votes
1answer
173 views

How to write inline formula involving tilde sign [duplicate]

How to write following inline formula in LaTeX: r~[0,1]
7
votes
2answers
2k views

tilde in hyperref url with \usepackage[T1]{fontenc}

By default, LaTeX typesets tildes "too high", but the hyperref package ordinarily corrects this behaviour for URLs (it vertically centers tildes, as expected). However \usepackage[T1]{fontenc} seems ...
8
votes
1answer
205 views

How to make ~ work for en-dashes?

I have a German LaTeX-document that tries to implement German en-dash line-breaking rules with ~ like this: \documentclass[twocolumn,a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage{german} \...
2
votes
2answers
1k views

The correct way to type tilde?

So, I know there are a lot of posts about this already, with answers like \textasciitilde, \texttildelow and $\sim$ and they all seam to work in their own way. But what I've found is that they look ...
10
votes
2answers
1k views

How come the tilde ~ sometimes does not behave like non-breaking space?

This is again one of the behaviors that are quite difficult to catch in a reconstructible (and simple) example, so one has to resort to animations. Basically, the issue is this: the tilde (~) is ...
5
votes
3answers
411 views

How to get spacing in math mode without just repeating fixed spaces (tilde ~)?

I'm looking for a way to move text in my equation, instead of just shoving multiple ~~~~ until it's in the right position. I'm quite new to LaTeX, what exactly would be the command? I'm also looking ...
1
vote
1answer
125 views

XeTeX problem: no italics with i+tilde

When I use \emph{\~\i} to create an i with tilde in XeTeX (using Linux Libertine), the i is not typeset in italics. Does anyone know a workaround? You can see a MWE here: \documentclass[11pt]{...
3
votes
1answer
1k views

Hyphenation with Acronyms

I have difficulties getting hyphenation right in long acronyms with user-defined hyphenation rules when trying to prevent line breaks between the long and the short form. \documentclass{article} \...