2

How to write the straight bar with subscript as I have attached in the picture?

enter image description here

Complex Guy
  • 1,711

1 Answers1

3

You can use this:

\left. \frac{dY}{dx_p} \right|_{p=1}

This code renders the "fraction" dY/dx_p surrounded by two large "bracket" symbols. The left bracket symbol is actually no symbol at all, and the right bracket is a vertical line.

And by the way, I usually want the "d" to be straight up, so I would write (with some help from Torbjørn T.):

\left. \frac{\mathrm{d}Y}{\mathrm{d}x_p} \right|_{p=1}
yori
  • 5,681
  • 29
  • 59