Latex Backslash Symbol

Latex Backslash Symbol




πŸ’£ πŸ‘‰πŸ»πŸ‘‰πŸ»πŸ‘‰πŸ» 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


Report Page