LaTex by default sets fairly small spaces around "divide" symbol (|). Is there a way to force larger skip (e. g. force LaTex to treat | as binary operator or = symbol)?
MWE would be fairly simple:
\documentclass{article}
\begin{document}
What is set by default:
$a|b$
What I want:
$a\hspace{0.28em}|\hspace{0.28em}b$ %for some reason I can't use mu in \hspace, but 1mu=1/18 em and 0.28em=5mu=\thickmuskip.
\end{document}
\midis what you want.$a\mid b$– Sigur Feb 15 '19 at 13:08|symbol. In contrast, if you employ the macro\mid, LaTeX inserts a thickspace -- as is appropriate for a relational operator -- around the vertical bar. – Mico Feb 15 '19 at 13:15|symbol is most commonly used for absolute values, as in|x|, where no extra spaces are desired. – Harald Hanche-Olsen Feb 15 '19 at 14:06