Questions tagged [tilde]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

\tilde in parenthesis

How could this command be done? I mean a \ tilde.
2
votes
1answer
33 views

Defining `\subsetcong` and `\subsetsim` via proper tilde over and under `\subset`

I'd like to define a new command \subsetcong that would typeset a tilde over \subseteq to make it look similar to how tilde is over = in \cong. And also, I'd like to define \subsetsim to mean a \...
0
votes
1answer
58 views

Can we have x with tilde on top?

Basically, I want to have a X with tilde ontop of X. I tried to follow: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} $\backsim\ \sim\ \thicksim$ \end{document} ...
3
votes
1answer
256 views

Half of approx symbol

I would like to use half of the \approx approx symbol as an accent above a variable instead of \sim. This is due to formatting reasons, see The symbols are almost equivalent, however \sim is ...
0
votes
1answer
40 views

nice tilde in listings with indent working

I am trying to have a nice tilde when using the listings package Inspired by an answer here: The correct way to type tilde? I tried the following solution: \documentclass{article} \usepackage[T1]{...
1
vote
0answers
207 views

Accent marks in LyX

I recently started using LyX since it's faster than plain latex but I'm having trouble adding accent marks (´ and ~) to my words (I speak spanish). I'm used to using \' and \~ like in plain latex but ...
0
votes
2answers
78 views

Listings with color OR tilde, not both

Trying to get a listing block with a command prompt that has both color and a proper formatting. I can get the proper format with a simple black typeset, but not with color...the tilde (signifying ...
3
votes
1answer
97 views

problem with tilde and squaring overlined symbols, stix2

I have problem with the following math text: As you can see, the tilde over S is not actually wide, but it's squared nicely. On the other hand, the overline over the X is okay, but the deuce is ...
2
votes
1answer
45 views

How can I write in a equation “~” with more aesthetics?

I know that \tilde{a} in a equation shows: but when I write \tilde{V^{\mu}},\tilde{V}^{\mu} in a equation, it shows: and I am searching something like that: They are similar, but they are not the ...
7
votes
3answers
490 views

Spacing around \tilde{=}

How can I get proper spacing when using tilde over operator symbols? \begin{align*} x &= y\\ x &\tilde{=} b \end{align*} Yields: But I would like the tilde version to have the same kind of ...
2
votes
1answer
39 views

Tilde in listings using lineskip and a command breaks “onehalfspace”

I'm trying to produce an inline code snippet that starts with a ~. Using onehalfspacing per university requirement and lineskip=-1pt for subjectively better legibility, packing the \lstinline inside ...
0
votes
1answer
189 views

hyperref with tilde

How can I make the tilde appear in the url in the following document? I know that this has been asked many times before but googling has -not- helped me in my case. The following document does not ...
2
votes
1answer
60 views

Babel and listings cause problem with hard spaces in sectioning headers in classicthesis

Problematic MWE: \documentclass[headinclude,footinclude]{scrbook}%\documentclass[headinclude,footinclude,a4paper]{scrbook} \usepackage{classicthesis}%\usepackage[style=arsclassica]{classicthesis} \...
2
votes
1answer
135 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
181 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
196 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-...
11
votes
3answers
7k 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
122 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
616 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
230 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
1k 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
141 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}
5
votes
2answers
5k 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
4k 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
71 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) ...
6
votes
1answer
199 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
205 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
429 views

Is this a tilde? [duplicate]

Is this a tilde or some other ("upper tilde") symbol?
3
votes
1answer
605 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
934 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
355 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
2k 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
182 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
4k 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 ...
1
vote
1answer
2k 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
232 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
326 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
353 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
126 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
926 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
495 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 ...
2
votes
1answer
119 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
306 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
132 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
316 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
936 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
114 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
201 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
378 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
1k 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: ...