Latex Backslash Symbol
![](/file/81962c247f81761b701af.gif)
π£ ππ»ππ»ππ» ALL INFORMATION CLICK HERE ππ»ππ»ππ»
Home
Apache
C++
Hardware
Latex
Linux
Mathematics
News
Python
Search
Latex
FAQ
Latex - FAQ
Extra
Knowledge base dedicated to Linux and applied mathematics.
Home > Latex > FAQ > Latex - FAQ > Latex backslash symbol
Saturday 13 February 2021 , by Nadir Soualem
amssymb
backslash
Latex
setminus
smallsetminus
underscore
Latex how to write backslash in Latex with or without amssymb : backslash , setminus, smallsetminus
To write backslash symbol in LateX, you must use \backslash or \setminus command:
[ Math Processing Error ] a β b A β B
To write backslash symbol in LateX using package amssymb you must use \smallsetminus command:
This website was useful to you? Then it's a good reason to buy me a coffee .
It will give me the energy and motivation to continue this development. Thank you !
Blog template built with Bootstrap and Spip by Nadir Soualem @mathlinux .
The best answers are voted up and rise to the top
Stack Overflow for Teams
β Collaborate and share knowledge with a private group.
Create a free Team
What is Teams?
Asked
12 years, 10 months ago
10.7k 3 3 gold badges 34 34 silver badges 77 77 bronze badges
13.1k 4 4 gold badges 25 25 silver badges 42 42 bronze badges
3,514 1 1 gold badge 10 10 silver badges 31 31 bronze badges
10.8k 2 2 gold badges 15 15 silver badges 11 11 bronze badges
36.7k 20 20 gold badges 101 101 silver badges 156 156 bronze badges
109k 12 12 gold badges 164 164 silver badges 424 424 bronze badges
68.7k 16 16 gold badges 171 171 silver badges 206 206 bronze badges
68.7k 16 16 gold badges 171 171 silver badges 206 206 bronze badges
13.1k 4 4 gold badges 25 25 silver badges 42 42 bronze badges
48.2k 11 11 gold badges 145 145 silver badges 251 251 bronze badges
5,659 10 10 gold badges 24 24 silver badges 16 16 bronze badges
2,240 23 23 silver badges 27 27 bronze badges
341 2 2 gold badges 4 4 silver badges 16 16 bronze badges
Highly active question . Earn 10 reputation (not counting the association bonus ) in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
TeX - LaTeX
Tour
Help
Chat
Contact
Feedback
Mobile
Disable Responsiveness
Company
Stack Overflow
For Teams
Advertise With Us
Hire a Developer
Developer Jobs
About
Press
Legal
Privacy Policy
Terms of Service
Cookie Settings
Cookie Policy
Stack Exchange Network
Technology
Life / Arts
Culture / Recreation
Science
Other
Accept all cookies
Customize settings
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
I believe \backslash may be used in math formulae, but not into text itself. Lamport's, Kopka's, and Mittelbach's texts have said as much (but no more), and so left me hanging on how to get a backslash into regular text.
\textbackslash produces a backslash in text-mode. The math-mode $\sim$ and \texttildelow (from textcomp package) are options for a lower tilde (while ~{} and \textasciitilde produce a raised tilde in text-mode)
The Comprehensive LaTeX Symbol List is your friend. The correct link seems to keep changing, but if you have a complete TeX Live installation, the command texdoc symbols-a4 will display your local copy.
\textbackslash and \textasciitilde are found in several places in the document, but the LaTeX 2e ASCII Table (Table 529 as of this writing) and the following discussion are a convenient resource for all ASCII characters. In particular, the discussion notes that ~{} and \textasciitilde produce a raised tilde, whilst the math-mode $\sim$ and \texttildelow are options for a lower tilde; the latter is in the textcomp package, and looks best in fonts other than Computer Modern . If you are typesetting file names or urls, the document recommends the url package.
Remember to delimit TeX macros from surrounding text, e.g. bar\textasciitilde{}foo .
Thereβs now an extensive discussion with a canonical answer on this website. Use the solution described there. tl;dr:
For a URL or file path, use url (or hyperref ). Otherwise:
If you are using the standard Computer Modern font, txfonts or pxfonts : use this workaround:
β¦ or use Latin Modern fonts instead (see next point).
If you are using a PostScript/Type1 font via a package such as mathptmx or lm : Set the font encoding to T1 (via \usepackage[T1]{fontenc} ) and use \textasciitilde .
If you are using a TTF or OTF font via XeTeX or LuaTeX: Use \char`~ to insert a tilde.
textcomp βs \texttildelow is actually quite a bad choice: itβs too low for most fonts.
A much better rendering can be achieved by the following, which tweaks the appearance of the (otherwise too wide) $\sim$ :
This was taken from the Arbitrary LateX reference β¦ the page also provides a good comparison sheet:
When used in \texttt , I would add a \mathtt around the tilde, to make it fit the font better:
The difference is small but noticeable.
You can also use the "plain TeX" method of indexing the actual ascii character in the current font:
I often use the former for writing macros that need the backslash in the typewriter font; \textbackslash will sometimes still use the roman font depending on the font setup. Of course, if you're using these a lot you should define your own macro for them:
I occurs to me that you might be trying to type URLs. In that case, the url package takes care of everything for you:
For paths (i.e., local files), there is \path , working the same way as \url , just providing the correct links in case hyperref is loaded.
If you are loading hyperref there is no reason to load url as well.
Hmm; \textbackslash (mentioned by others) isn't in my reference book ( Kopka and Daly) .
At any rate, math mode provides \sim , \backslash , and \setminus (the latter two appear to look the same and differ only by spacing in math mode).
My LaTeX book β which, as you would expect, features the \ extensively β seems to use the verbatim environment. For example, this code:
The \verb command is similar, but the argument must be on one line only. The first character after the b is the delimiter; for example:
So you could presumably get your backslash by typing:
You can also add a * β i.e. \verb* or \begin{verbatim*} β to make whitespace visible.
It is interesting to speculate how you would get an example of a verbatim environment into a document..
(using \verb to do the last line, I guess)
For the tilde, you can use empty curly brace pair. That puts the "over the letter" tilde over an "empty" letter, so it's placed upward.
Personally, I learned more actually changing the catcode s myself :)
"... tilde symbol ( ~ ), which without
special coding gets interpreted as a
blank space, and therefore needs to be
escaped by a backslash ( \~ ) or
replaced by the math "twiddle" symbol
$\sim$ . Fortunately, there is a
package, url , that provides a
painless way to typeset URL's. To use
this package available, add
near the beginning of the document,
and enclose any web and email
addresses in the document in
\url{...} :
I hope this could help you in typewriting a regular tilde character.
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo Β© 2021 Stack Exchange Inc; user contributions licensed under cc by-sa . revΒ 2021.9.14.40215
By clicking βAccept all cookiesβ, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy .
https://www.math-linux.com/latex-26/faq/latex-faq/article/latex-backslash-symbol
https://tex.stackexchange.com/questions/9363/how-does-one-insert-a-backslash-or-a-tilde-into-latex
Www Pornmd Com Facesitting Pov Videos
Compilation Teen Video
Max S Films Full Movies Porn
Latex backslash symbol - math-linux.com
symbols - How does one insert a backslash or a tilde ...
latex - backslash and tilde symbols in latex - By ...
How To Type Backslash In Latex Backslash Symbol, How To ...
LaTeX Base | LaTeX backslash symbol
List of LaTeX symbols | LaTeX Wiki | Fandom
how to enter backslash (\) in your text - LaTeX.org
escaping - Latex printing single slash, backslash r ...
How to write \ symbol in math mode in LaTeX/MathJax ? - β¦
Latex Backslash Symbol
![](https://i2.wp.com/www.sunilpatel.co.uk/wp-content/uploads/2010/08/Binary-Operator-Symbols.jpg%3fresize%3d700%252C711)
![](https://i1.wp.com/www.sunilpatel.co.uk/wp-content/uploads/2010/08/Foreign-Symbols.jpg%3fresize%3d632%252C288)
![](https://www.elektroda.pl/rtvforum/latex/latex_pliki/t11.gif)
![](https://remnote-user-data.s3.amazonaws.com/srRsdP6jQnyFSqhbZ9wRlu5lHzogqZG-7E3brDpbUi8ORjVdBDKtR74SsNGIBJSUcESUjtS3OG1x6ezfnZYxDOD5Ccv1hfzSRshYlUk6FuO9tVy4ea7ebT9TruPxImgQ.png)
![](https://i.stack.imgur.com/rnXVY.png)
![](https://www.wikitechy.com/tutorials/latex/img/latex.png)
![](https://hadamleiden.biz/nug/aP8QIGGcYDXGpb0stpTtGAHaHa.jpg)
![](https://www.elektroda.pl/rtvforum/latex/latex_pliki/t10.gif)
![](https://bluenalgene.github.io/LaTeX_Guided_Course/fig/ep05im06.png)
![](https://i.stack.imgur.com/uGD9y.png)
![](https://www.wikitechy.com/tutorials/latex/img/logo.png)
![](https://hadamleiden.biz/nug/IQO6UfmRvpWkPMni77hTxwHaHH.jpg)
![](https://felettrose.com/ftqxvi/mrsO1PdMIn7tG-594_vxqgAAAA.jpg)
![](https://i.stack.imgur.com/npmAD.png)
![](https://hadamleiden.biz/nug/PDCDZKGHTwHx52G47RmUuwHaG0.jpg)
![](https://i.stack.imgur.com/c9UmC.png)
![](https://hadamleiden.biz/nug/SpplXHaou6uD8OB3io25vAHaHa.jpg)
![](https://felettrose.com/ftqxvi/jq94SYqx2ETyKbaxA1Jt0gHaGE.jpg)
![](https://hadamleiden.biz/nug/3PjGTc-xZ22Zjrt-eF_v3AHaHa.jpg)
![](https://i.stack.imgur.com/IqAsA.png)
![](https://i.stack.imgur.com/0A48e.png)
![](https://i.stack.imgur.com/exDIp.png)
![](https://i.stack.imgur.com/p6T0K.png)
![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Bialgebra-mu-epsilon.svg/1280px-Bialgebra-mu-epsilon.svg.png)
![](https://www.malinc.se/math/latex/images/latexit1.png)
![](https://i.stack.imgur.com/litCR.png)
![](https://i.stack.imgur.com/x11tq.png)
![](https://i.stack.imgur.com/DKmtt.png)
![](https://i1.wp.com/texblog.org/Wordpress/wp-content/uploads/2015/08/latex-shape-font.png)
![](https://2.bp.blogspot.com/-q0ij0yRUb68/VcXqFv_MvgI/AAAAAAAACyE/iSgGNxWldz0/s1600/1.png)
![](https://www.blockquoteapp.com/images/1.png)
![](https://image.slidesharecdn.com/43f1d30b-e315-44d0-948d-3651d035d465-151022115617-lva1-app6892/95/latex-6-638.jpg%3fcb%3d1445515335)
![](https://i.stack.imgur.com/O3xNq.png)
![](https://i0.wp.com/www.sunilpatel.co.uk/wp-content/uploads/2010/08/Arrow-Symbols.jpg%3fresize%3d733%252C782)
![](https://flyger-ganzen-schlecht.biz/aztsby/-vyAn7Zs63TULM3NFIjhjgHaMf.jpg)
![](https://www.blockquoteapp.com/images/6.png)
![](https://www.resurchify.com/latex_tutorial/tutorial_images/symbols/binary_symbols.png)
![](https://i0.wp.com/www.sunilpatel.co.uk/wp-content/uploads/2010/08/Log-like-Symbols.jpg%3fresize%3d691%252C184)
![](https://he-s3.s3.amazonaws.com/media/uploads/89bea86.png)
![](https://s-media-cache-ak0.pinimg.com/736x/ac/5b/4f/ac5b4fd7805450960a148fcbf4618ef1.jpg)
![](https://www.resurchify.com/latex_tutorial/tutorial_images/symbols/integral_symbols.png)
![](https://i1.wp.com/www.sunilpatel.co.uk/wp-content/uploads/2010/08/Lowercase-Greek-Symbols.jpg%3fresize%3d679%252C799)
![](https://i.stack.imgur.com/6QKJQ.png)
![](https://i0.wp.com/www.sunilpatel.co.uk/wp-content/uploads/2010/08/Other-Constructs.jpg%3fresize%3d710%252C631)
![](https://www.resurchify.com/latex_tutorial/tutorial_images/symbols/relation_symbols.png)
![](https://i.stack.imgur.com/FmwyU.png)
![](https://i.stack.imgur.com/evmpY.jpg)
![](https://cdn.quotesgram.com/img/72/39/1498028214-nznr.jpg)
![](https://i.stack.imgur.com/W8VoU.png)
![](https://i.stack.imgur.com/TJO51.png)
![](https://i.stack.imgur.com/UQNPN.png)
![](https://i.stack.imgur.com/L54ns.png)
![](https://image.slidesharecdn.com/43f1d30b-e315-44d0-948d-3651d035d465-151022115617-lva1-app6892/95/latex-4-638.jpg%3fcb%3d1445515335)
![](https://leesescucha.com/sgjndi/y1H-Bl5iIeldVry-T3D07wHaCh.jpg)
![](https://www.johndcook.com/unicode_latex.png)
![](https://texblog.org/Wordpress/wp-content/uploads/2014/04/whitespace-latex-math-mode-991x1024.png)