-
2Does tex.stackexchange.com/questions/294499/… help?– egregFeb 20, 2017 at 10:52
-
1Possible duplicate of "Evaluated at" bar for derivatives: \Bigr, \biggr, or \left...\right?– MenschJan 10, 2019 at 0:01
2 Answers
try the below code
$$\left.\frac{dy}{dx}\right|_{x=-1}=-5$$
-
4
-
-
1@Sevdije --- it should be \[ ... \], but getting backslashes to display properly in comments can be awkward. Feb 20, 2017 at 12:36
Your post has the vertical line extended well below the baseline. If this is important to you, try this code:
\[\frac{dy}{dx}\,{\rule[-3.5ex]{.1ex}{7.0ex}\,}_{x=-1}=-5\]
This allows you manual control of the vertical line. In the code above, the -3.5 controls the depth of the line, the .1 controls the thickness of the line and the 7.0 controls the total height of the line.