I wanna insert only a left bar like \left |
without the closing right bar.
Why?
I want to use it as separator of calculation hints.
$a * b = c | :b\\
a = \frac{c}{b}$
and so on.
It must be a left bar and not only |
or \vert
so that it is scaled in height.
Best Answer
A single
.
can be used as the partner of a bracket, e.g.:There is also
\middle
in order to scale something in the middle of an expression, e.g.:However, in your case, probably you should use some way to align your computation across several lines. This can be done using, for example, the environment
align
from packageamsmath
:This will, however, lead to the problem that you cannot use
\left
and\right
across different cells of analign
, as explained at https://tex.stackexchange.com/a/89621/88939.