how to insert pipe symbol in TeX?

Viewed 28932

How to insert pipe symbol | in TeX (LaTeX)?

6 Answers

Using \textbar will give the pipe symbol.

use $|$ and it the document compiles successfully & it is the best way to type pipe symbol in TeX or Latex.

Related