lyx_mirror/lib/templates
Scott Kostyshak 4beba4e8f8 RJournal template and layout: move ERTs to layout
The layout now takes care of \begin{article} and \end{article}
by using \AtBeginDocument and \AtEndDocument.

This cleans up the template a little by removing some ERT. The
user no longer needs to read the two notes explaining why the
ERT boxes were necessary. The user also does not need to think
about why this LaTeX environment exists.
2013-05-16 22:51:22 -04:00
..
attic correct attic location for the obsolete template files 2011-06-17 00:34:27 +00:00
springer Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
thesis thesis template: port recent changes to master 2012-12-02 20:58:28 +01:00
aa.lyx layouts, templates, examples: port my latest changes to trunk 2011-06-15 01:02:15 +00:00
aastex.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
ACM-siggraph.lyx some refinements for paper class example and templates 2013-01-13 22:59:16 +01:00
ACM-sigplan.lyx some refinements for paper class example and templates 2013-01-13 22:59:16 +01:00
AEA.lyx finish the template/doc/examples work: 2011-06-16 02:25:55 +00:00
AGU_article.lyx addendum to previous commit 2011-12-10 01:13:19 +00:00
AGUTeX.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
APA6.lyx Add layout for APA v6 class and associated module and template. 2012-12-27 15:50:50 -05:00
APA.lyx apa.lyx: fixed weblink 2012-10-15 00:49:40 +02:00
beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
ctex.lyx ctex.lyx: further translations by Yiuhi 2011-11-29 19:58:29 +00:00
de_beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
dinbrief.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
DocBook_article.lyx DocBook_article.lyx: set default output to ps2pdf 2013-04-02 16:34:23 -04:00
ectaart.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
elsarticle.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
es_beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
fr_beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
frletter.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
g-brief2.lyx g-brief layouts: remove the dependency on europs.sty as this package is an optional one and add info to the template file 2012-10-15 01:26:35 +02:00
g-brief-de.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
g-brief-en.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
hollywood.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
IEEEtran-CompSoc.lyx IEEEtran-*.lyx: formatting fix to fulfill the submission guidelines 2013-02-17 19:56:14 +01:00
IEEEtran-Conference.lyx IEEEtran templates: some preamble simplifications and fixes 2013-02-09 18:08:12 +01:00
IEEEtran-Journal.lyx IEEEtran templates: some preamble simplifications and fixes 2013-02-09 18:08:12 +01:00
IEEEtran-TransMag.lyx IEEEtran-*.lyx: formatting fix to fulfill the submission guidelines 2013-02-17 19:56:14 +01:00
IJMPC.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
IJMPD.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
IOP-article.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
JASA.lyx JASA.lyx: add info how to install JASATeX 2012-11-26 15:40:56 +01:00
JSS-article.lyx JSS-article.lyx: set default output to pdf2 2013-04-09 05:07:18 -04:00
kluwer.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
koma-letter2.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
letter.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
lettre.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
README.new_templates
revtex4-1.lyx revtex4-1.lyx : Minor tweaks, save in current file format. 2011-06-20 23:57:20 +00:00
revtex4.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
RJournal.lyx RJournal template and layout: move ERTs to layout 2013-05-16 22:51:22 -04:00
slides.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +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.