6

I would like to write the following equation:

enter image description here

How do I produce the vertical line and the subscript 'iso-effect'?

1 Answer 1

13

Try

\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}

enter image description here

4
  • 4
    The - 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). Commented Jan 12, 2013 at 13:56
  • looks to me like the "RBE" should also be \textrm. Commented Jan 12, 2013 at 17:29
  • @barbarabeeton Looking at the provided figure, I think you are right. Edited.
    – hpesoj626
    Commented Jan 12, 2013 at 17:34
  • Yes, RBE is not a variable.
    – Eekhoorn
    Commented Jan 13, 2013 at 10:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .