My Math Forum (http://mymathforum.com/math-forums.php)
-   LaTex Help (http://mymathforum.com/latex-help/)
-   -   Evaluation Symbol (http://mymathforum.com/latex-help/344880-evaluation-symbol.html)

 zylo September 13th, 2018 06:43 AM

Evaluation Symbol

How do you do this (evaluation symbol) with a tall bar, similar to integral?

$\displaystyle {|^{a}}_{-a}$

Thanks

 zylo September 13th, 2018 08:11 AM

$\displaystyle (x-a)\biggr\rvert_{a}^{b}$

I figured it out using integration symbol as a model and looking up bigger vertical bar:

"(x-a)\biggr\rvert_{a}^{b}"

 v8archie September 13th, 2018 10:15 AM

$$\left. x + \cos x\right|_a^b$$
Code:

$$\left. x + \cos x\right|_a^b$$
$$\left. x + \frac{x^2}{2}\right|_a^b$$
Code:

$$\left. x + \frac{x^2}{2}\right|_a^b$$
It works for any type of bracket.

\left. \begin{aligned} x+y&=3 \\ x-y&=1 \end{aligned} \right\} \implies \left\{ \begin{aligned} x &= 2 \\ y &= 1\end{aligned} \right.
Code:

\left. \begin{aligned} x+y&=3 \\ x-y&=1 \end{aligned} \right\} \implies \left\{ \begin{aligned} x &= 2 \\ y &= 1\end{aligned} \right.
\left \right pairs must be matched.

 All times are GMT -8. The time now is 02:07 AM.