291k views

### How can I write tilde ~ in math mode? [duplicate]

Possible Duplicate: How to look up a symbol? How does one insert a backslash or a tilde into LaTeX? ~ makes symbols after them 'phantoms'. I want just to write '~' in math mode and \~ doesn't ...
101k 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 ...
6k views

### Trouble inserting “~” (not equivalent to \sim} [duplicate]

I need to include a url in my document, which includes this symbol: ~ Simply entering the url generates a space rather than the symbol, and replacing the symbol with $\sim$ is not equivalent, the url ...
3k views

### How to insert LaTeX symbols? [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde into LaTeX? I tried inserting symbols in latex. e.g.: \texttildelow It didn't work. But symbols like \textasciitilde work....
1k views

### print the backslash in the pdf document [duplicate]

I want to print the following path D:\\hl_sv in the PDF document but I am facing problem that the backslash are not being displayed. How can escape them to write them in the pdf document. tex code: \...
2k views

### How to use special symbols in LaTeX, such as @, ~ [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde into LaTeX? I wonder how I can typeset in LaTeX this text: @Data.test~ I mean, I want to have in the end "To display the data we ...
837 views

### How do I get a literal ~ in math mode? [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde (~) into LaTeX? How can I write tilde ~ in math mode? When I write $~$, I get a space. When I write $\~$, I get an error. I am ...
325 views

### How to express ~ (tilde) [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde into LaTeX? How do I express ~ in LaTeX. I have tried \~ but it doesn't work. Is there a specific syntax for it and is there a ...
98 views

47 views

### How can I write backslash “\” in text? [duplicate]

I want to show '\' in final pdf file, not as a command to latex, but as a text '\' itself. How can I do this?
97k 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, \...
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 ...
114k views

### How do I insert a backslash inside a mathematical statement?

I'm trying to write a set subtraction operation in an AMS formatted template. In the end, what I want should look like A\B. But I'm doing this in math-mode $A\B$ and this gives me errors. I've also ...
41k 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 ...
9k views

### How do I put a circle around an operator?

For example, I want to put a circle around \land, just like one can put a circle around + by writing \oplus. Is there a general method to do this?
5k views

### How can I provide a verbatim (unescaped) commandline for executing with \write18?

When using \write18 to execute shell commands, there are some cases where lots of backslash strings, and other 'special' LaTeX characters are required in the commandline to be executed (e.g. if a ...
8k 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 ...
2k views

### How to use underscores with pgfplotstable?

I have an input file like this: some_entry 123 another_entry 456 yet_another_entry 789 and I want to typeset it as a table with: \pgfplotstabletypeset[col sep=space]{FILENAME} Problem is that ...
644 views

### Display “.\integrate blah” in monospaced font (like \texttt and \verb)

I'm trying to display the following: .\integrate blah in a monospaced font. For everything else I've wanted to put in a monospace font, \texttt or \verb has worked fine, but it doesn't with this. I'...
2k views

### Making a unary operator out of a binary operator or relation symbol

Often in physics, the symbol \sim is used as a unary operator to mean "approximately." For example, one might say "the energy of these processes is $\sim 4$ eV." However, this looks awkward because \...
3k 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 ...
4k views

### How to print '~' character using latex [duplicate]

Possible Duplicate: URL with tilde character? I tried \~, which doesn't work; the ~ will appear on top of the following letter. ~ will print nothing but an empty spot. What I want is to print a ...
2k views

### How can I escape plain text?

How, given string of plain text one may produce equivalent latex code? For example red fox sauté zażółć gęślą jaźń \newline is a new line in LaTeX Samp_Dist_Corr would produce something like red ...
5k views

### How do you get a lower or higher tilde/~?

I want to presents hours and say from hour x to hour y by using sample '~'. Please guide me how I can present the symbol "~"? In contrast to How does one insert a backslash or a tilde (~) into LaTeX?...
2k views

### How to input \Sexpr{ as verbatim in Sweave?

Building on my question here: Include Sweave input as verbatim Is there a way to include the term \Sexpr{ in the Sweave document as verbatim. For example, to write: R code can be evaluated inline ...
315 views

### Timing response of externally called commands via write18: blocking or not?

I was wondering: when we use \immediate\write18{...} to run commands in an external shell from Latex, is the \write18 a blocking call or not? In other words, will it wait for the external code to ...
873 views

### Itemize character [duplicate]

I want to change bullet in itemize to specific char but I can't find solution how to put '^' and ']' char in to this... Any thoughts? \begin{itemize}[labelindent=1.5em,labelsep=1cm,leftmargin=*] \...
676 views

### How to correctly use siunitx to align number in the center of a table for number with preamble

I would like to have my numbers aligned left but centered in a table as in this solution, which I also tried to apply. Now my numbers are of the form ~24%. For a correct alignment I tried to protect ...