Asked
Active
Viewed 174 times
-1
Torbjørn T.
- 206,688
Sevdije
- 139
-
2Does http://tex.stackexchange.com/questions/294499/evaluated-at-bar-for-derivatives-bigr-biggr-or-left-right help? – egreg Feb 20 '17 at 10:52
-
1Possible duplicate of "Evaluated at" bar for derivatives: \Bigr, \biggr, or \left...\right? – Mensch Jan 10 '19 at 00:01
2 Answers
4
try the below code
$$\left.\frac{dy}{dx}\right|_{x=-1}=-5$$
RCV
- 2,030
-
4
-
-
1@Sevdije --- it should be \[ ... \], but getting backslashes to display properly in comments can be awkward. – Ian Thompson Feb 20 '17 at 12:36
3
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.
Sandy G
- 42,558
