lyx_mirror/lib/templates
Jean-Marc Lasgouttes 179642b571 new class ijmpd from PAP
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5393 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 14:36:15 +00:00
..
aa.lyx aa class changes from Pit 2001-06-13 13:45:51 +00:00
aastex.lyx ProvideNatbib patch from Mike; convert a bunch of example/template files 2002-04-23 22:34:24 +00:00
dinbrief.lyx update the templates I have tex clases for 2002-04-08 21:33:07 +00:00
docbook_article.lyx ProvideNatbib patch from Mike; convert a bunch of example/template files 2002-04-23 22:34:24 +00:00
g-brief-de.lyx update the templates I have tex clases for 2002-04-08 21:33:07 +00:00
g-brief-en.lyx update the templates I have tex clases for 2002-04-08 21:33:07 +00:00
hollywood.lyx hollywood update 2001-10-01 10:14:52 +00:00
IEEEtran.lyx fix #386, compile problem with cxx, update IEEEtran template, honor LYX_DIR_12x in reLyX 2002-05-30 21:38:38 +00:00
ijmpd.lyx new class ijmpd from PAP 2002-10-14 14:36:15 +00:00
kluwer.lyx new kluwer layout 2001-11-23 11:03:20 +00:00
latex8.lyx Initial revision 1999-09-27 18:44:28 +00:00
letter.lyx update the templates I have tex clases for 2002-04-08 21:33:07 +00:00
linuxdoc_article.lyx ProvideNatbib patch from Mike; convert a bunch of example/template files 2002-04-23 22:34:24 +00:00
README.new_templates Initial revision 1999-09-27 18:44:28 +00:00
revtex4.lyx Minor updates to revtex4 2000-07-19 18:49:25 +00:00
revtex.lyx ProvideNatbib patch from Mike; convert a bunch of example/template files 2002-04-23 22:34:24 +00:00
slides.lyx update the templates I have tex clases for 2002-04-08 21:33:07 +00:00

HOW TO CREATE A NEW TEMPLATE
============================

Templates are almost usual LyX file that are saved by LyX itself.
The strength is on "almost".

LyX stores some properties in a file, for example:

        \textclass dinbrief
        \language german
        \inputencoding default
        \fontscheme default
        \epsfig dvips
        \papersize a4paper 
        \paperfontsize 12 
        \baselinestretch 1.00 
        \secnumdepth 3 
        \tocdepth 3 
        \paragraph_separation skip 
        \quotes_language german 
        \quotes_times 2 
        \paperorientation portrait 
        \papercolumns 9 
        \papersides 1 
        \paperpagestyle plain 

Some of these may be very reasonable for a certain template. In the
case of a dinbrief-template this might be the papersize, the language
and the quotes-settings, since it is a german-only template.  But it
wouldn't make much sense to set the fontscheme or the inputencoding,
since a user might have customized this already like he/she wanted it
to be.

So please delete all the lines of a new template with your favorite
text editor (for example ed, ex or vi) that you don't want to set
explicit for this template. LyX will use the user's default-values
(defined in lyxrc) if a property isn't defined in the file itself.