* Olivier Ripoll wrote, On 21/08/09 10:29:
> Sam Liddicott wrote:
>> * Ricardo Perrone wrote, On 21/08/09 04:05:
>>> Hi,
> [...]
>> You can mess with tie \fontsize{}{} command; insert this in your
>> pre-amble:
>> \newcommand\sizetf[1]{\begingroup\fontsize{10.5}{12}\selectfont{#1}\endgroup}
>> then you can use the command
>> \sizetf{I'm in 10.5pt}
>> in ERT in your document.
>> (I wish Lyx supported adding per-document layouts and elements in the
>> same way that it supports adding Latex commands in the preamble)
> Isn't that what layout modules are for ? 

Sure, but as you can't embed a layout module in the lyx document, ERT
can sometimes be easier and more portable, and for small chunks of text
is already clearly delineated in the Lyx document by the red box.

(I suggested a layout module for his enums, it would be nuts to do those
with ERT)

And thanks for providing the examples that I was too lazy to provide..


Reply via email to