On 9/3/2010 9:13 AM, Neal Becker wrote:
Inserting the following in math mode
[A|-B]
the minus appears as an binary operator rather than a unary operator on B,
so the minus is too big and the space to B is too large.

Using tex code:
[A|{-B}] looks better, although I thing the minus is still too large.

The braces just shrink the space between the minus sign and B. You can add them in the math editor by typing \{ (which will create an inset surrounded by {}).

What is the best lyx approach?

You might try the following key sequence (no spaces, I'm just adding them for legibility):
\{ ctrl-M - right-arrow B

\{ creates the inset (surrounded by LaTeX braces) to shrink the spacing.

ctrl-M puts you in text mode, so that the minus sign becomes a hyphen (which is shorter).

The right arrow gets you out of text mode (I assume you want B typeset in italics) but keeps you inside the braces.

HTH,
Paul


Reply via email to