On Sun, Dec 02, 2001 at 05:45:09PM +0100, Michael Schmitt wrote: > - It makes a difference whether you mark a whole table and press "Alt+s t" (for size >"tiny") > or you mark the text in each cell individually (line spacing is different!). On >screen > not difference can be observed! (it took me an hour to analyse the probem :-()
ouch ! (you should have asked on list ;) things that iterate over tables/insets often take very different code paths). Example file attached. The normal method generates a reset of the size to default - I think this is a bug ! I think the problem is somewhere in the font stuff of simpleTeXOnePar or TeXOnePar in paragraph.C, but the code is confusing. I'll have a further look if no-one else can ... thanks john -- "Faced with the prospect of rereading this book, I would rather have my brains ripped out by a plastic fork." - Charles Cooper on "Business at the Speed of Thought"
#LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Tabular <lyxtabular version="2" rows="1" columns="1"> <features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" endlastfoot="0"> <column alignment="left" valignment="top" leftline="true" rightline="true" width="1cm" special=""> <row topline="true" bottomline="true" newpage="false"> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="true" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \size tiny helfejfewnk fen efnk \size default \end_inset </cell> </row> </lyxtabular> \end_inset \size tiny \begin_inset Tabular <lyxtabular version="2" rows="1" columns="1"> <features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" endlastfoot="0"> <column alignment="left" valignment="top" leftline="true" rightline="true" width="1cm" special=""> <row topline="true" bottomline="true" newpage="false"> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="true" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \size tiny hello, as yos su might expect \end_inset </cell> </row> </lyxtabular> \end_inset \layout Standard The first table had size changed by selecting a section of text. The second one has it \layout Standard changed via insettabular/insettext. \layout Standard The first one is different because it resets the \backslash size default at the end of the text. the second one doesn't. Which is right ? \the_end