Pipe(|) symbol in LaTeX

Symbol/Unicode Pipe/U+007C
Type of symbol Function symbol
Package (requirement) No
Argument No
Latex command \mid
Example \mid → |

You can use the pipe key shift + | on the keyboard to use the pipe symbol in latex. But I would recommend using \mid command.

    $$ x_n \mid \frac{1}{n} $$
    $$ \frac{a}{b} \mid x $$
    $$ mod \;\; m \mid a_i $$

Output :

Use pipe symbol in latex.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top