Dear developers,

First of all, thank you for a wonderful piece of software! I have been using
LyX for almost two years now, while studying math & physics at the
university, and I don't know what I would have done without it.

I have a request which I think would benefit many people. When writing
certain mathematical expressions, such as definitions of sets:
   \left\{ \frac{x}{y}\middle|x\in A,y\in B\right\}
or inner products in physics:
   \left\langle \varphi\middle|\frac{1}{2}\psi\right\rangle
it is necessary to use \middle so that the middle vertical bar will be of
appropriate size (the same as the brackets). Even though the code is
supported by all LaTeX implementations, and is displayed correctly upon
compiling, LyX does not know how to render it.
Would it be possible to make LyX understand the \middle code and display the
vertical bar correctly?

Thank you,
Barak

Reply via email to