Guenter Milde wrote:
>
> I write a lot of formula and I'd like to explain the ues
> variables in a indented list underneath, something like
> e=mc^2
> e Enery
> m mass
put the following in ~/.lyx/layouts as file myLists.inc,
insert in ~/.lyx/layouts/stdclass.layout a line
Input myList.inc
than run on lyx reconfigure and restart lyx. now you can choose
the style "myList"
you can change the values for the margins.
Herbert
#-------- file myList.inc ---------------
# myList style definition
Style myList
Margin First_Dynamic
LatexType List_Environment
LatexName myList
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
LabelSep xxxx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Manual
LabelString MM
#define the environment myList
Preamble
\newenvironment{myList}[2]%
{\begin{list}{}{\leftmargin1cm\rightmargin1cm}\item{}}%
{\end{list}}
EndPreamble
End
#-----------end -------------------
--
[EMAIL PROTECTED]
http://perce.de/lyx/