I would like to write the following equation:
How do I produce the vertical line and the subscript 'iso-effect'?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityTry
\documentclass[preview]{standalone}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\textrm{RBE}=\left.\frac{D_{\textrm{photon}}}{D_{\textrm{test}}}\right\rvert_{\textrm{iso-effect}}
\end{equation*}
\end{document}
-
in “iso-effect” is probably not a minus sign, but an ordinary hyphen, thus \textrm
is the better choice (the same applies for “photon” and “test” as well). I would also move \left.
to the left of \frac
(it doesn’t change the output but is probably semantically correct).
Jan 12, 2013 at 13:56