Steve Litt wrote:
Hi all,
My first try at explanations with equations failed:
Preamble
\newlength{\expsize}
\setlength{\expsize}{2in}
\newcommand{\mathexp}[1]{\qquad\qquad \makebox[\expsize][c]{#1}}
\newcommand{\boldd}[1]{\textbf{#1}}
EndPreamble
CharStyle mathexp
LatexType Command
LatexName mathexp
Font
Family Sans
EndFont
End
The problem is that, in LyX, when you try to assign a charcter style to text
within an \eqnarray or AMS array or AMS flqnarray or whatever, the entire
array is assigned that character style. So while I can do it quite easily
within LaTeX, it fails in LyX.
Guess I have to make another plan...
You could just type \mathexp{blah blah blah} in the equation array. In
fact, you could bind some unused key combo to "self-insert \mathexp{}".
Not as elegant as a character style, but possibly less typing/clicking
than it would take to invoke the style anyway?
/Paul