Thanks. Solution (a) is exactly what I was looking for. I did know (b) was also possible but I avoid tweaking LyX files as long as I can.
Regards, Daniel Julien Rioux wrote: > On 19/10/2010 5:19 AM, Daniel CLEMENT wrote: > > Dear list members, > > > > I need to typeset a more compact version of a document with a few > > matrices. > > > > Is there a smart way to convert them (ordinary TeX matrix environment) > > to the \smallmatrix version, which is also supported by LyX? > > > > Some of them are pretty large, so I'd rather not retype them... > > > > hanks in advance - best regards, > > Either > a) put > \renewenvironment{matrix}{\begin{smallmatrix}}{\end{smallmatrix}} > in the LaTeX preamble which you find in your document's settings. > > or > b) > Open the LyX file in a text editor, search and replace matrix with > smallmatrix, save. > > Cheers, > Julien > > -- Daniel CLEMENT