Questions tagged [tilde]

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

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

How to add a tilde “~” in between two letters (\alpha and l)? I attached my text below:

\documentclass[a4paper, pointlessnumbers, %draft, parskip=half, automark ]{scrartcl} \setlength{\parindent}{0pt} \usepackage[a4paper, left=2.2cm, right=2.2cm, top=2.5cm, ...
0
votes
1answer
28 views

How to insert a vertically centered tilde into a URL?

I need to insert a vertically centered tilde into a URL in text mode (not inside the \url or \href commands). I've tried the solution proposed here but I can't get it to work. Any ideas? Here is my ...
1
vote
2answers
42 views

siunitx explicit-sign not for all numbers in column

One have the table that align according decimal point by siunitx package, and sign before all numbers is tilde (\sim). How remove tilde for number 7 only, without break the alignment? (I tried to add $...
2
votes
2answers
74 views

How to make tilde symbol in the center on the line text?

\documentclass{article} \usepackage[left=3cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage{listings} \lstset{basicstyle=\ttfamily\footnotesize,breaklines=true,numbers=left,mathescape} \begin{...
0
votes
0answers
36 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
46 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
41 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{\...
1
vote
1answer
193 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
130 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
215 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
94 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
36 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
128 views

\tilde in parenthesis

How could this command be done? I mean a \tilde.
2
votes
1answer
97 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
422 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
457 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
122 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
666 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
132 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 ...
4
votes
1answer
150 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
66 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
670 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
456 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
71 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
300 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
515 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
259 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
13k 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
311 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
883 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
251 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
155 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
9k 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 ...
13
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
87 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
243 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
251 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
553 views

Is this a tilde? [duplicate]

Is this a tilde or some other ("upper tilde") symbol?
3
votes
1answer
785 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 ...
3
votes
2answers
461 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
3answers
4k 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
279 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
268 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
442 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
578 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 ...