Jannick Asmus <jannick.news <at> gmail.com> writes:

> For reasons of compatibility I am asking myself how such a solution 
> translates to the corresponding tex file?

If I use \sX as a short form of \mathcal{X}, then the .tex file will contain
\global\long\def\sX{\mathcal{X}} at the point where I define it (in the body,
although it could be moved manually to the preamble) and \sX in the formulas.

> If it is to sent to some 
> journal, they do not like any macros - as I have experienced. So are 
> there any routines which eliminate macros in a tex file?

I have used macros for sets and matrices (set in boldface) in articles submitted
to journals (including INFORMS journals, and they're a bit picky) with no
problems.  I don't know of a way to globally search and replace them in LyX
(maybe a forthcoming feature in LyX 2.0?), but it certainly could be done by
running the .tex file through a text editor (or sed if you are a Linux fan).

/Paul

Reply via email to