How to reproduce this symbol, using Latex, that consists of a long vertical bar, on the right hand side of an expression, and some small text at the bottom, that defines some condition?
How to reproduce this symbol using latex?
How to reproduce this symbol, using Latex, that consists of a long vertical bar, on the right hand side of an expression, and some small text at the bottom, that defines some condition?
How to reproduce this symbol using latex?
The basic building bloc is \vert. Because it is extensible, you have various ways to make it grow.
The various forms of \[B/b]ig[g] grow it a defined amount, whereas the use as part of a \left...\right context grows it to fit the content.
\documentclass{article}
\begin{document}
\[
A\vert_x
\]
\[
\frac{A}{B}\bigr\vert_x
\frac{A}{B}\Bigr\vert_x
\frac{A}{B}\biggr\vert_x
\frac{A}{B}\Biggr\vert_x
\]
\[
\left.\frac{\displaystyle\frac{A}{B}}{\displaystyle1 + \frac{C}{D}}\right\vert_x
\]
\end{document}
\Big|_{x}. Should I prevert to substitute \vert for |?
– wchargin
Sep 29 '17 at 21:29
| and \vert are completely equivalent. Indeed, \vert is defined as \delimiter "026A30C and the \delcode of | is 26A30C, while its \mathcode is 026A.
– egreg
Sep 29 '17 at 22:37
Just for training
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[
+\Delta\mu_{i}\left.\frac{\partial E_{S\sim\mathcal{N}(\mu,\sigma^{2}_{S})}[f(S)]}{\partial \mu}\right\vert_{\mu=\mu_{S}}
\]
\end{document}
\vertand it is extensible, as in\left. \frac{...}{...}\right\vert_{...}– Steven B. Segletes Sep 29 '17 at 16:43