Questions tagged [tilde]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Vertically position tilde in LaTeX [duplicate]

I would like to have a tilde like this: ~some text But it seems hard / impossible to easily achieve that in LaTeX. Is it possible to have a "vertically centred" tilde which also looks like ...
2
votes
3answers
41 views

Vertically scale accent, but keep distance to symbol equal

I need a \tilde which is a little more noticeable, why I tried this answer in combination with scalebox. However, together with the vertical scaling, also the vertical distance between the symbol and ...
0
votes
1answer
32 views

How do I make the tilde encompass two variables?

I want to put a tilde above $ \tilde{L_1}^{T}\omega_1 $ such that it encompasses these two variable. How do I do that? My approach here puts two separate \tilde on L_1 and the transpose T $$\frac{\...
0
votes
1answer
69 views

Handling tilde for the home directory in latex, Windows 10, MiKTeX 2.9

I am seeking to include in a latex run a range of files off different paths; I am working in MiKTeX 2.9 under Windows 10. I am unable to get \string~ to point to %USERPROFILE%. A MWE to illustrate is: ...
0
votes
0answers
57 views

How to get an inverted (or reversed) tilde on a math symbol?

How can we get a reversed (or inverted) tilde on top of a math symbol, in math-mode? I'm sure that this reversed tilde does exist in LaTeX (I strongly believe I have seen it before), but I'm yet ...
2
votes
2answers
101 views

Writing a \sim with the letter a centered above

I want something like \sim^a but with the 'a' in the top center not like a power.
3
votes
1answer
77 views

ConTeXt: Replace tokens in document title option

Background Macros are autogenerated for a book's title and author name. The title can sometimes include TeX-specific tokens, such as ~ and ldots{}. Problem When setting the document properties, the ...
1
vote
0answers
30 views

Redefining inline math, so it always proceeded by a non breaking space (~)

I don't like when inline math is typeset at the beginning of a new line. Is there a way to redefine the dollar sign so that Text text $i$. Text, $i$ text $i$ text. is automatically translated to ...
2
votes
2answers
102 views

\tilde in parenthesis

How could this command be done? I mean a \tilde.
2
votes
1answer
67 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
185 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
383 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
87 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
2answers
495 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
117 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
130 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
56 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 ...
6
votes
3answers
610 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
44 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 ...
1
vote
1answer
366 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
67 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
230 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 ...
1
vote
0answers
378 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
237 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
11k 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
222 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
799 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
246 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
2k 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
152 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}
9
votes
2answers
7k 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 ...
12
votes
3answers
6k 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
83 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
230 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
236 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
517 views

Is this a tilde? [duplicate]

Is this a tilde or some other ("upper tilde") symbol?
3
votes
1answer
722 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
1k 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
417 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
3k 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
245 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
5k 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 ...
2
votes
1answer
3k 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
254 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
407 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 ...
2
votes
3answers
496 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
146 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
1k 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
568 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
161 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 ...