19 Aug 17:42
example of layout module for LyX 1.6
From: Olivier Ripoll <durocortorum73-gmane@...>
Subject: example of layout module for LyX 1.6
Newsgroups: gmane.editors.lyx.general
Date: 2008-08-19 15:43:10 GMT
Subject: example of layout module for LyX 1.6
Newsgroups: gmane.editors.lyx.general
Date: 2008-08-19 15:43:10 GMT
Hi,
I just wanted to share a simple and probably imperfect layout module for
LyX 1.6. I do not know much about LaTeX, so I used the examples provided
with LyX and google to create this file. I called it
"moremathsfunctions.module" (it should be placed in the "layouts" folder
in the lyx 1.6 preference folder of your home directory -- in
"Application Data" for windows users), and here is the content (between
the dashed lines, so people can comment on the code):
------------------------------------------------------------------------
#\DeclareLyXModule{More Maths Functions}
#DescriptionBegin
#Additional functions: erf, erfc, sinc, sgn , missing hyperbolic &
inverse hyperbolic functions,
#Fourier transform & inverse, logarithms in base 10 and 2, floor/ceil
(letters and mathematical
#notation).
#DescriptionEnd
# Author : Olivier Ripoll
Format 7
Requires amsmath,mathrsfs
AddToPreamble
\DeclareMathOperator{\sinc}{sinc}
\DeclareMathOperator{\sgn}{sgn}
\DeclareMathOperator{\erf}{erf}
(Continue reading)
Best regards,
/Christian
PS. Once 1.6 is out, I think the layout module should be stored somewhere
in the wiki.
> On Tuesday 19 August 2008 11:43, Olivier Ripoll wrote:
>> Hi,
>>
>> I just wanted to share a simple and probably imperfect layout module for
>> LyX 1.6. I do not know much about LaTeX, so I used the examples provided
>> with LyX and google to create this file. I called it
RSS Feed