How to insert pipe symbol |
in TeX (LaTeX)?
views:
68answers:
3
+3
A:
write: \textpipe
Here you have the handbook of latex symbols: The Comprehensive LATEX Symbol List
Jarek Waliszko
2010-08-15 15:22:45
simple document fails with error `Undefined control sequence. l.3 \textpipe`
avsej
2010-08-15 15:45:44
\textpipe requires loading a package, for instance tipa or t4phonet.
Stefan
2010-08-15 15:50:53
A:
http://www.math.toronto.edu/mathit/symbols-letter.pdf
\textpipe
or use something like \big|
when in math mode.
polemon
2010-08-15 15:25:26
+1
A:
The pipe symbol may be used directly in the input and will produce the desired output if you use T1 font encoding. For example:
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
Pipe sign: |
\end{document}
See Special LaTeX characters for such an example with its output and more information.
Update: since the question has been posted to tex.stackexchange.com as well, this answer has been copied there.
Stefan
2010-08-15 15:48:12