Hi, I'm writing my PhD with Lyx and I need to write some arrays filled with formulas an I've found the following problem: when I write two formulas with fractions and/or big brackets and subscripts/superscripts in two cells placed just one above the other there is no vertical space between the two formulas. The problem only occurs in the compiled dvi file, in contrast in the lyx screen everything looks great. I've the same problem when I put formulas inside tables. I've searched this topics in the lyx-tips and in the manuals and all I've found is a solution for the latter case: I should use:
\renewcommand\arraystretch{2.0} before each table and new command called \tabfrac instead of \fraction the newcommand is defined in the preamble as: \newcommand{\tabfrac}[2]{% \setlength{\fboxrule}{0pt}% \fbox{$\frac{#1}{#2}$}% } This solution does not work for the array problem and I think it is not very elegant so please, if anyone knows a better solution,again please, tell me about it!!! By now, the only solution I've found for the problem with arrays is to insert an extra, empty, row of elements in the array but this gives too much space between the two formulas. Thanks in advance! Víctor PS: The following is a very small lyx sample file that shows both problems: #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass book \language spanish \inputencoding auto \fontscheme times \graphics default \float_placement !h \paperfontsize 12 \spacing single \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 4 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard The following is an example of the array problem: \layout Standard \begin_inset Formula \[ \left[\begin{array}{c} \frac{E_{33}}{E_{22}}\\ 2\frac{E_{33}}{E_{22}}\end{array} \right]\] \end_inset \layout Standard \begin_inset Tabular <lyxtabular version="3" rows="2" columns="1"> <features> <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt"> <row topline="true" bottomline="true"> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard And this is the table issue \end_inset </cell> </row> <row topline="true" bottomline="true"> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\frac{1}{E_{22}}=\frac{1}{V_{f}+\frac{1}{2}(1-V_{f})}\left[V_{f}\frac{1}{E_{f}}+\frac{1}{2E_{m}}(1-V_{f})\right]$ \end_inset \end_inset </cell> </row> </lyxtabular> \end_inset \the_end -- Víctor Martínez Moll | Universitat de les Illes Balears Departament de Física | Edifici Mateu Orfila Área d'Enginyeria Mecànica | E-07071, Palma de Mallorca, SPAIN e-mail: [EMAIL PROTECTED] | Tel:34-971173372 Fax:34-971173426