-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 341
+#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
\textclass scrbook
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
- {LyX }}
+ {LyX}}
% used for multi-column text
\usepackage{multicol}
\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
\end_preamble
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\use_default_options false
\begin_modules
logicalmkup
theorems-ams
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
-\pdf_pagebackref false
\pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
\papersize default
\begin_body
\begin_layout Title
-Extended LyX Features
+Additional LyX Features
\end_layout
\begin_layout Author
\end_layout
\begin_layout Standard
-The
-\emph on
-Extended LyX Features
-\emph default
- manual, which you are now reading, is essentially Part II of the
+This manual is essentially Part II of the
\emph on
User's Guide\SpecialChar \@.
\emph on
User's Guide
\emph default
- is already huge, and it contains all of the basic features one needs to
- know in order to prepare most documents.
- However, the LyX Team has a long-term goal of making LyX extensible through
- various configuration files and external packages.
+ is already quite lengthy, and it contains information on all of the basic
+ features one needs to know in order to prepare most documents.
+ However, the LyX Team has worked to LyX extensible through various configuratio
+n files and external packages.
That means that if you want to support the Fizzwizzle LaTeX package, you
can create a layout file (or module) for it without having to alter LyX
itself.
We've already had contributions of several new features this way.
- This is the place where all of that gets documented.
+ This is the place where all of those get documented.
\end_layout
\begin_layout Standard
\emph on
Introduction
\emph default
- is the first place to go, since it will direct you to the correct manual,
- and it also describes the notation and format of all of the manuals.
+ is the first place to go, since it describes the notation and format of
+ all of the manuals.
You should also be thoroughly familiar with the
\emph on
User's Guide
\emph default
- and all of the basic features of LyX.
-
-\end_layout
-
-\begin_layout Standard
-In this document, many sections are independent articles contributed by
- an individual and are noted as such.
- This person is generally whoever wrote the layout file for the new document
- class or LaTeX package, or implemented the feature.
- If there is no mention of an author to a chapter [or chapter sections],
- that means it was written by the LyX Documentation Team.
+ and all of the basic features of LyX before attempting to read this one.
\end_layout
\begin_layout Standard
but that's no longer true.
There are frontends to LaTeX out there.
- They are basically editors with the ability to run LaTeX and mark any errors
- in the file you're editing.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Some familar ones are TeXmaker and kile, on Linux, and TeXshop, OSX.
+ There are also the LaTeX modes for vi and emacs, of course.
+\end_layout
+
+\end_inset
+
+ These are basically text editors with the ability to run LaTeX and mark
+ any errors in the file you're editing.
Although LyX
\emph on
is
\emph on
does
\emph default
- run LaTeX, and it also marks errors in the file, it also does much, much
- more.
- Thanks to the WYSIWYM concept, you don't need to know LaTeX to use LyX
- effectively.
- LyX has also added a few extensions to LaTeX.
+ run LaTeX, and it also indicates errors in the file, it also does much,
+ much more.
+ For one thing, you don't need to know LaTeX to use LyX effectively.
+ And LyX has added its own extensions to LaTeX.
Try the following sometime: select
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Export\SpecialChar \menuseparator
LaTeX
-\family default
+\end_layout
+
+\end_inset
+
from the
-\family sans
-\bar under
-F
-\bar default
-ile
-\family default
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+File
+\end_layout
+
+\end_inset
+
menu (or
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
View\SpecialChar \menuseparator
Source
-\family default
+\end_layout
+
+\end_inset
+
), then look at the preamble of the resulting
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.tex
-\family default
+\end_layout
+
+\end_inset
+
file.
You'll notice a variety of new macros defined specifically by LyX.
These macros are defined automatically, according to the features you use
\end_layout
\begin_layout Itemize
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+View\SpecialChar \menuseparator
+Format
+\end_layout
-\family sans
-\bar under
-V
-\bar default
-iew\SpecialChar \menuseparator
-View
-\begin_inset space ~
\end_inset
-\emph on
-Format
\end_layout
\begin_layout Itemize
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
-\family sans
-\bar under
-V
-\bar default
-iew\SpecialChar \menuseparator
+\begin_layout Plain Layout
+View\SpecialChar \menuseparator
+Update\SpecialChar \menuseparator
+Format
+\end_layout
+
+\end_inset
-\bar under
-U
-\bar default
-pdate\SpecialChar \menuseparator
-\emph on
-Format
\end_layout
\begin_layout Itemize
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+File\SpecialChar \menuseparator
+Print
+\end_layout
+
+\end_inset
+
-\family sans
-\bar under
-F
-\bar default
-ile
-\bar under
-\SpecialChar \menuseparator
-P
-\bar default
-rint
\end_layout
\begin_layout Itemize
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+File\SpecialChar \menuseparator
+Fax
+\end_layout
+
+\end_inset
+
-\family sans
-\bar under
-F
-\bar default
-ile
-\bar under
-\SpecialChar \menuseparator
-F
-\bar default
-ax
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-When it runs LaTeX on the file you're editing, LyX performs these steps:
+When LyX runs LaTeX on the file you're editing, it performs these steps:
\end_layout
\begin_layout Enumerate
Convert the document to LaTeX and save to a file with the extension
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.tex
-\family default
+\end_layout
+
+\end_inset
+
in place of
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.lyx
-\family default
+\end_layout
+
+\end_inset
+
.
\end_layout
\begin_layout Enumerate
Run LaTeX on the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.tex
-\family default
- file (maybe several times), and run any other commands (such as bibtex
- or makeindex) needed to compile the LaTeX file.
+\end_layout
+
+\end_inset
+
+ file (maybe several times), and run any other commands (such as
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+bibtex
+\end_layout
+
+\end_inset
+
+ or
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+makeindex
+\end_layout
+
+\end_inset
+
+) needed to compile the LaTeX file.
\end_layout
\begin_layout Enumerate
\begin_layout Standard
If you've run LaTeX using
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
View
-\begin_inset space ~
-\end_inset
+\bar under
+\SpecialChar \menuseparator
+\bar default
DVI
-\family default
-, LyX then runs a dvi viewer to display DVI-file.
+\end_layout
+
+\end_inset
+
+, LyX then runs a DVI viewer to display the DVI-file.
If you've used
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
View
-\begin_inset space ~
-\end_inset
+\bar under
+\SpecialChar \menuseparator
+\bar default
PostScript
-\family default
+\end_layout
+
+\end_inset
+
, LyX performs further steps:
\end_layout
\begin_layout Itemize
Run
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
dvips
-\family default
- to convert the DVI file to PostScript®.
+\end_layout
+
+\end_inset
+
+ to convert the DVI file to PostScript.
\end_layout
\begin_layout Itemize
-Run a Postscript viewer, such as
-\family typewriter
+Run a PostScript viewer, such as
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
ghostview
-\family default
-, to display the PostScript® file.
+\end_layout
+
+\end_inset
+
+, to display the PostScript file.
\end_layout
\begin_layout Standard
\begin_layout Standard
You can import a LaTeX file into LyX by using the
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
-\bar under
-I
-\bar default
-mport\SpecialChar \menuseparator
+\begin_layout Plain Layout
+File\SpecialChar \menuseparator
+Import\SpecialChar \menuseparator
+LaTeX
+\end_layout
+
+\end_inset
-\bar under
-L
-\bar default
-aTeX
-\family default
command in LyX.
This will call a program named
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
tex2lyx
-\family default
----which will create a file
-\family typewriter
-foo.lyx
-\family default
- from the file
-\family typewriter
-foo.tex
-\family default
----and then LyX will attempt to open that file.
\end_layout
-\begin_layout Standard
+\end_inset
-\family typewriter
+ which will create a file
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+foo.lyx
+\end_layout
+
+\end_inset
+
+ from the file
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+foo.tex
+\end_layout
+
+\end_inset
+
+.
+ LyX will then open that file.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
tex2lyx
-\family default
+\end_layout
+
+\end_inset
+
+ can also be run from the command line, of course.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+tex2lyx
+\end_layout
+
+\end_inset
+
will translate most legal LaTeX, but not everything.
- It will put things it doesn't understand into ERT, so after translating
+ It will put things it doesn't understand into TeX code, so after translating
a file with
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
tex2lyx
-\family default
-, you can look for ERT and hand-edit it to look right.
+\end_layout
+
+\end_inset
+
+, you can look for TeX code and hand-edit it until it looks right.
+\end_layout
+
+\begin_layout Standard
+If you don't know what TeX code is, read the next section.
\end_layout
\begin_layout Section
\end_layout
\begin_layout Standard
-This is a rather important point: You can always insert TeX code into any
- LyX document.
+Anything you can do in LaTeX you can do in LyX, for a very simple reason:
+ You can always insert TeX code into any LyX document.
LyX cannot, and will never be able to, display every possible LaTeX construct.
If ever you need to insert LaTeX commands into your LyX document, you can
- use the TeX Code box, which you can insert into your document with
-\family sans
+ use the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+TeX Code
+\end_layout
+
+\end_inset
+
+ box, which you can insert into your document with
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Insert\SpecialChar \menuseparator
TeX Code
-\family default
+\end_layout
+
+\end_inset
+
.
\end_layout
\end_layout
\begin_layout Standard
-The TeX Code box containing this text is directly after this paragraph.
- Those of you reading the manual in LyX will only see the ERT inset.
+The
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+TeX Code
+\end_layout
+
+\end_inset
+
+ box containing this text is directly after this paragraph.
+ Those of you reading the manual in LyX will only see the TeX code inset.
Those reading a printed version of the manuals will see the actual results:
\end_layout
\end_layout
\begin_layout Standard
-In addition to using ERT, you can also create a separate file containing
+In addition to using TeX code, you can also create a separate file containing
some complex LaTeX structure and then use
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Insert\SpecialChar \menuseparator
Child
\begin_inset space ~
\end_inset
Document
-\family default
+\end_layout
+
+\end_inset
+
to include your file (you should select the type
-\family sans
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
Input
-\family default
+\end_layout
+
+\end_inset
+
).
We recommend that you only do this if you have a
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.tex
-\family default
+\end_layout
+
+\end_inset
+
file which you
\emph on
know
\emph default
works already.
- Otherwise, you'll have a big job tracking down LaTeX errors\SpecialChar \ldots{}
-.
+ Otherwise, you'll have a big job tracking down LaTeX errors.
\end_layout
\begin_layout Standard
There are a few last points to emphasize:
\end_layout
-\begin_layout Itemize
-Inside of LyX, LaTeX code appears
-\emph on
-in red
-\end_layout
-
\begin_layout Itemize
LyX
\emph on
\end_inset
- for details.
+ for details, and see chapter
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:secrets"
+
+\end_inset
+
+.
\end_layout
\begin_layout Standard
\begin_layout Standard
If you already know LaTeX, there is no need to explain here what the preamble
is good for.
- If you don't, the following will give you some ideas---we recommend again
+ If you don't, the following will give you some ideas—we recommend again
that you consult a LaTeX book for further information.
In any case, you should read the points below, because they explain what
you can do and what you don't need to do in the LaTeX preamble of a LyX
\end_layout
\begin_layout Itemize
-declare the document class.
- LyX already does this for you.
-\end_layout
+Declare the document class.
+
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
-If you're a seasoned LaTeX-nician, and you have some custom document class
+LyX already does this for you.
+ If you're a seasoned LaTeX-nician, and you have a custom document class
you want to use, check out the
\emph on
Customization Manual
\emph default
for information on how to make LyX interface to it.
- Be sure to submit your efforts to the LyX Team for inclusion in future
- versions!
\end_layout
-\end_deeper
\begin_layout Itemize
-declare the usage of packages.
- LaTeX packages provide special commands, which are only available within
+Declare the usage of packages.
+
+\begin_inset Newline newline
+\end_inset
+
+LaTeX packages provide special commands, which are only available within
a document when the package has been declared in the preamble.
For example, the package
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
indentfirst
-\family default
+\end_layout
+
+\end_inset
+
forces all paragraphs to be indented.
There are other packages for labels, envelopes, margins, etc.
\end_layout
\begin_layout Itemize
-set counters, variables, lengths and widths.
- There are several LaTeX counters and variables which
+Set counters, variables, lengths and widths.
+
+\begin_inset Newline newline
+\end_inset
+
+There are several LaTeX counters and variables which
\emph on
must
\emph default
\end_layout
\begin_layout Itemize
-declare user defined commands [with
-\family typewriter
+Declare user defined commands (with
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
newcommand
-\family default
+\end_layout
+
+\end_inset
+
or
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
renewcommand
-\family default
-], mostly abbreviations for LaTeX commands which appear very often inside
+\end_layout
+
+\end_inset
+
+).
+\begin_inset Newline newline
+\end_inset
+
+These are abbreviations for LaTeX commands which appear very often inside
a document.
Although the preamble is a good place to declare such commands, they
\emph on
can
\emph default
- be declared anywhere else (before they are used for the first time, of
- course\SpecialChar \ldots{}
-).
+ be declared anywhere (before they are used for the first time, of course).
This can be useful if there is a lot of raw LaTeX code in your document,
which normally should not be the case.
\end_layout
\begin_layout Standard
LyX adds its own set of definitions to the preamble of the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.tex
-\family default
+\end_layout
+
+\end_inset
+
file it produces.
This makes LaTeX files generated by LyX portable.
\end_layout
The commands which LyX adds to the preamble of a LaTeX file are fixed; you
can't change them without patching LyX itself.
You can, however, add your own stuff to the preamble by selecting
-\family sans
-\bar under
-L
-\bar default
-aTeX
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX
\begin_inset space ~
\end_inset
+Preamble
+\end_layout
+
+\end_inset
-\bar under
-P
-\bar default
-reamble
-\family default
in the
-\family sans
-\bar under
-D
-\bar default
-ocument
-\family default
-\SpecialChar \menuseparator
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Document\SpecialChar \menuseparator
+Settings
+\end_layout
+
+\end_inset
-\family sans
-\bar under
-S
-\bar default
-ettings
-\family default
dialog.
LyX adds anything in the
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Preamble
-\family default
+\end_layout
+
+\end_inset
+
dialog to its own built-in preamble.
Before adding your own declarations in the preamble, you should make sure
- that LyX doesn't already support what you want to do (remember what we
- said about reinventing the wheel?).
- Also,
+ that LyX doesn't already support what you want to do.
+ (Remember what we said about reinventing the wheel?) Also,
\emph on
make sure your preamble code is correct
\emph default
.
- LyX doesn't check it.
-\end_layout
+ LyX doesn't check it for you.
+ If there is an error, you're likely to get an error like
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Subsection
-Examples
-\end_layout
-\begin_layout Standard
-Here are some examples of what you can add to a preamble, and what they
- do:
-\end_layout
+\begin_inset Flex CharStyle:Code
+status collapsed
-\begin_layout Subsubsection
-Example #1: Offsets
+\begin_layout Plain Layout
+Missing
+\backslash
+begin{document}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+ If you see this error, check your preamble.
+\end_layout
+
+\begin_layout Subsection
+Examples
+\end_layout
+
+\begin_layout Standard
+Here are some examples of what you can add to a preamble, and what they
+ do.
+\end_layout
+
+\begin_layout Subsubsection
+Example #1: Offsets
\end_layout
\begin_layout Standard
There are two variables under LaTeX that control page position:
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
hoffset
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
voffset
-\family default
+\end_layout
+
+\end_inset
+
.
Their names should be self-explanatory.
These variables are useful if you think for a moment about computer labels.
Sometimes, the size of a print medium and the area of the medium that you
can actually print on aren't the same.
This is where
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
hoffset
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
voffset
-\family default
+\end_layout
+
+\end_inset
+
come in.
\end_layout
\begin_layout Standard
The default values for
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
hoffset
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
voffset
-\family default
- are both 0 pt., i.e., the page isn't shifted.
\end_layout
-\begin_layout Standard
-Unfortunately, some DVI drivers always seem to shift the page.
+\end_inset
+
+ are both 0
+\begin_inset space \thinspace{}
+\end_inset
+
+points, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+the page isn't shifted.
+ Unfortunately, some DVI drivers always seem to shift the page.
We have no idea why, or why the sysadmin hasn't fixed such behavior.
If you're using LyX on a system that you don't personally maintain, and
your sysadmin is a doofus,
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
hoffset
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
voffset
-\family default
+\end_layout
+
+\end_inset
+
can save the day.
- Suppose you're left and top margins are always 0.5 inches too big.
+ Suppose you're left and top margins are always 0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+inches too big.
You can add this to the preamble:
\end_layout
Speaking of labels, suppose you wanted to print out a bunch of address labels.
There's a rather nice package, available at your nearest CTAN archive,
for printing sheets of labels:
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
labels.sty
-\family default
+\end_layout
+
+\end_inset
+
.
Now, your system may not have this package installed by default.
We leave that up to you to check.
\begin_layout Standard
First, make sure you're using the
-\family sans
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
article
-\family default
+\end_layout
+
+\end_inset
+
document class.
Next, you need to put the following in your preamble:
\end_layout
\end_layout
\begin_layout Standard
-This sets things up for Avery® label sheets, stock #5360.
+This sets things up for Avery label sheets, stock #5360.
You're now ready to print labels, but you'll need to insert LaTeX code,
placing the commands
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
begin{labels}
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
end{labels}
-\family default
+\end_layout
+
+\end_inset
+
around each label text.
This and other special features of
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
labels.sty
-\family default
+\end_layout
+
+\end_inset
+
are explained in its documentation.
\end_layout
As with all of their other weird quirks, most Americans will whine and
moan until they can have their way and indent the first line of all paragraphs.
(Yes, we're joking.
- Aren't we?)
+ (We are?)
+\emph on
+Yeah
+\emph default
+, we are.)
\end_layout
\begin_layout Standard
it follows another one.
The idea behind indenting the first line of a paragraph is to distinguish
neighboring paragraphs from one another.
- If there is no previous paragraph, for example, it follows a figure, or
- is the first paragraph in a section, then there is no special indentation.
+ If there is no previous paragraph—for example, if it follows a figure or
+ is the first paragraph in a section—then there is no need for indentation.
\end_layout
\begin_layout Standard
-If you're a typical American, though, you don't care about such esoteric
- things; you want your indentation! Add this to the preamble:
+If you're a typical American (we're still joking!), though, you don't care
+ about such esoteric things; you want your indentation! Add this to the
+ preamble:
\end_layout
\begin_layout LyX-Code
\end_layout
\begin_layout Standard
-If your TeX distribution isn't a braindead one, you'll have this package,
- and all of your paragraphs will get the indentation you think they deserve.
+If your TeX distribution isn't braindead, you'll have this package, and
+ all of your paragraphs will get the indentation the Founding Fathers intended
+ they should have.
\end_layout
\begin_layout Subsubsection
\begin_layout Standard
When LyX calls LaTeX, it tells LaTeX to blithely ignore any errors and keep
going.
- It then uses the log-file from the LaTeX run to do a post-mortem.
- LyX will then display a dialog listing the errors, and clicking on any
- one of them will take you to the position in your LyX file where the error
- occurred.
+ It then uses the logfile from the LaTeX run to do a post-mortem.
+ After analyzing the logfile,LyX displays a dialog listing the errors.
+ Clicking on any one of them will take you to the position in your LyX file
+ where the error occurred.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Well, usually.
+ Analyzing the logfile is a tough job, and LyX doesn't always go to the
+ right line.
+ There are also cases where LaTeX reports the error on one line, but the
+ actual error is earlier.
+ This is not unlike forgetting a closing brace in a program: You'll get
+ an error, but only later.
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-Some folks also like to look at the log file directly, accessible from
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+Some folks also like to look at the log file directly: It is available from
+
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+\begin_layout Plain Layout
+Document
\bar under
-L
+\SpecialChar \menuseparator
+
\bar default
-aTeX
+Latex
\begin_inset space ~
\end_inset
Log
-\begin_inset space ~
+\end_layout
+
\end_inset
-File
-\family default
.
There are some fairly common error messages and warnings.
We'll cover those here.
\end_layout
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
-LaTeX Warning:
-\family default
+\begin_layout Plain Layout
+LaTeX Warning
+\end_layout
-\begin_inset Quotes eld
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
-Anything beginning with these word is a warning message for the purpose
+Anything beginning with these words is a warning message for the purpose
of
\begin_inset Quotes eld
\end_inset
You'll get messages like this if you added or changed cross-references
or bibliography entries, in which case, LaTeX is trying to tell you that
you need to make another run.
+ You can by-and-large ignore these.
\end_layout
-\begin_layout Standard
-You can by-and-large ignore these.
-\end_layout
-
-\end_deeper
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
-LaTeX Font Warning:
-\family default
+\begin_layout Plain Layout
+LaTeX Font Warning
+\end_layout
-\begin_inset Quotes erd
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
Another warning message, this time about fonts which LaTeX couldn't find.
The rest of the message will often say something about a replacement font
that LaTeX used.
+ You can safely ignore these, too.
\end_layout
-\begin_layout Standard
-You can safely ignore these.
-\end_layout
-
-\end_deeper
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
+\begin_layout Plain Layout
Overfull
\backslash
hbox
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
LaTeX absolutely
\emph on
loves
\emph default
to spew these out.
- They are warning you about lines that were too long and run past the right
+ They are warnings about lines that were too long and run past the right
margin.
Almost always, this is unnoticeable in the final output.
- Or, only one or two characters extend past the margin.
+ (It can be just a point or two.) Or, only one or two characters extend past
+ the margin.
LaTeX seems to generate at least one of these messages for just about any
document you write.
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
-You can ignore these stupid messages.
+You can ignore these messages.
Your eyes will tell you if there's a problem with something that's too
wide; just look at the output.
-\end_layout
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+You can also enable the `draft' option in
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Document
+\bar under
+\SpecialChar \menuseparator
+
+\bar default
+Settings
+\end_layout
+
+\end_inset
+
+, and then LaTeX will draw a black box in the margin of lines that are overfull.
+\end_layout
-\end_deeper
-\begin_layout Itemize
-\begin_inset Quotes eld
\end_inset
-\family typewriter
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
Underfull
\backslash
hbox
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
Not quite as common as its cousin.
LaTeX seems to like to print lines that are a bit too wide as opposed to
ones that are a bit too narrow.
We have no idea why.
\end_layout
-\begin_layout Standard
-You can ignore these, too.
-\end_layout
-
-\end_deeper
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
+\begin_layout Plain Layout
Overfull
\backslash
vbox
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
and
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
+\begin_layout Plain Layout
Underfull
\backslash
vbox
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
Warnings about troubles breaking the page.
Once again, just look at the output.
Your eyes will tell you where something has gone wrong.
\end_layout
-\end_deeper
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
+\begin_inset Flex CharStyle:Code
+status collapsed
-
-\family typewriter
-LaTeX Error: File
+\begin_layout Plain Layout
+ LaTeX Error: File
\begin_inset Quotes els
\end_inset
\end_inset
not found
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
-
-\end_layout
-\begin_deeper
-\begin_layout Standard
+\begin_inset Newline newline
+\end_inset
+
The file
\begin_inset Quotes eld
\end_inset
isn't installed on this system.
This usually appears because some package your document needs isn't installed.
If you didn't touch the preamble or didn't use the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
usepackage{}
-\family default
+\end_layout
+
+\end_inset
+
command, then one of the packages LyX tried to load is missing.
Use
-\family sans
-\bar under
-H
-\bar default
-elp\SpecialChar \menuseparator
-L
-\bar under
-a
-\bar default
-TeX Configuration
-\family default
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Help\SpecialChar \menuseparator
+LaTeX Configuration
+\end_layout
+
+\end_inset
+
to get a list of packages that LyX knows about.
This file is updated whenever you reconfigure LyX (using
-\family sans
-\bar under
-T
-\bar default
-ools
-\bar under
-\SpecialChar \menuseparator
-R
-\bar default
-econfigure
-\family default
-) and tells you which packages have been detected and what they do.
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Tools\SpecialChar \menuseparator
+Reconfigure
\end_layout
-\begin_layout Standard
-If you
-\emph on
-did
-\emph default
- use the
-\family typewriter
+\end_inset
+
+) and tells you which packages have been detected and what they do.
+\begin_inset Newline newline
+\end_inset
+
+If you did use the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
usepackage{}
-\family default
+\end_layout
+
+\end_inset
+
command and the package in question isn't installed, then you'll need to
install it yourself.
\end_layout
-\end_deeper
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
+\begin_layout Plain Layout
LaTeX Error: Unknown option
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
Error messages beginning with this are trying to tell you that you specified
a bad or undefined option to a package.
Check the package's documentation.
\end_layout
-\end_deeper
\begin_layout Itemize
-\begin_inset Quotes eld
-\end_inset
-
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family typewriter
+\begin_layout Plain Layout
Undefined control sequence
-\family default
+\end_layout
-\begin_inset Quotes erd
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_deeper
-\begin_layout Standard
If you've inserted LaTeX code into your document, but made a typo, you'll
get one of these.
You may have forgotten to load a package.
\end_layout
-\end_deeper
\begin_layout Standard
There are other error and warning messages.
Some are self-explanatory.
These are usually LaTeX messages.
Others are downright cryptic.
- These are actually TeX error messages, and we really have
+ These are usually TeX error messages, and we really have
\emph on
no clue
\emph default
what they mean or how to decipher them.
+ No-one does.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Enumerate
-If you get a bunch of error boxes piled up at the very top of the document,
- it means that there are errors in the preamble.
+If you get a bunch of error boxes piled up at the very top of the document—and
+ especially if you see a
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+Missing
+\backslash
+begin{document}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ error—it means that there are errors in the preamble.
Start debugging your preamble.
\end_layout
misuse
\emph default
any of them, like trying to manually insert lots of
-\family sans
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
Protected
\begin_inset space ~
\end_inset
-Blank
-\family default
-s,
-\family sans
-Linebreak
-\family default
-s, or
-\family sans
-Pagebreak
-\family default
-s? Did you try to kludge something together with these instead of using
- the appropriate paragraph environment?
+Blanks
+\end_layout
+
+\end_inset
+
+,
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+Linebreaks
+\end_layout
+
+\end_inset
+
+, or
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+Pagebreaks
+\end_layout
+
+\end_inset
+
+? Did you try to kludge something together with these instead of using the
+ appropriate paragraph environment?
\end_layout
\begin_layout Enumerate
spacing it will add in order to break a line.
Preferably, you should rework the paragraph to avoid the problem.
If this isn't an option, you can wrap your text in
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
sloppypar
-\family default
+\end_layout
+
+\end_inset
+
to make LaTeX's line breaking more, well, sloppy.
\end_layout
\end_inset
level, that's the problem.
+ (The limit in LaTeX is five.)
\end_layout
\begin_layout Enumerate
-Okay, you didn't get any error messages, but your output looks whacked.
+Okay, you didn't get any error messages, but your output looks awful.
If you have a table or figure that's too wide or long for the page, you
need to:
\end_layout
trim down the table so it fits.
\end_layout
-\begin_layout Standard
+\end_deeper
+\begin_layout Enumerate
If something else is wrong with the output, and you didn't try to pull anything
fancy or kludge the fine-tuning options, we're not sure what's wrong.
\end_layout
-\end_deeper
\begin_layout Standard
-If all this doesn't help --- well, then
+If all this doesn't help—well, then
\emph on
perhaps
\emph default
\end_layout
\begin_layout Standard
-Standard BibTeX uses numbers (e.g.,
+Standard BibTeX uses numbers (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\begin_inset Quotes eld
\end_inset
) to refer to a cited work.
However, in many scientific disciplines, other citation styles are in use.
- The most common one is the author-year style (e.g.,
+ The most common one is the author-year style (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\begin_inset Quotes eld
\end_inset
).
LyX supports two packages that provide this style,
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
natbib
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
jurabib
-\family default
+\end_layout
+
+\end_inset
+
.
- Both packages have their own pros and cons, which cannot be listed in detail.
- If you only want to have simple author-year (or author-numerical) style
- or if you want to use one of the countless style files for natbib, than
- the established
-\family typewriter
+ Both packages have their pros and cons, which cannot be listed in detail.
+ If you only want to have simple author-year (or author-numerical) style,
+ or if you want to use one of the countless style files for
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
natbib
-\family default
+\end_layout
+
+\end_inset
+
+, than the established
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+natbib
+\end_layout
+
+\end_inset
+
package is probably your choice.
If you need special features like short title references, ibidem etc., you
- might consider the fairly new
-\family typewriter
+ might consider the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
jurabib
-\family default
+\end_layout
+
+\end_inset
+
package.
\end_layout
\begin_layout Standard
The handling of both packages in LyX is basically the same.
Go to
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Document\SpecialChar \menuseparator
Settings
-\family default
+\end_layout
+
+\end_inset
+
and select under
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Bibliography
-\family default
+\end_layout
+
+\end_inset
+
the option
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Natbib
-\family default
+\end_layout
+
+\end_inset
+
or
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Jurabib
-\family default
+\end_layout
+
+\end_inset
+
.
With both packages, you will get some extra features in the citation dialog
and you can select the style of the reference (
\end_inset
etc.).
- Note that both packages need specifically designed style files (they both
- ship their own, while there are lots of additional style files and even
- an interactive style file builder
+ Note that both packages need specifically designed style files.
+ They both ship their own, but there are lots of additional style files,
+ and there is even an interactive style file builder
\begin_inset Foot
status collapsed
\end_inset
for
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
natbib
-\family default
- available).
+\end_layout
+
+\end_inset
+
+.
\end_layout
\begin_layout Subsection
\end_inset
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
sources.bib
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
scientific.bib
-\family default
+\end_layout
+
+\end_inset
+
.
\end_layout
\begin_layout Standard
-Go in LyX to
-\family sans
+Go to
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Document\SpecialChar \menuseparator
Settings
-\family default
+\end_layout
+
+\end_inset
+
and check under
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Bibliography
-\family default
+\end_layout
+
+\end_inset
+
the option
-\family sans
-Sectioned
-\begin_inset space ~
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Sectioned bibliography
+\end_layout
+
\end_inset
-bibliography
-\family default
.
Now you can insert multiple BibTeX bibliographies, one for each section
of your bibliography.
Returning to our example: Insert the BibTeX bibliography
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
sources.bib
-\family default
+\end_layout
+
+\end_inset
+
and a second one for the database
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
scientific.bib
-\family default
+\end_layout
+
+\end_inset
+
.
You are free to use the same or different styles for each section.
Additionally, you can chose if the bibliography section should contain
.
The titles for the sections can be added as ordinary sections or subsections.
Since
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
bibtopic
-\family default
+\end_layout
+
+\end_inset
+
removes the bibliography title, you have manually re-add that, too (as
a chapter* or section*, for instance).
\end_layout
a bibliography for each section or chapter of the document, are not supported
by BibTeX itself.
But the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
bibtopic
-\family default
+\end_layout
+
+\end_inset
+
package, which is used for the creation of sectioned bibliographies in
LyX (see the previous section), provides an easy way to solve this task,
- if you are willing to use some TeX Code (see section
+ if you are willing to use some
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+TeX Code
+\end_layout
+
+\end_inset
+
+ (see section
\begin_inset space ~
\end_inset
\begin_layout Plain Layout
An alternative approach is to use the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
chapterbib
-\family default
+\end_layout
+
+\end_inset
+
or
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
bibunits
-\family default
+\end_layout
+
+\end_inset
+
package, respectively.
\end_layout
\begin_layout Standard
First go to
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Document\SpecialChar \menuseparator
Settings
-\family default
+\end_layout
+
+\end_inset
+
and under
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Bibliography
-\family default
+\end_layout
+
+\end_inset
+
check
-\family sans
-Sectioned
-\begin_inset space ~
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Sectioned bibliography
+\end_layout
+
\end_inset
-bibliography
-\family default
.
In the document, you have to enclose the sections, which shall contain
their own bibliography (including the BibTeX bibliography itself), between
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
begin{btUnit}
-\family default
- and
-\family typewriter
+\end_layout
+
+\end_inset
+
+ and
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
end{btUnit}
-\family default
- (those commands have to be inserted as ERT).
+\end_layout
+
+\end_inset
+
+ (those commands have to be inserted as TeX code).
The bibliography will contain all references which have been cited in the
- current btUnit.
+ current
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+btUnit
+\end_layout
+
+\end_inset
+
+.
\series bold
Note:
\series default
- If you are using this approach, then
-\emph on
-every
-\emph default
- citation reference has to be inside some btUnit.
- Also, the btUnits cannot be nested.
+ If you are using this approach, then every citation reference has to be
+ inside some
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+btUnit
\end_layout
-\begin_layout Standard
+\end_inset
+
+.
+ Also, the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+btUnit
+\end_layout
+\end_inset
+
+s cannot be nested.
\end_layout
\begin_layout Section
It is important to note that each of these files is a full LyX file which
can be formatted and printed on its own, as well as included in a master
file.
- Each of these files must have the same document class, however--- don't
- attempt to mix book classes with article classes.
+ Each of these files must have the same document class, however—don't attempt
+ to mix book classes with article classes.
You may also include LaTeX files; however, these files must not have their
- own preamble
-\emph on
-(i.e.
+ own preamble (i.
+\begin_inset space \thinspace{}
+\end_inset
-\emph default
- everything up to and including the
-\family typewriter
+g.
+\begin_inset space \space{}
+\end_inset
+
+everything up to and including the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
begin{document}
-\family default
+\end_layout
+
+\end_inset
+
line as well as the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
end{document}
-\family default
+\end_layout
+
+\end_inset
+
line must be deleted) or else errors will be generated when you try to
make a DVI file.
\end_layout
\begin_layout Standard
LyX allows you to include files quite easily with
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Insert\SpecialChar \menuseparator
ChiId
\begin_inset space ~
\end_inset
Document
-\family default
+\end_layout
+
+\end_inset
+
.
When you click on this selection a small box is inserted into the file
at the current cursor location.
\end_inset
are typeset starting on the current page.
- Perhaps the labeling in LyX will be changed someday to reflect this.
\end_layout
\begin_layout Standard
Generally, the master file is converted into a full LaTeX file before typesettin
g, while the included files are converted to LaTeX files which do not have
all the preamble information.
- Checking the
-\family sans
-Don't
-\family default
-
-\begin_inset space ~
-\end_inset
-
-
-\family sans
-typeset
-\family default
- button prevents this conversion.
\end_layout
\begin_layout Standard
\end_inset
included file allows you to include a file typeset exactly as it appears
- in the file, i.e.
-\begin_inset space ~
+ in the file, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+in
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+verbatim
+\end_layout
+
\end_inset
-verbatim mode, with the characters set in a fixed-width typewriter font.
+ mode, with the characters set in a fixed-width typewriter font.
Normally, spaces in this file are invisible, though two consecutive spaces
are conserved, unlike LyX's normal treatment of spaces.
However, setting the
-\family sans
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
Mark
\begin_inset space ~
\end_inset
\end_inset
output
-\family default
+\end_layout
+
+\end_inset
+
checkbox typesets a mark to unambiguously define the presence of a space.
\end_layout
Cross-References Between Files
\end_layout
+\begin_layout Standard
+\begin_inset Box Shadowbox
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+This section is somewhat out of date.
+ Need to describe default master documents and how children are opened when
+ the master is.
+ [[FIXME]]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
It is possible to set up cross-references between the different files.
First, open all the files in question: let's call them A and B in a two
Bibliography Lists in all Subdocuments
\end_layout
+\begin_layout Standard
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+This section also needs updating.
+ There is now material about this on the wiki, and it could be copied here.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
Copy the bibliography list with all entries to all subdocuments and transform
them to a comment.
This way LyX will find the
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
.bib
-\family default
+\end_layout
+
+\end_inset
+
-files and you can easily insert references without making the bibliography
list visible.
\end_layout
\begin_layout Standard
As the bibliography list is in a comment, LaTeX won't use use it and the
- references will look like this [?] instead of [1].
- A solution is to use the LaTeX-package
-\family typewriter
+ references will look like this: [?], instead of like this: [1].
+ One solution is to use the LaTeX-package
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
comment
-\family default
+\end_layout
+
+\end_inset
+
that will only include comments by processing the files separately.
To do this, add in the LaTeX preamble of every subdocument the following:
\end_layout
\end_layout
\begin_layout Standard
-The default page layout is rather plain; for an article document class,
- all you get is a centered page number at the bottom of the page.
- This document is the book class, so it appears to be a bit fancier, but
- to really put on a show, you need to set the document page style to
+The default page layout is rather plain; for an
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+article
+\end_layout
+
+\end_inset
+
+ document class, all you get is a centered page number at the bottom of
+ the page.
+ This document uses KOMA-script's book class, so it appears to be a bit
+ fancier.
+ But to really put on a show, you need to set the document page style to
+
\begin_inset Quotes eld
\end_inset
\end_inset
, as mentioned in the
-\family sans
-User
-\begin_inset space ~
-\end_inset
-
-Guide
-\family default
+\emph on
+User Guide
+\emph default
.
- This section describes the LaTeX codes you need to insert in your LaTeX
- preamble or the text in order to get the desired effects.
+ This section describes the LaTeX code you need to insert in your LaTeX
+ preamble in order to get the desired effects.
\end_layout
\begin_layout Standard
.
The footer is also divided into these three fields.
The LaTeX commands to set these fields in the simplest manner are
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
lhead
-\family default
+\end_layout
+
+\end_inset
+
,
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
chead
-\family default
+\end_layout
+
+\end_inset
+
,
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
rhead
-\family default
+\end_layout
+
+\end_inset
+
,
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
lfoot
-\family default
+\end_layout
+
+\end_inset
+
, etc.
Suppose you wish to put your name in the upper left hand corner of each
page.
\begin_inset space \thinspace{}
\end_inset
-g.
+g.:
\end_layout
\begin_layout Standard
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
Section 3) in the upper left, the page number (e.
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
Page 4) in the upper right, your name in the lower left, and the date in
\end_layout
\begin_layout Standard
-The codes
-\family typewriter
+The commands
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
thesection
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
thepage
-\family default
+\end_layout
+
+\end_inset
+
access LaTeX's section and page counters, and so print out the current
section and page numbers.
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
today
-\family default
+\end_layout
+
+\end_inset
+
simply prints out today's date.
\end_layout
\begin_layout Standard
The thicknesses of the horizontal rules drawn beneath the header and above
the footer can also be modified.
- If you don't want one of the headers, set its thickness to 0.
+ If you don't want one of the rules, set its thickness to 0.
The header rule has a default thickness of 0.4pt, the footer rule is 0pt.
- Use the commands, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-
+ Use commands
\family typewriter
-
-\backslash
+
+\family default
+like
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
renewcommand{
\backslash
headrulewidth}{0.4pt}
-\family default
+\end_layout
+
+\end_inset
+
and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
footrulewidth}{0.4pt}
-\family default
+\end_layout
+
+\end_inset
+
to set the thicknesses.
\end_layout
\begin_layout Standard
You can switch the header/footer settings on and off for individual pages
using commands like
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
thispagestyle{empty}
-\family default
+\end_layout
+
+\end_inset
+
,
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
thispagestyle{plain}
-\family default
+\end_layout
+
+\end_inset
+
, and
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
thispagestyle{fancy}
-\family default
+\end_layout
+
+\end_inset
+
.
Simply insert them in the text on the page you want changed and mark them
as TeX code.
\begin_layout Standard
There are more complex commands which will let you insert things in the
- upper left on odd numbered pages, etc., but I will refer you to the
-\family typewriter
+ upper left on odd numbered pages, etc., but we will refer you to the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
fancyhdr
-\family default
- package documentation for more descriptions.
- For example, if you have a teTeX installation, look for
-\family typewriter
-/usr/share/texmf/doc/latex/fancyhdr/\SpecialChar \-
+\end_layout
+
+\end_inset
+
+ package documentation for more information.
+ (Find the file
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
fancyhdr.dvi
-\family default
-.
+\end_layout
+
+\end_inset
+
+.)
\end_layout
\begin_layout Standard
-As a final example, it is possible to include an Encapsulated PostScript
- file in the header or footer.
+As a final example, it is possible to include an image in the header or
+ footer.
Suppose you want to put a company logo in the upper lefthand corner.
You might try something like
\end_layout
\begin_layout Standard
\noindent
(you may need to preface this with
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+\noindent
\backslash
usepackage{graphics}
-\family default
- if you don't include EPS files elsewhere in your document).
+\end_layout
+
+\end_inset
+
+ if you don't include graphics elsewhere in your document).
\end_layout
\begin_layout Section
Using this dialog you can easily specify what bullet shape to use at each
level of an itemized list.
These settings are document-wide so you won't be able to specify different
- sets of bullets for different paragraphs
+ sets of bullets for different paragraphs.
\begin_inset Foot
status collapsed
\end_inset
-.
+
\end_layout
\begin_layout Subsection
\begin_layout Standard
Open the dialog by selecting the
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Document\SpecialChar \menuseparator
+Settings
+\end_layout
+
+\end_inset
-\bar under
-S
-\bar default
-ettings
-\family default
menu item and then select the
-\family sans
-\bar under
-B
-\bar default
-ullets
-\family default
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Bullets
+\end_layout
+
+\end_inset
+
tab.
\end_layout
\begin_layout Standard
LyX doesn't stop you using bullets from packages you don't have.
- If you get errors from LaTeX when you try to view or print the file then
- its likely you are missing a package.
- LyX doesn't restrict your use since you may be editing locally and exporting
+ If you get errors from LaTeX when you try to view or print the file, then
+ it is likely you are missing a package.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+LyX doesn't restrict your use since you may be editing locally and exporting
elsewhere.
\end_layout
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
How to use it
\end_layout
Select which bullet depth you want to change then select the bullet shape
and size.
Any changes will not be visible in LyX, but are visible when viewing the
- document using xdvi or ghostview.
+ document.
\end_layout
\begin_layout Standard
You can reset a bullet shape to the default simply by clicking your right
mouse button on the appropriate bullet depth button.
-\end_layout
+\begin_inset Foot
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
If you
\emph on
really
\emph default
want to have multiple sets of paragraphs with different sets of bullets
- in each then you're going to have to get your hands dirty.
- The itemize bullet selection dialog can help though because it provides
- you with the LaTeX code for a wide range of bullet shapes.
+ in each, then you're going to have to get your hands dirty with TeX code.
+ The bullet selection dialog can help though because it provides you with
+ the LaTeX code for a wide range of bullet shapes.
To make your own custom paragraphs you have the following options:
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset ERT
status open
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Itemize
Use the LaTeX command
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
\backslash
renewcommand{}{}
-\family default
+\end_layout
+
+\end_inset
+
to specify a new bullet shape for a given depth.
You'll also need to save the current bullet shape so you can restore it
again afterwards.
In this itemized list the following LaTeX code was used to change the bullet
used for the first depth.
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
-\family typewriter
+\begin_deeper
+\begin_layout LyX-Code
\backslash
let
\backslash
savelabelitemi=
\backslash
-labelitemi
-\family default
-
-\family typewriter
-
-\begin_inset Newline newline
-\end_inset
+labelitemi
+\end_layout
+\begin_layout LyX-Code
\backslash
renewcommand
sharp
\backslash
)}
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
-\family default
+\end_deeper
+\begin_layout Itemize
Note that the itemize depth is specified in Roman numerals as part of the
\family typewriter
\end_inset
Specify each individual entry by starting each item with the bullet shape
- enclosed in square brackets and set as TeX.
+ enclosed in square brackets and set as
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+TeX Code
+\end_layout
+
+\end_inset
+
+.
For example, this item was started with
-\family typewriter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
[
\backslash
(
star
\backslash
)]
-\family default
+\end_layout
+
+\end_inset
+
.
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset ERT
status open
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
You'll also need to revert the labelitem back to its previous setting for
the global bullet shape settings to remain in effect.
The way used here was:
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
-\family typewriter
+\begin_layout LyX-Code
\backslash
renewcommand
savelabelitemi}
\end_layout
+\end_inset
+
+
+\end_layout
+
\begin_layout Chapter
The LyX Server
\end_layout
\emph on
the server does not work on Windows
\emph default
-®.
+.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
There is no reason it cannot do so.
- But none of the developers on Windows® have yet implemented this functionality
+ But none of the developers on Windows have yet implemented this functionality
there.
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\bar under
-T
-\bar default
-ools\SpecialChar \menuseparator
-
-\bar under
-P
-\bar default
-references
+Tools\SpecialChar \menuseparator
+Preferences
\end_layout
\end_inset
' to create the pipes.
If one of the pipes already exists, LyX will assume that another LyX process
is already running and will not start the server.
- This means that if LyX crashes, or if for some other reason, a
+ If for some other reason, an unused
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- pipe is left in existence when LyX closes, then LyX will not start the
- server.
- (This is bug 641.) You will need to delete the pipes manually and then restart
- LyX.
+ pipe is left in existence when LyX closes, then LyX will try to delete
+ it.
+ If this fails for some reason, you will need to delete the pipes manually
+ and then restart LyX.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Other than this, there are a few points to consider:
-\end_layout
-
-\begin_layout Itemize
-Both server and clients must run on UNIX or OS/2 machines.
- Communications between LyX on UNIX and clients on OS/2 or vice versa is
- not possible right now.
-\end_layout
-
-\begin_layout Itemize
-On OS/2, only one client can connect to LyXServer at a time.
-\end_layout
-
-\begin_layout Itemize
-On OS/2, clients must open the input pipe with
+You can find a complete example client written in C in the source distribution
+ as
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
-O_WRONLY
+development/lyxserver/server_monitor.c
\end_layout
\end_inset
- mode.
+.
\end_layout
\begin_layout Standard
-You can find a complete example client written in C in the source distribution
- as
+Another useful tool is command-line based client you will find in
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
-development/lyxserver/server_monitor.c
+src/client/lyxclient
\end_layout
\end_inset
\begin_layout Description
clientname is a name that the client can choose arbitrarily.
- Its only use is that LyX will echo it if it sends an answer---so a client
+ Its only use is that LyX will echo it if it sends an answer—so a client
can dispatch results from different requesters.
\end_layout
\end_layout
\begin_layout Section
-AMS LaTeX
+A&A Paper
\end_layout
\begin_layout Standard
by
\noun on
-David Johnson; updated by Richard Heck
+Peter Sütterlin
+\end_layout
+
+\begin_layout Subsection
+Introduction
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+This section describes how LyX can be used to write articles for submission
+ to the scientific journal
+\emph on
+Astronomy and Astrophysics
+\emph default
+ (www.edpsciences.fr/aa/
+\begin_inset Flex URL
+status collapsed
+\begin_layout Plain Layout
-\end_layout
-
-\begin_layout Standard
-\noindent
-The AMS LaTeX layouts are set up to conform to suggested styles for mathematical
- papers to be submitted to American Mathematical Society publications.
- The layouts are not tailored to a specific journal, but easily can be.
- You should refer to the AMS documentation for specific instructions for
- each journal (usually it will entail only changing a single line in the
- TeX output).
- That documentation is available on the Web at
-\begin_inset Flex URL
-status open
-
-\begin_layout Plain Layout
-
-http://www.ams.org
-\end_layout
-
-\end_inset
-
- or by ftp at
-\begin_inset Flex URL
-status open
-
-\begin_layout Plain Layout
-
-ftp://ftp.ams.org/pub/tex/amslatex/
+http://www.edpsciences.fr/aa/
\end_layout
\end_inset
+) using Version 5.01 of the document class
+\family typewriter
+aa.cls
+\family default
.
- These layouts are appropriate, and useful, for any mathematical writing.
-
+ This package can be downloaded from the ftp site
\end_layout
\begin_layout Standard
-There are two basic AMS LaTeX layouts:
-\end_layout
+\begin_inset VSpace medskip
+\end_inset
-\begin_layout Itemize
-amsart: The standard AMS article format.
-\end_layout
-\begin_layout Itemize
-amsbook: the standard AMS book (really, monograph) format.
-
\end_layout
\begin_layout Standard
-The layouts themselves contain only the minimum necessary to use the AMS
- classes.
- They do not, in particular, contain any of the `theorem' environments used
- for setting theorems, lemmas, and the like.
- These are contained, instead, in the
-\begin_inset Flex CharStyle:Code
+\align center
+\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
-Theorems (AMS)
+
+ftp://ftp.edpsciences.org/pub/aa/readme.html
\end_layout
\end_inset
- module, which is loaded by default when when you select one of the AMS
- classes.
- (It can also be used with other classes and can be removed, if you would
- rather use something else.) Less commonly used environments are in the
-\begin_inset Flex CharStyle:Code
-status collapsed
-\begin_layout Plain Layout
-Theorems (AMS-Extended)
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
- module, which must be loaded manually.
+
\end_layout
\begin_layout Standard
-By default, theorems and the like are numbered consecutively throughout
- the document, but this may be modified by loading the module
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-Theorems (Order by Section)
+A manual comes together with that package, and this text is not meant to
+ replace the original manual but merely a short guide how to realize the
+ correct form of your paper.
+
\end_layout
-\end_inset
-
- or, if you are using
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-book (AMS)
+\begin_layout Standard
+Please note that the publisher of the journal was changed from Springer
+ to EDP Sciences starting January 1, 2001.
+ That change implicated also some slight changes of the style files, namely
+ the removal of the thesaurus command.
+ The LyX class aa supports the newest version of these style files, V 5.01.
+ If you have an older version installed, please upgrade.
+ For compatibility, the old (version 4) layout has been kept as
+\family sans
+article (A&A V4)
+\family default
+.
+ Please refer to the comments in
+\family typewriter
+LyXDir/layouts/aapaper.layout
+\family default
+.
\end_layout
-\end_inset
+\begin_layout Subsection
+Getting started
+\end_layout
-, the module
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Standard
+It is recommended you start from the example template distributed with LyX.
+ If you are not using a template, note the following settings:
+\end_layout
-\begin_layout Plain Layout
-Theorems (Order by Chapter)
+\begin_layout Itemize
+Select
+\family sans
+article (A&A)
+\family default
+ in the
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog (OK, that one was obvious).
\end_layout
+\begin_layout Itemize
+Don't change the option
+\family sans
+Page
+\begin_inset space ~
\end_inset
+style
+\family default
+: Leave it set to
+\family sans
+default
+\family default
.
- These will number the results as
-\begin_inset Formula $n.m$
-\end_inset
-
-, where the first number refers to the section (or chapter) and the second
- refers to the total number of results so far in that section (or chapter).
- Many environments are also available unnumbered.
- These are indicated by an asterisk at the end.
- If you happen to want
-\emph on
-only
-\emph default
- unnumbered results, the the module
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-Theorems (Starred)
+ The whole layout is done by the macros, you shouldn't change anything.
\end_layout
-\end_inset
-
- provides that option.
+\begin_layout Subsection
+The header block
\end_layout
\begin_layout Standard
-Note that these modules do not
-\emph on
-have
-\emph default
- to be used with the AMS classes.
- It is perfectly possible to use the
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-Theorems (AMS)
+First thing to enter is the header information.
+ It consists of seven entries, of which some are optional.
+ They are
\end_layout
-\end_inset
-
- module, and the others mentioned, with other classes, such as
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-article
+\family sans
+Title
+\family default
+: [required]
\end_layout
-\end_inset
-
-,
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-report
+\family sans
+Subtitle
+\family default
+: [optional]
\end_layout
-\end_inset
-
-,
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-book (KOMA-script)
+\family sans
+Author
+\family default
+: [required]
\end_layout
-\end_inset
+\begin_layout Itemize
-, and so forth.
+\family sans
+Address
+\family default
+: [required]
\end_layout
-\begin_layout Subsection
-What these layouts provide
-\end_layout
+\begin_layout Itemize
-\begin_layout Standard
-There is a long list of included environments provided by these layouts.
- In AMS-LaTeX, there is, in fact, an opportunity to define an unlimited
- variety of `theorem' environments.
- However, the AMS recommends the environments that are available in LyX.
-
+\family sans
+Offprints
+\family default
+: [optional] if more than one author: whom to contact for offprint requests.
\end_layout
-\begin_layout Standard
-The following environments---as well as the standard environments, such
- as
-\begin_inset Flex CharStyle:Noun
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-section
+\family sans
+Mail
+\family default
+: [optional] mail address for contacts.
\end_layout
-\end_inset
-
-,
-\begin_inset Flex CharStyle:Noun
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-bibliography
+\family sans
+Date
+\family default
+: [required].
+ Suggested format is
+\family typewriter
+Received: <date>; Accepted <date>
\end_layout
-\end_inset
-
-,
-\begin_inset Flex CharStyle:Noun
-status collapsed
+\begin_layout Standard
+There is no need to issue the
+\family typewriter
-\begin_layout Plain Layout
-title
+\backslash
+maketitle
+\family default
+ command, this is done automatically by LyX when the header is finished.
+ Although the order of the single header entries doesn't matter it is advised
+ to keep the above sequence, just to get the best optics and meets the layout
+ of the real document.
\end_layout
+\begin_layout Standard
+If you want to place footnotes in the header block, e.
+\begin_inset space \thinspace{}
\end_inset
-,
-\begin_inset Flex CharStyle:Noun
-status collapsed
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Plain Layout
-author
-\end_layout
+to state your present address, just use the standard footnote via the menu
+
+\family sans
+Insert\SpecialChar \menuseparator
+Footnote.
-\end_inset
+\family default
+ LyX will automagically use the term
+\family typewriter
-, and
-\begin_inset Flex CharStyle:Noun
-status collapsed
+\backslash
+thanks{}
+\family default
+ in that case.
+\end_layout
-\begin_layout Plain Layout
-date
+\begin_layout Standard
+In addition to these topics, the macros use three additional LaTeX commands
+ that have no counterpart in LyX:
\end_layout
-\end_inset
+\begin_layout Itemize
----are provided by
-\begin_inset Flex CharStyle:Code
-status collapsed
+\family typewriter
-\begin_layout Plain Layout
-article (AMS)
+\backslash
+and
+\family default
+ to separate different names for more than one author and institute, respectivel
+y.
\end_layout
-\end_inset
+\begin_layout Itemize
- and
-\begin_inset Flex CharStyle:Code
-status collapsed
+\family typewriter
-\begin_layout Plain Layout
-book (AMS)
+\backslash
+inst{<nr>}
+\family default
+to mark corresponding author/institute pairs.
+ The institutes are numbered sequentially as they appear in the
+\family sans
+Address
+\family default
+ field, so you have to put a marker to each author.
\end_layout
-\end_inset
+\begin_layout Itemize
-:
-\end_layout
+\family typewriter
-\begin_layout Description
-Address This should be the author's permanent address.
+\backslash
+email{address}
+\family default
+ to supply an email address for fast contact.
\end_layout
-\begin_layout Description
-Current
-\begin_inset space ~
-\end_inset
-
-Address This should be the author's temporary address at the time of submission,
- if different from the Address.
+\begin_layout Standard
+In all cases, the appropriate command has to be entered in LyX and marked
+ as LaTeX code.
+ See the examples.
+
\end_layout
-\begin_layout Description
-Email Author's e-mail address
+\begin_layout Subsection
+The abstract
\end_layout
-\begin_layout Description
-URL Author's Web address, if desired.
-\end_layout
+\begin_layout Standard
+The abstract should immediately follow the header block.
+ With version 5 the abstract environment was changed to a command, and there
+ is now a resctriction to only one paragraph.
+ In addition, it should contain an entry with the keywords.
+ This is not yet implemented for LyX, therefore you have to enter the LaTeX
+ command
+\family typewriter
-\begin_layout Description
-Keywords Key words or phrases used to identify specific topics discussed
- in the paper.
+\backslash
+keywords{}
+\family default
+ by hand and mark it as LaTeX code.
+ Refer to the example paper.
\end_layout
-\begin_layout Description
-Subjectclass These refer to the AMS Subject Classifications, published and
- described in
-\emph on
-Mathematical Reviews
-\emph default
-.
- These are also available online at the AMS cites listed above.
+\begin_layout Subsection
+Supported environments
\end_layout
-\begin_layout Description
-Thanks
+\begin_layout Standard
+The A&A paper layout supports the following environments for structuring
+ your text:
\end_layout
-\begin_layout Description
-Dedicatory
-\end_layout
+\begin_layout Itemize
-\begin_layout Description
-Translator
+\family sans
+Standard
\end_layout
-\begin_layout Standard
-The following environments are provided by both the
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-Theorems
+\family sans
+Section
\end_layout
-\end_inset
-
- and
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-Theorems (AMS)
+\family sans
+Subsection
\end_layout
-\end_inset
-
- modules, in the latter case in both starred (unnumbered) and unstarred
- (numbered) versions.
- These same environments are provided only in the starred versions by the
-
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-Theorems (Starred)
+\family sans
+Subsubsection
\end_layout
-\end_inset
+\begin_layout Itemize
- module:
+\family sans
+Itemize
\end_layout
-\begin_layout Theorem
-This is typically used for the statements of major results.
-
-\end_layout
+\begin_layout Itemize
-\begin_layout Corollary*
-This is used for statements which follow fairly directly from previous statement
-s.
- Again, these can be major results.
-
+\family sans
+Enumerate
\end_layout
-\begin_layout Lemma
-These are smaller results needed to prove other statements.
-\end_layout
+\begin_layout Itemize
-\begin_layout Proposition
-These are less major results which (hopefully) add to the general theory
- being discussed.
+\family sans
+Description
\end_layout
-\begin_layout Conjecture
-These are statements provided without justification, which the author does
- not know how to prove, but which seem to be true (to the author, at least).
-\end_layout
+\begin_layout Itemize
-\begin_layout Definition*
-Guess what this is for.
- The font is different for this environment than for the previous ones.
-
+\family sans
+Caption
\end_layout
-\begin_layout Example*
-Used for examples illustrating proven results.
-\end_layout
+\begin_layout Itemize
-\begin_layout Problem
-It's not really known what this is for.
- You should figure it out.
+\family sans
+Abstract
\end_layout
-\begin_layout Exercise*
-Write a description for this one.
-\end_layout
+\begin_layout Itemize
-\begin_layout Remark
-This environment is also a type of theorem, usually a lesser sort of observation.
+\family sans
+Acknowledgment
\end_layout
-\begin_layout Claim*
-Often used in the course of giving a proof of a larger result.
+\begin_layout Itemize
+
+\family sans
+Bibliography
\end_layout
-\begin_layout Case
-Generally, these are used to break up long arguments, using specific instances
- of some condition.
-
+\begin_layout Itemize
+
+\family sans
+LaTeX
\end_layout
-\begin_layout Case
-The numbering scheme for cases is on its own, not together with other numbered
- statements.
-
+\begin_layout Subsection
+Commands not supported by LyX
\end_layout
-\begin_layout Proof
-At the end of this environment , a QED symbol (usually a square, but it
- can vary with different styles) is placed.
- If you want to have other environments within this one---for example, Case
- environments---and have the QED symbol appear only after them, then the
- other environments need to be nested within the proof environment.
- See section
-\emph on
-Nesting Environments
-\emph default
- of the
-\emph on
-User's Guide
-\emph default
- for information on nesting.
+\begin_layout Standard
+Some commands are not yet supported by the
+\family sans
+paper (A&A)
+\family default
+ layout for LyX.
+ Some have already been mentioned.
+ For the sake of completeness, they are listed all together here:
\end_layout
-\begin_layout Standard
-And these are provided by
-\begin_inset Flex CharStyle:Code
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-Theorems (AMS-Extended)
+\family typewriter
+
+\backslash
+and
\end_layout
-\end_inset
+\begin_layout Itemize
-:
-\end_layout
+\family typewriter
-\begin_layout Criterion*
-A required condition.
+\backslash
+email
\end_layout
-\begin_layout Algorithm*
-A general procedure to be used.
-\end_layout
+\begin_layout Itemize
-\begin_layout Axiom*
-This is a property or statement taken as true within the system being discussed.
-\end_layout
+\family typewriter
-\begin_layout Condition*
-Sometimes used to state a condition assumed within the present context of
- discussion.
+\backslash
+appendix
\end_layout
-\begin_layout Note*
-Similar to a Remark.
-\end_layout
+\begin_layout Itemize
-\begin_layout Notation*
-Used for the explanation of, yes, notation.
+\family typewriter
+
+\backslash
+authorrunning
\end_layout
-\begin_layout Summary
-Do we really need to tell you?
+\begin_layout Itemize
+
+\family typewriter
+
+\backslash
+inst{}
\end_layout
-\begin_layout Acknowledgement*
-Acknowledgement.
+\begin_layout Itemize
+
+\family typewriter
+
+\backslash
+keywords{}
\end_layout
-\begin_layout Conclusion*
-Sometimes used at the end of a long train of argument.
+\begin_layout Itemize
+
+\family typewriter
+
+\backslash
+object{}
\end_layout
-\begin_layout Fact
-Used in a way similar to Proposition, though perhaps lower on the scale.
+\begin_layout Itemize
+
+\family typewriter
+
+\backslash
+titlerunning{}
\end_layout
\begin_layout Standard
-In addition, the AMS classes automatically provide the AMS LaTeX and AMS
- fonts packages.
- They need to be available on your system in order to use these environments.
+If you want to use any of these commands, you have to enter them yourself.
+
+\series bold
+Do not forget to mark them as LaTeX code!
\end_layout
-\begin_layout Section
-Dinbrief
+\begin_layout Subsection
+Figure and Table Floats
\end_layout
\begin_layout Standard
-The document class
+LyX provides support for the necessary float environments
\family sans
-dinbrief
+figure, figure*, table
\family default
- can be used to type letters according to German conventions.
- A template file is included in
-\family typewriter
-.../lyx/share/templates
+ and
+\family sans
+table*
\family default
- for you to use as a starting point.
-\end_layout
+, therefore we won't tell much about it here.
+ Refer to the
+\emph on
+User's
+\begin_inset space ~
+\end_inset
-\begin_layout Section
-Paper
+Guide
+\emph default
+.
+ Just remember that tables should be left-aligned.
+ For that, select the table and change the alignment in
+\family sans
+Edit\SpecialChar \menuseparator
+Paragraph
+\begin_inset space ~
+\end_inset
+
+Settings.
\end_layout
\begin_layout Standard
-The document class
+There is only one special thing: the figures with caption besides the figure.
+ To create such a figure, you have to do the following:
+\end_layout
+
+\begin_layout Enumerate
+Create a wide figure float:
\family sans
-paper
+Insert\SpecialChar \menuseparator
+Float\SpecialChar \menuseparator
+Figure
\family default
- provides an alternative to the standard
+, then right click in the figure and select
\family sans
-article
+\bar under
+S
+\bar default
+pan
+\begin_inset space ~
+\end_inset
+
+columns
\family default
- class.
- It provides similar functionality, but you might prefer this layout with
- sans serif sections, headings, and more.
+.
\end_layout
-\begin_layout Section
-A&A Paper
+\begin_layout Enumerate
+Enter your caption text.
\end_layout
-\begin_layout Standard
-by
-\noun on
-Peter Sütterlin
+\begin_layout Enumerate
+Press
+\family sans
+Return
+\family default
+ to move the cursor above the caption.
\end_layout
-\begin_layout Subsection
-Introduction
+\begin_layout Enumerate
+Insert your figure
\end_layout
-\begin_layout Standard
-This section describes how LyX can be used to write articles for submission
- to the scientific journal
-\emph on
-Astronomy and Astrophysics
-\emph default
- (www.edpsciences.fr/aa/
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://www.edpsciences.fr/aa/
-\end_layout
+\begin_layout Enumerate
+Position the cursor behind the figure and insert a horizontal fill:
+\family sans
+Insert\SpecialChar \menuseparator
+Special
+\begin_inset space ~
+\end_inset
+Character\SpecialChar \menuseparator
+Horizontal
+\begin_inset space ~
\end_inset
-) using Version 5.01 of the document class
-\family typewriter
-aa.cls
+Fill
\family default
.
- This package can be downloaded from the ftp site
\end_layout
-\begin_layout Standard
-\begin_inset VSpace medskip
+\begin_layout Enumerate
+Switch to LaTeX mode:
+\family sans
+M-c
+\begin_inset space ~
\end_inset
-
+t
+\family default
+.
\end_layout
-\begin_layout Standard
-\align center
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Enumerate
+Enter
+\family typewriter
-ftp://ftp.edpsciences.org/pub/aa/readme.html
+\backslash
+parbox[b]{55mm}{
+\family default
+.
+
+\series bold
+Do not close the brace!
\end_layout
+\begin_layout Enumerate
+Position the cursor behind the caption text, switch to LaTeX mode and insert
+ the closing brace:
+\family sans
+M-c
+\begin_inset space ~
\end_inset
-
+t
+\family default
+
+\family typewriter
+}
+\family default
+.
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
-
+Also, refer to the figures in the example paper.
\end_layout
-\begin_layout Standard
-A manual comes together with that package, and this text is not meant to
- replace the original manual but merely a short guide how to realize the
- correct form of your paper.
-
+\begin_layout Subsection
+Referee layout
\end_layout
\begin_layout Standard
-Please note that the publisher of the journal was changed from Springer
- to EDP Sciences starting January 1, 2001.
- That change implicated also some slight changes of the style files, namely
- the removal of the thesaurus command.
- The LyX class aa supports the newest version of these style files, V 5.01.
- If you have an older version installed, please upgrade.
- For compatibility, the old (version 4) layout has been kept as
+For submission, the paper has to be formated in a special double-spacing
+ layout.
+ For this purpose, you have to give the option
+\family typewriter
+referee
+\family default
+ to the documentclass.
+ This must be done using the extra class options field in the
\family sans
-article (A&A V4)
+Document\SpecialChar \menuseparator
+Settings
\family default
-.
- Please refer to the comments in
+ dialog.
+ Just enter the string
\family typewriter
-LyXDir/layouts/aapaper.layout
+referee
\family default
-.
+ there.
\end_layout
\begin_layout Subsection
-Getting started
+The example paper
\end_layout
\begin_layout Standard
-It is recommended you start from the example template distributed with LyX.
- If you are not using a template, note the following settings:
-\end_layout
-
-\begin_layout Itemize
-Select
-\family sans
-article (A&A)
-\family default
- in the
+The
\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
-
-\bar under
-S
-\bar default
-ettings
+Examples
\family default
- dialog (OK, that one was obvious).
+ directory contains an example paper written with LyX.
+ It is the example paper from the original macro package, translated to
+ LyX.
+ Use it for inspiration, and compare the original LaTeX code with LyX way
+ of writing.
\end_layout
-\begin_layout Itemize
-Don't change the option
-\family sans
-Page
-\begin_inset space ~
-\end_inset
+\begin_layout Section
+AASTeX
+\end_layout
-style
-\family default
-: Leave it set to
-\family sans
-default
-\family default
-.
- The whole layout is done by the macros, you shouldn't change anything.
+\begin_layout Standard
+by
+\noun on
+Mike Ressler
\end_layout
\begin_layout Subsection
-The header block
+Introduction
\end_layout
\begin_layout Standard
-First thing to enter is the header information.
- It consists of seven entries, of which some are optional.
- They are
+AASTeX is a set of macros produced by the American Astronomical Society
+ to facilitate electronic manuscript submission to the three journals they
+ publish: the Astrophysical Journal (including the Letters and Supplement),
+ the Astronomical Journal, and the Publications of the Astronomical Society
+ of the Pacific.
+ LyX has proven to be an excellent tool for generating these documents,
+ especially given its equation, citation, and figure handling capabilities.
+ LyX requires version 5.0 (or higher) of these macros; preferably 5.2, which
+ is the version described here, or higher.
+ Versions prior to 5.0 are intended for use with LaTeX2.09 and are fundamentally
+ incompatible with LyX.
+ The AASTeX package may be downloaded from the AASTeX Web site
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
-\family sans
-Title
-\family default
-: [required]
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+\align center
+\begin_inset Flex URL
+status collapsed
-\family sans
-Subtitle
-\family default
-: [optional]
+\begin_layout Plain Layout
+
+http://www.journals.uchicago.edu/AAS/AASTeX
\end_layout
-\begin_layout Itemize
+\end_inset
+
-\family sans
-Author
-\family default
-: [required]
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
-\family sans
-Address
-\family default
-: [required]
-\end_layout
-\begin_layout Itemize
+\end_layout
-\family sans
-Offprints
-\family default
-: [optional] if more than one author: whom to contact for offprint requests.
+\begin_layout Standard
+A complete user guide is contained in that package and you should familiarize
+ yourself with it thoroughly before embarking on writing a paper in LyX.
+ LyX will not reduce the need to figure out all the AASTeX commands, it
+ will only reduce the drudgery of typing everything in.
+ It is your responsibility to ensure that the final exported LaTeX document
+ conforms completely to the requirements of the journal to which you are
+ submitting your paper.
\end_layout
-\begin_layout Itemize
+\begin_layout Subsection
+Starting a New Paper
+\end_layout
+\begin_layout Standard
+I strongly suggest that you start with the AASTeX template file.
+ Click on
\family sans
-Mail
+File\SpecialChar \menuseparator
+New from
\family default
-: [optional] mail address for contacts.
-\end_layout
-
-\begin_layout Itemize
-
+
\family sans
-Date
+Template
\family default
-: [required].
- Suggested format is
+, enter the new file name, then choose the
+\family typewriter
+aastex.lyx
+\family default
+ template.
+ This will show the most common fields found in a manuscript.
+ Simply overwrite the existing text (including the brackets,
+\family typewriter
+<>
+\family default
+) with the correct information.
+ Many of the AASTeX commands and environments can be implemented directly
+ in LyX, but some cannot: most noticeably
\family typewriter
-Received: <date>; Accepted <date>
-\end_layout
-\begin_layout Standard
-There is no need to issue the
+\backslash
+altaffilmark
+\family default
+ and
\family typewriter
\backslash
-maketitle
+altaffiltext
\family default
- command, this is done automatically by LyX when the header is finished.
- Although the order of the single header entries doesn't matter it is advised
- to keep the above sequence, just to get the best optics and meets the layout
- of the real document.
+, which should stick out like a sore thumb if you actually just opened the
+ template file.
+ For commands such as these, the LaTeX code must be entered directly and
+ marked as such.
+ Such commands are referred to as TeX code, or Evil Red Text.
+ I tried to minimize the amount of TeX code needed in an AASTeX document,
+ but there is still a bit more required than any of us would like.
+\end_layout
+
+\begin_layout Subsection
+Finishing Your Paper
\end_layout
\begin_layout Standard
-If you want to place footnotes in the header block, e.
-\begin_inset space \thinspace{}
+When the paper is finished to your satisfaction and previews/prints correctly,
+ there are a few
+\begin_inset Quotes eld
\end_inset
-g.
-\begin_inset space ~
+postprocessing
+\begin_inset Quotes erd
\end_inset
-to state your present address, just use the standard footnote via
-\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-
-\bar under
-F
-\bar default
-ootnote.
-
-\family default
- LyX will automagically use the term
-\family typewriter
+ actions which need to be done before you submit it to the journals.
+
+\end_layout
-\backslash
-thanks{}
+\begin_layout Enumerate
+Export your paper as a LaTeX file (
+\family sans
+File\SpecialChar \menuseparator
+Export\SpecialChar \menuseparator
+LaTeX
\family default
- in that case.
+).
+
\end_layout
-\begin_layout Standard
-In addition to these topics, the macros use three additional LaTeX commands
- that have no counterpart in LyX:
+\begin_layout Enumerate
+Edit the resulting
+\family typewriter
+.tex
+\family default
+ file with your favorite text editor
\end_layout
-\begin_layout Itemize
-
+\begin_deeper
+\begin_layout Enumerate
+remove the comment lines before the
\family typewriter
\backslash
-and
+documentclass
\family default
- to separate different names for more than one author and institute, respectivel
-y.
+ command
\end_layout
-\begin_layout Itemize
-
+\begin_layout Enumerate
+remove the
\family typewriter
\backslash
-inst{<nr>}
+usepackage...{fontenc}
\family default
-to mark corresponding author/institute pairs.
- The institutes are numbered sequentially as they appear in the
-\family sans
-Address
-\family default
- field, so you have to put a marker to each author.
-\end_layout
-
-\begin_layout Itemize
-
+ line if it appears (usually just after
\family typewriter
\backslash
-email{address}
+documentclass
\family default
- to supply an email address for fast contact.
-\end_layout
-
-\begin_layout Standard
-In all cases, the appropriate command has to be entered in LyX and marked
- as LaTeX code.
- See the examples.
-
-\end_layout
-
-\begin_layout Subsection
-The abstract
-\end_layout
-
-\begin_layout Standard
-The abstract should immediately follow the header block.
- With version 5 the abstract environment was changed to a command, and there
- is now a resctriction to only one paragraph.
- In addition, it should contain an entry with the keywords.
- This is not yet implemented for LyX, therefore you have to enter the LaTeX
- command
+}; also remove the
\family typewriter
\backslash
-keywords{}
+secnumdepth
\family default
- by hand and mark it as LaTeX code.
- Refer to the example paper.
-\end_layout
-
-\begin_layout Subsection
-Supported environments
-\end_layout
-
-\begin_layout Standard
-The A&A paper layout supports the following environments for structuring
- your text:
+ line if it appears.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Standard
-\end_layout
+\begin_layout Enumerate
+remove everything between (and including) the
+\family typewriter
-\begin_layout Itemize
+\backslash
+makeatletter
+\family default
+ and
+\family typewriter
-\family sans
-Section
-\end_layout
+\backslash
+makeatother
+\family default
+ commands, except for any commands you specifically put into the LaTeX preamble
+ (which should appear immediately after the
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+User specified LaTeX commands
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Subsection
+ comment in the
+\family typewriter
+.tex
+\family default
+ file).
\end_layout
-\begin_layout Itemize
-
-\family sans
-Subsubsection
+\end_deeper
+\begin_layout Enumerate
+Run the resulting file through LaTeX to make sure it still processes correctly.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Itemize
+\begin_layout Enumerate
+Reread the journal requirements to make sure your filenames and formats
+ are correct.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Enumerate
+\begin_layout Enumerate
+Submit it.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Description
+\begin_layout Subsection
+Comments On Specific Commands
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+I will not describe the detailed usage of the individual AASTeX commands:
+ the AASTeX User Guide (
+\family typewriter
+aasguide.tex
+\family default
+) gives a good description of each.
+ Thus it's probably easiest for me to go down the list as found in the guide
+ and offer comments where necessary.
+ So let's begin \SpecialChar \ldots{}
-\family sans
-Caption
\end_layout
-\begin_layout Itemize
-
-\family sans
-Abstract
+\begin_layout Subsubsection
+Things that work as expected
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+\begin_inset ERT
+status open
-\family sans
-Acknowledgment
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Itemize
-\family sans
-Bibliography
+\backslash
+begin{sloppypar}
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-LaTeX
-\end_layout
-\begin_layout Subsection
-Commands not supported by LyX
\end_layout
\begin_layout Standard
-Some commands are not yet supported by the
-\family sans
-paper (A&A)
-\family default
- layout for LyX.
- Some have already been mentioned.
- For the sake of completeness, they are listed all together here:
-\end_layout
-
-\begin_layout Itemize
-
+Because they work as you might expect, I simply list them and the section
+ they are found in:
\family typewriter
\backslash
-and
-\end_layout
-
-\begin_layout Itemize
-
+documentclass
+\family default
+ (2.1.1),
\family typewriter
\backslash
-email
-\end_layout
-
-\begin_layout Itemize
-
+begin{document}
+\family default
+ (2.2),
\family typewriter
\backslash
-appendix
-\end_layout
-
-\begin_layout Itemize
-
+title
+\family default
+ (2.3),
\family typewriter
\backslash
-authorrunning
-\end_layout
+author
+\family default
+ (2.3),
+\family typewriter
-\begin_layout Itemize
+\backslash
+affil
+\family default
+ (2.3),
+\family typewriter
+\backslash
+abstract
+\family default
+ (2.4),
\family typewriter
\backslash
-inst{}
-\end_layout
+keywords
+\family default
+ (2.5),
+\family typewriter
-\begin_layout Itemize
+\backslash
+section
+\family default
+ (2.7),
+\family typewriter
+\backslash
+subsection
+\family default
+ (2.7),
\family typewriter
\backslash
-keywords{}
-\end_layout
+subsubsection
+\family default
+ (2.7),
+\family typewriter
-\begin_layout Itemize
+\backslash
+paragraph
+\family default
+ (2.7),
+\family typewriter
+\backslash
+facility
+\family default
+ (2.10),
\family typewriter
\backslash
-object{}
-\end_layout
+begin{displaymath}
+\family default
+ (2.12),
+\family typewriter
-\begin_layout Itemize
+\backslash
+begin{equation}
+\family default
+ (2.12),
+\family typewriter
+\backslash
+begin{eqnarray}
+\family default
+ (2.12),
\family typewriter
\backslash
-titlerunning{}
-\end_layout
+begin{mathletters}
+\family default
+ (2.12),
+\family typewriter
-\begin_layout Standard
-If you want to use any of these commands, you have to enter them yourself.
-
-\series bold
-Do not forget to mark them as LaTeX code!
-\end_layout
+\backslash
+begin{thebibliography}
+\family default
+ (2.13.1),
+\family typewriter
-\begin_layout Subsection
-Figure and Table Floats
-\end_layout
+\backslash
+bibitem
+\family default
+ (2.13.2), all the cite commands and their variations (2.13.2), the generic
+ graphicx figure commands (2.14.1),
+\family typewriter
-\begin_layout Standard
-LyX provides support for the necessary float environments
-\family sans
-figure, figure*, table
+\backslash
+begin{table}
\family default
- and
-\family sans
-table*
+ (2.15.4),
+\family typewriter
+
+\backslash
+begin{tabular}
\family default
-, therefore we won't tell much about it here.
- Refer to the
-\emph on
-User's
-\begin_inset space ~
-\end_inset
+ (2.15.4),
+\family typewriter
-Guide
-\emph default
-.
- Just remember that tables should be left-aligned.
- For that, select the table and change the alignment in
-\family sans
-\bar under
-E
-\bar default
-dit\SpecialChar \menuseparator
+\backslash
+caption
+\family default
+ (2.15.4),
+\family typewriter
-\bar under
-P
-\bar default
-aragraph
-\begin_inset space ~
-\end_inset
+\backslash
+label
+\family default
+ (2.15.4, amongst other places),
+\family typewriter
-Settings.
-\end_layout
+\backslash
+tablerefs
+\family default
+ (2.15.5),
+\family typewriter
-\begin_layout Standard
-There is only one special thing: the figures with caption besides the figure.
- To create such a figure, you have to do the following:
+\backslash
+tablecomments
+\family default
+ (2.15.5),
+\family typewriter
+
+\backslash
+url
+\family default
+ (2.17.4),
+\family typewriter
+
+\backslash
+end{document}
+\family default
+ (2.18).
\end_layout
-\begin_layout Enumerate
-Create a wide figure float:
+\begin_layout Standard
+The following style options also work correctly:
+\family typewriter
+longabstract
+\family default
+ (2.4),
+\family typewriter
+preprint
+\family default
+ (3.2.1),
+\family typewriter
+preprint2
+\family default
+ (3.2.2),
+\family typewriter
+eqsecnum
+\family default
+ (3.3),
+\family typewriter
+flushrt
+\family default
+ (3.4).
+ Simply put them in the
\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-Flo
-\bar under
-a
-\bar default
-t\SpecialChar \menuseparator
-Figure
+Options
\family default
-, then right click in the figure and select
+ box in
\family sans
-\bar under
-S
-\bar default
-pan
-\begin_inset space ~
-\end_inset
-
-columns
+Layout\SpecialChar \menuseparator
+Document
\family default
.
\end_layout
-\begin_layout Enumerate
-Enter your caption text.
-\end_layout
+\begin_layout Standard
+\begin_inset ERT
+status open
-\begin_layout Enumerate
-Press
-\family sans
-Return
-\family default
- to move the cursor above the caption.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Enumerate
-Insert your figure
-\end_layout
-\begin_layout Enumerate
-Position the cursor behind the figure and insert a horizontal fill:
-\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
+\backslash
+end{sloppypar}
+\end_layout
-\bar under
-S
-\bar default
-pecial
-\begin_inset space ~
\end_inset
-Character
-\bar under
-\SpecialChar \menuseparator
-H
-\bar default
-orizontal
-\begin_inset space ~
-\end_inset
-Fill
-\family default
-.
\end_layout
-\begin_layout Enumerate
-Switch to LaTeX mode:
-\family sans
-M-c
-\begin_inset space ~
-\end_inset
+\begin_layout Subsubsection
+Things that work, but require more comment
+\end_layout
-t
-\family default
-.
+\begin_layout Standard
+The following items work, but require a little more discussion:
\end_layout
-\begin_layout Enumerate
-Enter
+\begin_layout Itemize
+These items are reserved for use by the journal editors, but you can put
+ them into the LaTeX preamble if you feel compelled to do so:
\family typewriter
\backslash
-parbox[b]{55mm}{
+received
\family default
-.
-
-\series bold
-Do not close the brace!
-\end_layout
-
-\begin_layout Enumerate
-Position the cursor behind the caption text, switch to LaTeX mode and insert
- the closing brace:
-\family sans
-M-c
-\begin_inset space ~
-\end_inset
+,
+\family typewriter
-t
+\backslash
+revised
\family default
-
+,
\family typewriter
-}
-\family default
-.
-\end_layout
-
-\begin_layout Standard
-Also, refer to the figures in the example paper.
-\end_layout
-
-\begin_layout Subsection
-Referee layout
-\end_layout
-\begin_layout Standard
-For submission, the paper has to be formated in a special double-spacing
- layout.
- For this purpose, you have to give the option
-\family typewriter
-referee
+\backslash
+accepted
\family default
- to the documentclass.
- This must be done using the extra class options field in the
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+,
+\family typewriter
-\bar under
-S
-\bar default
-ettings
+\backslash
+ccc
\family default
- dialog.
- Just enter the string
+,
\family typewriter
-referee
+
+\backslash
+cpright
\family default
- there.
+ (all from 2.1.3)
\end_layout
-\begin_layout Subsection
-The example paper
-\end_layout
+\begin_layout Itemize
+These items may be placed in the LaTeX preamble, and are included as blanks
+ in the template file:
+\family typewriter
-\begin_layout Standard
-The
-\family sans
-Examples
+\backslash
+slugcomment
\family default
- directory contains an example paper written with LyX.
- It is the example paper from the original macro package, translated to
- LyX.
- Use it for inspiration, and compare the original LaTeX code with LyX way
- of writing.
-\end_layout
+ (2.1.4),
+\family typewriter
-\begin_layout Section
-AASTeX
-\end_layout
+\backslash
+shorttitle
+\family default
+ (2.1.5),
+\family typewriter
-\begin_layout Standard
-by
-\noun on
-Mike Ressler
+\backslash
+shortauthors
+\family default
+ (2.1.5)
\end_layout
-\begin_layout Subsection
-Introduction
-\end_layout
+\begin_layout Itemize
-\begin_layout Standard
-AASTeX is a set of macros produced by the American Astronomical Society
- to facilitate electronic manuscript submission to the three journals they
- publish: the Astrophysical Journal (including the Letters and Supplement),
- the Astronomical Journal, and the Publications of the Astronomical Society
- of the Pacific.
- LyX has proven to be an excellent tool for generating these documents,
- especially given its equation, citation, and figure handling capabilities.
- LyX requires version 5.0 (or higher) of these macros; preferably 5.2, which
- is the version described here, or higher.
- Versions prior to 5.0 are intended for use with LaTeX2.09 and are fundamentally
- incompatible with LyX.
- The AASTeX package may be downloaded from the AASTeX Web site
-\end_layout
+\family typewriter
-\begin_layout Standard
-\begin_inset VSpace medskip
+\backslash
+email
+\family default
+ (2.3) – can only be used
+\begin_inset Quotes eld
\end_inset
+standalone
+\begin_inset Quotes erd
+\end_inset
+, not in the middle of a paragraph.
+ Use TeX code if you need to embed it.
\end_layout
-\begin_layout Standard
-\align center
-\begin_inset Flex URL
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
+\family typewriter
-http://www.journals.uchicago.edu/AAS/AASTeX
+\backslash
+and
+\family default
+ (2.3) – will have extra {} after it.
+ This should not cause an error.
\end_layout
-\end_inset
-
+\begin_layout Itemize
-\end_layout
+\family typewriter
-\begin_layout Standard
-\begin_inset VSpace medskip
+\backslash
+notetoeditor
+\family default
+ (2.6) – can only be used
+\begin_inset Quotes eld
\end_inset
+standalone
+\begin_inset Quotes erd
+\end_inset
+, not in the middle of a paragraph.
+ Use TeX code if you need to embed it.
\end_layout
-\begin_layout Standard
-A complete user guide is contained in that package and you should familiarize
- yourself with it thoroughly before embarking on writing a paper in LyX.
- LyX will not reduce the need to figure out all the AASTeX commands, it
- will only reduce the drudgery of typing everything in.
- It is your responsibility to ensure that the final exported LaTeX document
- conforms completely to the requirements of the journal to which you are
- submitting your paper.
-\end_layout
-
-\begin_layout Subsection
-Starting a New Paper
-\end_layout
+\begin_layout Itemize
-\begin_layout Standard
-I strongly suggest that you start with the AASTeX template file.
- Click on
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-New from
-\family default
-
-\family sans
-\bar under
-T
-\bar default
-emplate
-\family default
-, enter the new file name, then choose the
-\family typewriter
-aastex.lyx
-\family default
- template.
- This will show the most common fields found in a manuscript.
- Simply overwrite the existing text (including the brackets,
-\family typewriter
-<>
-\family default
-) with the correct information.
- Many of the AASTeX commands and environments can be implemented directly
- in LyX, but some cannot: most noticeably
\family typewriter
\backslash
-altaffilmark
+placetable
\family default
- and
+ (2.8) – can't insert a cross-reference tag, you must type the tag name by
+ hand
+\end_layout
+
+\begin_layout Itemize
+
\family typewriter
\backslash
-altaffiltext
+placefigure
\family default
-, which should stick out like a sore thumb if you actually just opened the
- template file.
- For commands such as these, the LaTeX code must be entered directly and
- marked as such.
- Such commands are referred to as ERT, or Evil Red Text.
- I tried to minimize the amount of ERT needed in an AASTeX document, but
- there is still a bit more required than any of us would like.
-\end_layout
+ (2.8) – same as for
+\family typewriter
-\begin_layout Subsection
-Finishing Your Paper
+\backslash
+placetable
\end_layout
-\begin_layout Standard
-When the paper is finished to your satisfaction and previews/prints correctly,
- there are a few
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Itemize
-postprocessing
-\begin_inset Quotes erd
-\end_inset
+\family typewriter
- actions which need to be done before you submit it to the journals.
-
+\backslash
+acknowledgements
+\family default
+ (2.9) – will have extra {} after it.
+ This should not cause an error.
\end_layout
-\begin_layout Enumerate
-Export your paper as a LaTeX file (
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
+\begin_layout Itemize
-\bar under
-E
-\bar default
-xport\SpecialChar \menuseparator
+\family typewriter
-\bar under
-L
-\bar default
-aTeX
+\backslash
+appendix
\family default
-).
-
+ (2.11) – will have extra {} after it.
+ This should not cause an error.
\end_layout
-\begin_layout Enumerate
-Edit the resulting
-\family typewriter
-.tex
-\family default
- file with your favorite text editor
-\end_layout
+\begin_layout Itemize
-\begin_deeper
-\begin_layout Enumerate
-remove the comment lines before the
\family typewriter
\backslash
-documentclass
+figcaption
\family default
- command
-\end_layout
+ (2.14.2) – you can insert an optional filename argument by placing the cursor
+ at the beginning of the text and selecting
+\family sans
+Insert\SpecialChar \menuseparator
+Short Title
+\family default
+.
+
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Enumerate
-remove the
+Short Title
+\begin_inset Quotes erd
+\end_inset
+
+ inserts an optional argument of the type needed by
\family typewriter
\backslash
-usepackage...{fontenc}
+figcaption
\family default
- line if it appears (usually just after
+.
+ Hopefully it will be renamed someday.
+\end_layout
+
+\begin_layout Itemize
+
\family typewriter
\backslash
-documentclass
+objectname
\family default
-}; also remove the
+ (2.17.1) – same as
\family typewriter
\backslash
-secnumdepth
+figcaption
\family default
- line if it appears.
+ for the catalog ID optional parameter
\end_layout
-\begin_layout Enumerate
-remove everything between (and including) the
+\begin_layout Itemize
+
\family typewriter
\backslash
-makeatletter
+dataset
\family default
- and
+ (2.17.1) – same as
\family typewriter
\backslash
-makeatother
+figcaption
\family default
- commands, except for any commands you specifically put into the LaTeX preamble
- (which should appear immediately after the
-\begin_inset Quotes eld
-\end_inset
-
-User specified LaTeX commands
-\begin_inset Quotes erd
-\end_inset
-
- comment in the
-\family typewriter
-.tex
-\family default
- file).
-\end_layout
-
-\end_deeper
-\begin_layout Enumerate
-Run the resulting file through LaTeX to make sure it still processes correctly.
-\end_layout
-
-\begin_layout Enumerate
-Reread the journal requirements to make sure your filenames and formats
- are correct.
-\end_layout
-
-\begin_layout Enumerate
-Submit it.
-\end_layout
-
-\begin_layout Subsection
-Comments On Specific Commands
-\end_layout
-
-\begin_layout Standard
-I will not describe the detailed usage of the individual AASTeX commands:
- the AASTeX User Guide (
-\family typewriter
-aasguide.tex
-\family default
-) gives a good description of each.
- Thus it's probably easiest for me to go down the list as found in the guide
- and offer comments where necessary.
- So let's begin \SpecialChar \ldots{}
-
-\end_layout
+ for the catalog ID optional parameter
+\end_layout
\begin_layout Subsubsection
-Things that work as expected
+Things not implemented, use TeX code
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Because they work as you might expect, I simply list them and the section
- they are found in:
-\family typewriter
-
-\backslash
-documentclass
-\family default
- (2.1.1),
-\family typewriter
-
-\backslash
-begin{document}
-\family default
- (2.2),
-\family typewriter
-\backslash
-title
-\family default
- (2.3),
\family typewriter
\backslash
-author
+altaffilmark
\family default
(2.3),
\family typewriter
\backslash
-affil
+altaffiltext
\family default
(2.3),
\family typewriter
\backslash
-abstract
-\family default
- (2.4),
-\family typewriter
-
-\backslash
-keywords
-\family default
- (2.5),
-\family typewriter
-
-\backslash
-section
-\family default
- (2.7),
-\family typewriter
-
-\backslash
-subsection
+eqnum
\family default
- (2.7),
+ (2.12),
\family typewriter
\backslash
-subsubsection
+setcounter{equation}
\family default
- (2.7),
+ (2.12), Journal name abbreviations (2.13.4),
\family typewriter
\backslash
-paragraph
+figurenum
\family default
- (2.7),
+ (2.14.1),
\family typewriter
\backslash
-facility
+epsscale
\family default
- (2.10),
+ (2.14.1),
\family typewriter
\backslash
-begin{displaymath}
+plotone
\family default
- (2.12),
+ (2.14.1),
\family typewriter
\backslash
-begin{equation}
+plottwo
\family default
- (2.12),
+ (2.14.1),
\family typewriter
\backslash
-begin{eqnarray}
+tablenum
\family default
- (2.12),
+ (2.15.4),
\family typewriter
\backslash
-begin{mathletters}
+tableline
\family default
- (2.12),
+ (2.15.4, insert it as the first element in the lefthand cell after where
+ you want it.
+ Don't use any of LyX's rules in the table),
\family typewriter
\backslash
-begin{thebibliography}
+tablenotemark
\family default
- (2.13.1),
+ (2.15.5),
\family typewriter
\backslash
-bibitem
+tablenotetext
\family default
- (2.13.2), all the cite commands and their variations (2.13.2), the generic
- graphicx figure commands (2.14.1),
+ (2.15.5), much of Misc (2.17, except
\family typewriter
\backslash
-begin{table}
+objectname
\family default
- (2.15.4),
+,
\family typewriter
\backslash
-begin{tabular}
+dataset
\family default
- (2.15.4),
+,
\family typewriter
\backslash
-caption
+url
\family default
- (2.15.4),
+, and
\family typewriter
\backslash
-label
+email
\family default
- (2.15.4, amongst other places),
+; see above),
\family typewriter
\backslash
-tablerefs
+singlespace
\family default
- (2.15.5),
+ (3.1),
\family typewriter
\backslash
-tablecomments
+doublespace
\family default
- (2.15.5),
+ (3.1),
\family typewriter
\backslash
-url
+onecolumn
\family default
- (2.17.4),
+ (3.2),
\family typewriter
\backslash
-end{document}
-\family default
- (2.18).
-\end_layout
-
-\begin_layout Standard
-The following style options also work correctly:
-\family typewriter
-longabstract
-\family default
- (2.4),
-\family typewriter
-preprint
-\family default
- (3.2.1),
-\family typewriter
-preprint2
-\family default
- (3.2.2),
-\family typewriter
-eqsecnum
-\family default
- (3.3),
-\family typewriter
-flushrt
-\family default
- (3.4).
- Simply put them in the
-\family sans
-Options
-\family default
- box in
-\family sans
-Layout\SpecialChar \menuseparator
-Document
+twocolumn
\family default
-.
+ (3.2)
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsubsection
-Things that work, but require more comment
+Things that cannot be implemented
\end_layout
\begin_layout Standard
-The following items work, but require a little more discussion:
-\end_layout
-
-\begin_layout Itemize
-These items are reserved for use by the journal editors, but you can put
- them into the LaTeX preamble if you feel compelled to do so:
-\family typewriter
+\SpecialChar \ldots{}
+ at least in any meaningful sort of way, so I suggest ignoring them.
+ They are the references environment (2.13.3), and the deluxetable environment
+ (2.15).
+ If you really, really need to use deluxetable, I suggest editing it in
+ a separate file with a text editor, then using
+\family sans
+Insert\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
-\backslash
-received
+Document
\family default
-,
+ to include it in your LyX document.
+ See the
\family typewriter
-
-\backslash
-revised
+aas_sample.lyx
\family default
-,
-\family typewriter
+ file to see an example of this.
+\end_layout
-\backslash
-accepted
-\family default
-,
-\family typewriter
+\begin_layout Subsection
+FAQs, Tips, Tricks, and Other Ruminations
+\end_layout
-\backslash
-ccc
-\family default
-,
-\family typewriter
+\begin_layout Subsubsection
+Getting LyX and AASTeX to cooperate
+\end_layout
-\backslash
-cpright
-\family default
- (all from 2.1.3)
+\begin_layout Standard
+It can be a bit tricky to get LyX to recognize a new layout and document
+ class.
+ When all else fails, do this:
\end_layout
-\begin_layout Itemize
-These items may be placed in the LaTeX preamble, and are included as blanks
- in the template file:
+\begin_layout Enumerate
+Make certain that LaTeX can find AASTeX.
+ Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
+ a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
\family typewriter
-
-\backslash
-slugcomment
+sample.tex
\family default
- (2.1.4),
-\family typewriter
+.
+\end_layout
-\backslash
-shorttitle
+\begin_layout Enumerate
+Make certain that
+\family typewriter
+aastex.layout
\family default
- (2.1.5),
+ appears in LyX's
\family typewriter
-
-\backslash
-shortauthors
+layouts
\family default
- (2.1.5)
+ folder
\end_layout
-\begin_layout Itemize
-
-\family typewriter
+\begin_layout Enumerate
+Rerun
+\family sans
+Tools\SpecialChar \menuseparator
+Reconfigure
+\family default
+ in LyX, then restart LyX.
+\end_layout
-\backslash
-email
+\begin_layout Enumerate
+Open a regular new file, not from a template.
+ Does AASTeX appear in the class list in
+\family sans
+Document\SpecialChar \menuseparator
+Settings
\family default
- (2.3) -- can only be used
+?
+\end_layout
+
+\begin_layout Standard
+If you get a warning from an existing AASTeX document about not being able
+ to find the AASTeX layout or a message about
\begin_inset Quotes eld
\end_inset
-standalone
+You should not mix title layouts with normal ones
\begin_inset Quotes erd
\end_inset
-, not in the middle of a paragraph.
- Use ERT if you need to embed it.
+, things haven't been installed correctly.
\end_layout
-\begin_layout Itemize
+\begin_layout Subsubsection
+LaTeX error processing a table
+\end_layout
-\family typewriter
+\begin_layout Standard
+LyX, by default, attempts to center the table caption/title.
+ This seems to produce a bad interaction in AASTeX so you should click somewhere
+ in the caption/title, then select
+\family sans
+Edit\SpecialChar \menuseparator
+Paragraph
+\begin_inset space ~
+\end_inset
-\backslash
-and
+Settings
\family default
- (2.3) -- will have extra {} after it.
- This should not cause an error.
+, then set the
+\family sans
+Alignment
+\family default
+ to
+\family sans
+Block
+\family default
+.
+ This took care of it for me.
\end_layout
-\begin_layout Itemize
-
-\family typewriter
+\begin_layout Subsubsection
+References
+\end_layout
-\backslash
-notetoeditor
-\family default
- (2.6) -- can only be used
-\begin_inset Quotes eld
+\begin_layout Standard
+A couple of things: 1) I have noticed some funny spacing in the reference
+ entries in the text.
+ When you enter the bibliography item data, make sure their is
+\emph on
+no
+\emph default
+ space between the last author and the parenthesis setting off the year;
+
+\emph on
+e.
+\begin_inset space \thinspace{}
\end_inset
-standalone
-\begin_inset Quotes erd
+g.
+\begin_inset space \space{}
\end_inset
-, not in the middle of a paragraph.
- Use ERT if you need to embed it.
-\end_layout
-
-\begin_layout Itemize
+\emph default
+type
\family typewriter
-
-\backslash
-placetable
+Ressler(1992)
\family default
- (2.8) -- can't insert a cross-reference tag, you must type the tag name
- by hand
-\end_layout
-
-\begin_layout Itemize
-
+, not
\family typewriter
-
-\backslash
-placefigure
+Ressler (1992)
\family default
- (2.8) -- same as for
-\family typewriter
-
-\backslash
-placetable
+.
+ 2) Entering the references at all is not obvious.
+ The easiest thing is to start typing your first reference at the end of
+ the document, then mark it as type
+\family sans
+References
+\family default
+.
+ That will put a small gray box in front of what you just typed.
+ Click on the box to fill in the rest of the information.
+ For new references, go to the end of an existing reference and press return.
+ That will create a new line with its own box, etc.
\end_layout
-\begin_layout Itemize
+\begin_layout Subsubsection
+Including EPS files
+\end_layout
+\begin_layout Standard
+Even though AASTeX provides its own figure commands (
\family typewriter
\backslash
-acknowledgements
+plotone
\family default
- (2.9) -- will have extra {} after it.
- This should not cause an error.
-\end_layout
-
-\begin_layout Itemize
-
+, for example), I much prefer LaTeX's standard figure commands (with the
+ default graphicx).
+ You can insert the
\family typewriter
\backslash
-appendix
+plotone
\family default
- (2.11) -- will have extra {} after it.
- This should not cause an error.
-\end_layout
-
-\begin_layout Itemize
+, etc.
+\begin_inset space ~
+\end_inset
+commands as TeX code into a Figure Float box if you desire, but I never
+ have much luck getting the layout right.
+ With the standard graphics, LyX will insert a
\family typewriter
\backslash
-figcaption
-\family default
- (2.14.2) -- you can insert an optional filename argument by placing the cursor
- at the beginning of the text and selecting
-\family sans
-Insert\SpecialChar \menuseparator
-Short Title
+usepackage{graphicx}
\family default
-.
-
+ command into the LaTeX preamble and handle the figures in the standard
+ LaTeX2e way, interspersing the figures in the text.
+ I believe ApJ accepts figures exactly this way now; AJ might still use
+ the
\begin_inset Quotes eld
\end_inset
-Short Title
+stack everything at the end
\begin_inset Quotes erd
\end_inset
- inserts an optional argument of the type needed by
-\family typewriter
-
-\backslash
-figcaption
-\family default
-.
- Hopefully it will be renamed someday.
+ technique.
\end_layout
-\begin_layout Itemize
-
-\family typewriter
-
-\backslash
-objectname
-\family default
- (2.17.1) -- same as
-\family typewriter
-
-\backslash
-figcaption
-\family default
- for the catalog ID optional parameter
+\begin_layout Subsubsection
+Things I could have done, but didn't
\end_layout
-\begin_layout Itemize
-
-\family typewriter
+\begin_layout Standard
+There are a few
+\begin_inset Quotes eld
+\end_inset
-\backslash
-dataset
-\family default
- (2.17.1) -- same as
-\family typewriter
+pretty
+\begin_inset Quotes erd
+\end_inset
-\backslash
-figcaption
-\family default
- for the catalog ID optional parameter
+ things I could have implemented, but chose not to.
+ For instance, I saw no point in double-spacing the text in the LyX window,
+ even though it is double-spaced in the paper manuscript.
+ Also, I chose not to make separate layouts for the preprint and preprint2
+ styles.
+ Since I assume you will spend most of your time in the plain manuscript
+ mode anyway, I decided not to chew up more disk space with this.
+
\end_layout
-\begin_layout Subsubsection
-Things not implemented, use ERT
+\begin_layout Subsection
+Final Caveat
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
+Your mileage may vary.
+ I've now had papers published by both ApJ and AJ that have had 98% of the
+ effort done in LyX; the last 2% was the LaTeX post-processing and a few
+ cleanups.
+ I have had no trouble with the submission process, and I'm sure the journals
+ were never aware that there might be a difference.
+ So, go forth and publish!
+\end_layout
+\begin_layout Section
+AMS LaTeX
+\end_layout
-\backslash
-begin{sloppypar}
+\begin_layout Standard
+by
+\noun on
+David Johnson; updated by Richard Heck
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
+\noindent
+The AMS LaTeX layouts are set up to conform to suggested styles for mathematical
+ papers to be submitted to American Mathematical Society publications.
+ The layouts are not tailored to a specific journal, but easily can be.
+ You should refer to the AMS documentation for specific instructions for
+ each journal (usually it will entail only changing a single line in the
+ TeX output).
+ That documentation is available on the Web at
+\begin_inset Flex URL
+status open
-\family typewriter
-
-\backslash
-altaffilmark
-\family default
- (2.3),
-\family typewriter
-
-\backslash
-altaffiltext
-\family default
- (2.3),
-\family typewriter
-
-\backslash
-eqnum
-\family default
- (2.12),
-\family typewriter
+\begin_layout Plain Layout
-\backslash
-setcounter{equation}
-\family default
- (2.12), Journal name abbreviations (2.13.4),
-\family typewriter
+http://www.ams.org
+\end_layout
-\backslash
-figurenum
-\family default
- (2.14.1),
-\family typewriter
+\end_inset
-\backslash
-epsscale
-\family default
- (2.14.1),
-\family typewriter
+ or by ftp at
+\begin_inset Flex URL
+status open
-\backslash
-plotone
-\family default
- (2.14.1),
-\family typewriter
+\begin_layout Plain Layout
-\backslash
-plottwo
-\family default
- (2.14.1),
-\family typewriter
+ftp://ftp.ams.org/pub/tex/amslatex/
+\end_layout
-\backslash
-tablenum
-\family default
- (2.15.4),
-\family typewriter
+\end_inset
-\backslash
-tableline
-\family default
- (2.15.4, insert it as the first element in the lefthand cell after where
- you want it.
- Don't use any of LyX's rules in the table),
-\family typewriter
+.
+ These layouts are appropriate, and useful, for any mathematical writing.
+
+\end_layout
-\backslash
-tablenotemark
-\family default
- (2.15.5),
-\family typewriter
+\begin_layout Standard
+There are two basic AMS LaTeX layouts:
+\end_layout
-\backslash
-tablenotetext
-\family default
- (2.15.5), much of Misc (2.17, except
-\family typewriter
+\begin_layout Itemize
+amsart: The standard AMS article format.
+\end_layout
-\backslash
-objectname
-\family default
-,
-\family typewriter
+\begin_layout Itemize
+amsbook: the standard AMS book (really, monograph) format.
+
+\end_layout
-\backslash
-dataset
-\family default
-,
-\family typewriter
+\begin_layout Standard
+The layouts themselves contain only the minimum necessary to use the AMS
+ classes.
+ They do not, in particular, contain any of the `theorem' environments used
+ for setting theorems, lemmas, and the like.
+ These are contained, instead, in the
+\begin_inset Flex CharStyle:Code
+status collapsed
-\backslash
-url
-\family default
-, and
-\family typewriter
+\begin_layout Plain Layout
+Theorems (AMS)
+\end_layout
-\backslash
-email
-\family default
-; see above),
-\family typewriter
+\end_inset
-\backslash
-singlespace
-\family default
- (3.1),
-\family typewriter
+ module, which is loaded by default when when you select one of the AMS
+ classes.
+ (It can also be used with other classes and can be removed, if you would
+ rather use something else.) Less commonly used environments are in the
+\begin_inset Flex CharStyle:Code
+status collapsed
-\backslash
-doublespace
-\family default
- (3.1),
-\family typewriter
+\begin_layout Plain Layout
+Theorems (AMS-Extended)
+\end_layout
-\backslash
-onecolumn
-\family default
- (3.2),
-\family typewriter
+\end_inset
-\backslash
-twocolumn
-\family default
- (3.2)
+ module, which must be loaded manually.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status open
+By default, theorems and the like are numbered consecutively throughout
+ the document, but this may be modified by loading the module
+\begin_inset Flex CharStyle:Code
+status collapsed
\begin_layout Plain Layout
-
-
-\backslash
-end{sloppypar}
+Theorems (Order by Section)
\end_layout
\end_inset
+ or, if you are using
+\begin_inset Flex CharStyle:Code
+status collapsed
+\begin_layout Plain Layout
+book (AMS)
\end_layout
-\begin_layout Subsubsection
-Things that cannot be implemented
+\end_inset
+
+, the module
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+Theorems (Order by Chapter)
\end_layout
-\begin_layout Standard
-\SpecialChar \ldots{}
- at least in any meaningful sort of way, so I suggest ignoring them.
- They are the references environment (2.13.3), and the deluxetable environment
- (2.15).
- If you really, really need to use deluxetable, I suggest editing it in
- a separate file with a text editor, then using
-\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-Chil
-\bar under
-d
-\bar default
+\end_inset
-\begin_inset space ~
+.
+ These will number the results as
+\begin_inset Formula $n.m$
\end_inset
-Document
-\family default
- to include it in your LyX document.
- See the
-\family typewriter
-aas_sample.lyx
-\family default
- file to see an example of this.
-\end_layout
+, where the first number refers to the section (or chapter) and the second
+ refers to the total number of results so far in that section (or chapter).
+ Many environments are also available unnumbered.
+ These are indicated by an asterisk at the end.
+ If you happen to want
+\emph on
+only
+\emph default
+ unnumbered results, the the module
+\begin_inset Flex CharStyle:Code
+status collapsed
-\begin_layout Subsection
-FAQs, Tips, Tricks, and Other Ruminations
+\begin_layout Plain Layout
+Theorems (Starred)
\end_layout
-\begin_layout Subsubsection
-Getting LyX and AASTeX to cooperate
+\end_inset
+
+ provides that option.
\end_layout
\begin_layout Standard
-It can be a bit tricky to get LyX to recognize a new layout and document
- class.
- When all else fails, do this:
-\end_layout
+Note that these modules do not
+\emph on
+have
+\emph default
+ to be used with the AMS classes.
+ It is perfectly possible to use the
+\begin_inset Flex CharStyle:Code
+status collapsed
-\begin_layout Enumerate
-Make certain that LaTeX can find AASTeX.
- Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
- a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
-\family typewriter
-sample.tex
-\family default
-.
+\begin_layout Plain Layout
+Theorems (AMS)
\end_layout
-\begin_layout Enumerate
-Make certain that
-\family typewriter
-aastex.layout
-\family default
- appears in LyX's
-\family typewriter
-layouts
-\family default
- folder
-\end_layout
+\end_inset
-\begin_layout Enumerate
-Rerun
-\family sans
-\bar under
-T
-\bar default
-ools\SpecialChar \menuseparator
+ module, and the others mentioned, with other classes, such as
+\begin_inset Flex CharStyle:Code
+status collapsed
-\bar under
-R
-\bar default
-econfigure
-\family default
- in LyX, then restart LyX.
+\begin_layout Plain Layout
+article
\end_layout
-\begin_layout Enumerate
-Open a regular new file, not from a template.
- Does AASTeX appear in the class list in
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+\end_inset
-\bar under
-S
-\bar default
-ettings
-\family default
-?
-\end_layout
+,
+\begin_inset Flex CharStyle:Code
+status collapsed
-\begin_layout Standard
-If you get a warning from an existing AASTeX document about not being able
- to find the AASTeX layout or a message about
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+report
+\end_layout
-You should not mix title layouts with normal ones
-\begin_inset Quotes erd
\end_inset
-, things haven't been installed correctly.
-\end_layout
+,
+\begin_inset Flex CharStyle:Code
+status collapsed
-\begin_layout Subsubsection
-LaTeX error processing a table
+\begin_layout Plain Layout
+book (KOMA-script)
\end_layout
-\begin_layout Standard
-LyX, by default, attempts to center the table caption/title.
- This seems to produce a bad interaction in AASTeX so you should click somewhere
- in the caption/title, then select
-\family sans
-\bar under
-E
-\bar default
-dit\SpecialChar \menuseparator
-
-\bar under
-P
-\bar default
-aragraph
-\begin_inset space ~
\end_inset
-Settings
-\family default
-, then set the
-\family sans
-Alignment
-\family default
- to
-\family sans
-\bar under
-B
-\bar default
-lock
-\family default
-.
- This took care of it for me.
+, and so forth.
\end_layout
-\begin_layout Subsubsection
-References
+\begin_layout Subsection
+What these layouts provide
\end_layout
\begin_layout Standard
-A couple of things: 1) I have noticed some funny spacing in the reference
- entries in the text.
- When you enter the bibliography item data, make sure their is
-\emph on
-no
-\emph default
- space between the last author and the parenthesis setting off the year;
+There is a long list of included environments provided by these layouts.
+ In AMS-LaTeX, there is, in fact, an opportunity to define an unlimited
+ variety of `theorem' environments.
+ However, the AMS recommends the environments that are available in LyX.
-\emph on
-e.
-\begin_inset space \thinspace{}
-\end_inset
+\end_layout
+
+\begin_layout Standard
+The following environments—as well as the standard environments, such as
+
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Plain Layout
+section
+\end_layout
-g.
-\begin_inset space ~
\end_inset
+,
+\begin_inset Flex CharStyle:Noun
+status collapsed
-\emph default
-type
-\family typewriter
-Ressler(1992)
-\family default
-, not
-\family typewriter
-Ressler (1992)
-\family default
-.
- 2) Entering the references at all is not obvious.
- The easiest thing is to start typing your first reference at the end of
- the document, then mark it as type
-\family sans
-References
-\family default
-.
- That will put a small gray box in front of what you just typed.
- Click on the box to fill in the rest of the information.
- For new references, go to the end of an existing reference and press return.
- That will create a new line with its own box, etc.
+\begin_layout Plain Layout
+bibliography
\end_layout
-\begin_layout Subsubsection
-Including EPS files
-\end_layout
+\end_inset
-\begin_layout Standard
-Even though AASTeX provides its own figure commands (
-\family typewriter
+,
+\begin_inset Flex CharStyle:Noun
+status collapsed
-\backslash
-plotone
-\family default
-, for example), I much prefer LaTeX's standard figure commands (with the
- default graphicx).
- You can insert the
-\family typewriter
+\begin_layout Plain Layout
+title
+\end_layout
-\backslash
-plotone
-\family default
-, etc.
-\begin_inset space ~
\end_inset
-commands as ERT into a Figure Float box if you desire, but I never have
- much luck getting the layout right.
- With the standard graphics, LyX will insert a
-\family typewriter
+,
+\begin_inset Flex CharStyle:Noun
+status collapsed
-\backslash
-usepackage{graphicx}
-\family default
- command into the LaTeX preamble and handle the figures in the standard
- LaTeX2e way, interspersing the figures in the text.
- I believe ApJ accepts figures exactly this way now; AJ might still use
- the
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+author
+\end_layout
-stack everything at the end
-\begin_inset Quotes erd
\end_inset
- technique.
-\end_layout
+, and
+\begin_inset Flex CharStyle:Noun
+status collapsed
-\begin_layout Subsubsection
-Things I could have done, but didn't
+\begin_layout Plain Layout
+date
\end_layout
-\begin_layout Standard
-There are a few
-\begin_inset Quotes eld
\end_inset
-pretty
-\begin_inset Quotes erd
-\end_inset
+—are provided by
+\begin_inset Flex CharStyle:Code
+status collapsed
- things I could have implemented, but chose not to.
- For instance, I saw no point in double-spacing the text in the LyX window,
- even though it is double-spaced in the paper manuscript.
- Also, I chose not to make separate layouts for the preprint and preprint2
- styles.
- Since I assume you will spend most of your time in the plain manuscript
- mode anyway, I decided not to chew up more disk space with this.
-
+\begin_layout Plain Layout
+article (AMS)
\end_layout
-\begin_layout Subsection
-Final Caveat
-\end_layout
+\end_inset
-\begin_layout Standard
-Your mileage may vary.
- I've now had papers published by both ApJ and AJ that have had 98% of the
- effort done in LyX; the last 2% was the LaTeX post-processing and a few
- cleanups.
- I have had no trouble with the submission process, and I'm sure the journals
- were never aware that there might be a difference.
- So, go forth and publish!
+ and
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+book (AMS)
\end_layout
-\begin_layout Section
-ijmpc and ijmpd
+\end_inset
+
+:
\end_layout
-\begin_layout Standard
-by
-\noun on
-Panayotis Papasotiriou
+\begin_layout Description
+Address This should be the author's permanent address.
\end_layout
-\begin_layout Subsection
-Overview
+\begin_layout Description
+Current
+\begin_inset space ~
+\end_inset
+
+Address This should be the author's temporary address at the time of submission,
+ if different from the Address.
\end_layout
-\begin_layout Standard
-The ijmpc package is a set of macros that facilitates electronic manuscript
- submission to the
-\emph on
-International Journal of Modern Physics C
-\emph default
-.
- Similarly, the ijmpd package is for creating manuscripts to be submitted
- to the
+\begin_layout Description
+Email Author's e-mail address
+\end_layout
+
+\begin_layout Description
+URL Author's Web address, if desired.
+\end_layout
+
+\begin_layout Description
+Keywords Key words or phrases used to identify specific topics discussed
+ in the paper.
+\end_layout
+
+\begin_layout Description
+Subjectclass These refer to the AMS Subject Classifications, published and
+ described in
\emph on
-International Journal of Modern Physics D
+Mathematical Reviews
\emph default
.
- Both journals are published by World Scientific.
- The corresponding document classes are named
-\family typewriter
-ws-ijmpc.cls
-\family default
- and
-\family typewriter
-ws-ijmpd.cls
-\family default
-, respectively.
- These files, together with instructions for the authors, can be downloaded
- from the sites
-\begin_inset Flex URL
+ These are also available online at the AMS cites listed above.
+\end_layout
+
+\begin_layout Description
+Thanks
+\end_layout
+
+\begin_layout Description
+Dedicatory
+\end_layout
+
+\begin_layout Description
+Translator
+\end_layout
+
+\begin_layout Standard
+The following environments are provided by both the
+\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
-
-http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
+Theorems
\end_layout
\end_inset
and
-\begin_inset Flex URL
+\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
-
-http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
+Theorems (AMS)
\end_layout
\end_inset
-.
- Both packages are modified versions of the standard
-\begin_inset Quotes eld
-\end_inset
+ modules, in the latter case in both starred (unnumbered) and unstarred
+ (numbered) versions.
+ These same environments are provided only in the starred versions by the
+
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+Theorems (Starred)
+\end_layout
-article
-\begin_inset Quotes erd
\end_inset
- package, and they are almost (but not exactly) identical.
- Most of their features are supported by LyX.
- I have used LyX successfully to write articles submitted to both journals
- without any problem.
+ module:
\end_layout
-\begin_layout Subsection
-Writing a paper
+\begin_layout Theorem
+This is typically used for the statements of major results.
+
\end_layout
-\begin_layout Standard
-As usual, the easiest way to write a paper is to start with a template.
- Click on
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-New from
-\family default
+\begin_layout Corollary*
+This is used for statements which follow fairly directly from previous statement
+s.
+ Again, these can be major results.
-\family sans
-\bar under
-T
-\bar default
-emplate
-\family default
-, then choose the
-\family typewriter
-ijmpc.lyx
-\family default
- or
-\family typewriter
-ijmpd.lyx
-\family default
- template.
- This will give an (almost) empty document that includes the most common
- fields found in a manuscript.
- Simply overwrite the existing text (including the brackets,
-\family typewriter
-<>
-\family default
-) with your text.
- You should keep in mind the following remarks.
\end_layout
-\begin_layout Enumerate
-LyX won't let you change the font size and the page style of the document,
- because such modifications are not allowed by both packages.
+\begin_layout Lemma
+These are smaller results needed to prove other statements.
\end_layout
-\begin_layout Enumerate
-The language of the document should not be changed.
- Before previewing your paper, be sure that the babel package is not used.
- To do this, click on
-\family sans
-\bar under
-T
-\bar default
-ools\SpecialChar \menuseparator
+\begin_layout Proposition
+These are less major results which (hopefully) add to the general theory
+ being discussed.
+\end_layout
-\bar under
-P
-\bar default
-references
-\family default
-, select the
-\family sans
-Lang Opts
-\family default
- tab, deselect the
-\family sans
-\bar under
-U
-\bar default
-se babel
-\family default
- checkbox in the language settings, and click on
-\family sans
-\bar under
-A
-\bar default
-pply
-\family default
- (or
-\family sans
-Save
-\family default
-, if you wish to make this change permanent).
+\begin_layout Conjecture
+These are statements provided without justification, which the author does
+ not know how to prove, but which seem to be true (to the author, at least).
\end_layout
-\begin_layout Enumerate
-The
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Definition*
+Guess what this is for.
+ The font is different for this environment than for the previous ones.
+
+\end_layout
-Keywords
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Example*
+Used for examples illustrating proven results.
+\end_layout
- style must be used to define keywords.
+\begin_layout Problem
+It's not really known what this is for.
+ You should figure it out.
\end_layout
-\begin_layout Enumerate
-The ijmpc package provides a style named
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Exercise*
+Write a description for this one.
+\end_layout
-Classification Codes
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Remark
+This environment is also a type of theorem, usually a lesser sort of observation.
+\end_layout
-, which can be used to define classification codes, such as PACS numbers.
- Note that this facility is not supported by the ijmpd package.
+\begin_layout Claim*
+Often used in the course of giving a proof of a larger result.
\end_layout
-\begin_layout Enumerate
-Several new environments are available:
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Case
+Generally, these are used to break up long arguments, using specific instances
+ of some condition.
+
+\end_layout
-Definition
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Case
+The numbering scheme for cases is on its own, not together with other numbered
+ statements.
+
+\end_layout
-,
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Proof
+At the end of this environment, a QED symbol (usually a square, but it can
+ vary with different styles) is placed.
+ If you want to have other environments within this one—for example, Case
+ environments—and have the QED symbol appear only after them, then the other
+ environments need to be nested within the proof environment.
+ See the section
+\emph on
+Nesting Environments
+\emph default
+ of the
+\emph on
+User's Guide
+\emph default
+ for information on nesting.
+\end_layout
-Step
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+And these environments are provided by
+\begin_inset Flex CharStyle:Code
+status collapsed
-,
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+Theorems (AMS-Extended)
+\end_layout
-Example
-\begin_inset Quotes erd
\end_inset
-,
-\begin_inset Quotes eld
-\end_inset
+:
+\end_layout
-Remark
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Notation
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Theorem
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Proof
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Corollary
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Lemma
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Proposition
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Prop
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Question
-\begin_inset Quotes erd
-\end_inset
-
-,
-\begin_inset Quotes eld
-\end_inset
-
-Claim
-\begin_inset Quotes erd
-\end_inset
-
-, and
-\begin_inset Quotes eld
-\end_inset
-
-Conjecture
-\begin_inset Quotes erd
-\end_inset
-
-.
- Their use is more or less obvious.
- LyX supports all these environments; it will use the proper label, text
- style, and numbering scheme for each of them.
-\end_layout
-
-\begin_layout Enumerate
-Both packages use basic citations; the natbib package should not be used.
- In LyX, citation references are shown as usual; in the output, citations
- are shown as superscripts.
- If you want to use a citation as normal text, you should use the
-\family typewriter
-refcite
-\family default
- command, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.,
-\begin_inset Quotes eld
-\end_inset
-
-See Ref.
-\begin_inset space ~
-\end_inset
-
-
-\family typewriter
-
-\backslash
-refcite{key}
-\family default
-
-\begin_inset Quotes erd
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Enumerate
-There is no
-\begin_inset Quotes eld
-\end_inset
-
-Acknowledgments
-\begin_inset Quotes erd
-\end_inset
-
- section in both packages.
- To put acknowledgments, just use the
-\begin_inset Quotes eld
-\end_inset
-
-Section*
-\begin_inset Quotes erd
-\end_inset
-
- environment.
-\end_layout
-
-\begin_layout Enumerate
-Appendices may be added to the paper,
-\emph on
-after
-\emph default
- the Acknowledgments and
-\shape italic
-before
-\shape default
- the References.
- LyX provides a special environment, called
-\begin_inset Quotes eld
-\end_inset
-
-Appendices Section
-\begin_inset Quotes erd
-\end_inset
-
- which marks the beginning of the appendices.
- This environment should be left blank; it just sends a LaTeX command, but
- nothing is really printed.
- In LyX, the word
-\begin_inset Quotes eld
-\end_inset
-
-Appendix
-\begin_inset Quotes erd
-\end_inset
-
- is printed with blue letters, as a signal that all sections after that
- point are appendices.
- To write an appendix, use the
-\begin_inset Quotes eld
-\end_inset
-
-Appendix
-\begin_inset Quotes erd
-\end_inset
-
- environment.
- LyX will number each appendix with capital letters, as required by both
- journals.
- Note that
-\begin_inset Quotes eld
-\end_inset
-
-Appendices Section
-\begin_inset Quotes erd
-\end_inset
-
-
-\emph on
-must
-\emph default
- be present before the first appendix; if not, all appendices will be numbered
- as normal sections in the output.
-\end_layout
-
-\begin_layout Enumerate
-The ijmpc and the ijmpd packages use the
-\family typewriter
-tbl
-\family default
- command to implement table captions.
- As a result, a table created by LyX is printed correctly, but its caption
- is ignored.
- However, you can use some ERT to overpass this problem, so that captions
- are printed as expected.
- To do so, create a float table as usual, remove the caption, and replace
- it with the ERT
-\family typewriter
-
-\backslash
-tbl{
-\emph on
-your table caption
-\emph default
-}{
-\family default
- (sic); you must also the ERT
-\family typewriter
-}
-\family default
- immediately after the tabular material.
- Study the example table included in the template files to see how this
- trick is implemented.
- Alternatively, If you need table captions, you should implement the whole
- table float in a
-\family typewriter
-.tex
-\family default
- file, then include this file to the LyX document (
-\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-Fil
-\bar under
-e
-\bar default
-\SpecialChar \menuseparator
-Chil
-\bar under
-d
-\bar default
-
-\begin_inset space ~
-\end_inset
-
-Document
-\family default
-).
- Details on how to create a table float can be found in the files
-\family typewriter
-ws-ijmpc.tex
-\family default
- and
-\family typewriter
-ws-ijmpd.tex
-\family default
-, included in the corresponding packages.
-\end_layout
-
-\begin_layout Subsection
-Preparing a paper for submission
-\end_layout
-
-\begin_layout Standard
-Before you submit your paper you must export the LyX document as a LaTeX
- file (
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-E
-\bar default
-xport\SpecialChar \menuseparator
-
-\bar under
-L
-\bar default
-a
-\family default
-T
-\family sans
-eX
-\family default
-)
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-Actually you have the choice between LaTeX (plain) and pdflatex.
- If you intend to use pdflatex to prepare the paper, you should use the
- pdflatex option so that included graphics are converted to PDF format,
- ready for use by pdflatex.
-\end_layout
-
-\end_inset
-
-, then make the following changes to the resulting
-\family typewriter
-.tex
-\family default
- file.
-\end_layout
-
-\begin_layout Enumerate
-Remove the comment lines before the
-\family typewriter
-
-\backslash
-documentclass
-\family default
- command.
-\end_layout
-
-\begin_layout Enumerate
-Remove everything between (and including) the
-\family typewriter
-
-\backslash
-makeatletter
-\family default
- and
-\family typewriter
-
-\backslash
-makeatother
-\family default
- commands, except for any commands you specifically put into the LaTeX preamble.
-\end_layout
-
-\begin_layout Standard
-The modified
-\family typewriter
-.tex
-\family default
- file should be saved and processed through LaTeX as many times as necessary.
- You may also want to check the resulting
-\family typewriter
-.dvi
-\family default
- document.
-\end_layout
-
-\begin_layout Subsection
-Use of ERT
-\end_layout
-
-\begin_layout Standard
-The use of ERT is reduced to two commands, which must be placed at the top
- of the document.
- If you started writing your paper by using the
-\family typewriter
-ijmpc.lyx
-\family default
- or the
-\family typewriter
-ijmpd.lyx
-\family default
- template, the ERT needed is already in its place; you usually don't need
- to delete it.
- You may only modify the first ERT to specify the information printed to
- the top of odd and even pages (authors' names and short paper's title,
- respectively).
- This ERT must have the form
-\family typewriter
-
-\backslash
-markboth{Authors' Names}{Short Paper's Title}
-\family default
-.
-\end_layout
-
-\begin_layout Section
-iopart
-\end_layout
-
-\begin_layout Standard
-by
-\noun on
-Uwe Stöhr
-\end_layout
-
-\begin_layout Subsection
-Overview
-\end_layout
-
-\begin_layout Standard
-The iopart package provides a document class to create electronic manuscript
- submission to the journals published by the Institute of Physics.
- Instructions for the authors how to create a paper using the iopart class
- can be downloaded together with the iopart package from the site
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-ftp://ftp.iop.org/pub/journals/latex2e
-\end_layout
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Subsection
-Writing a paper
-\end_layout
-
-\begin_layout Standard
-The easiest way to write a paper is to start with the file
-\emph on
-IOP-article.lyx
-\emph default
- that is available in LyX's examples files folder.
- Open this file, save it under a new name, and start writing.
- The example file explains how to use the special text environments.
- Here are the most important advices:
-\end_layout
-
-\begin_layout Itemize
-To be able to compile your document to a PDF, PS, or DVI, assure that the
- two options
-\family sans
-Use AMS math package
-\family default
- in the document settings under
-\family sans
-Math Options
-\family default
- are not used!
-\end_layout
-
-\begin_layout Itemize
-
-\size normal
-The title environment defines the kind of your paper.
- So use one of the following environments for the title:
-\end_layout
-
-\begin_deeper
-\begin_layout Itemize
-
-\family sans
-\size normal
-Title
-\family default
- for a Paper
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-\size normal
-Review
-\family default
- for a Review
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-\size normal
-Topical
-\family default
- for a Topical review
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-\size normal
-Comment
-\family default
- for a Comment
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-\size normal
-Note
-\family default
- for a Note
+\begin_layout Criterion*
+A required condition.
\end_layout
-\begin_layout Itemize
-
-\family sans
-\size normal
-Paper
-\family default
- for a Paper (same as Title)
+\begin_layout Algorithm*
+A general procedure to be used.
\end_layout
-\begin_layout Itemize
-
-\family sans
-\size normal
-Prelim
-\family default
- for a Preliminary communication
+\begin_layout Axiom*
+This is a property or statement taken as true within the system being discussed.
\end_layout
-\begin_layout Itemize
+\begin_layout Condition*
+Sometimes used to state a condition assumed within the present context of
+ discussion.
+\end_layout
-\family sans
-\size normal
-Rapid
-\family default
- for a Rapid communication
+\begin_layout Note*
+Similar to a Remark.
\end_layout
-\begin_layout Itemize
+\begin_layout Notation*
+Used for the explanation of, yes, notation.
+\end_layout
-\family sans
-\size normal
-Letter
-\family default
- for a Letter to the editor
+\begin_layout Summary
+Do we really need to tell you?
\end_layout
-\end_deeper
-\begin_layout Itemize
+\begin_layout Acknowledgement*
+Acknowledgement.
+\end_layout
-\size normal
-All title environments except of
-\family sans
-Letter
-\family default
- can have an optional short title.
+\begin_layout Conclusion*
+Sometimes used at the end of a long train of argument.
\end_layout
-\begin_layout Itemize
-There is a general title environment
-\family sans
-Article
-\family default
- which is not directly supported by the LyX.
- This can be used as ERT when your document doesn't fit into one of the
- other title types.
+\begin_layout Fact
+Used in a way similar to Proposition, though perhaps lower on the scale.
\end_layout
\begin_layout Standard
-For more informations like hints for special table and formula formatting,
- look at the IOP author guidelines.
+In addition, the AMS classes automatically provide the AMS LaTeX and AMS
+ fonts packages.
+ They need to be available on your system in order to use these environments.
\end_layout
\begin_layout Section
-Kluwer
+AGU journals (
+\family sans
+aguplus
+\family default
+)
\end_layout
\begin_layout Standard
by
-\noun on
-Panayotis Papasotiriou
+\shape smallcaps
+Martin Vermeer
\end_layout
\begin_layout Subsection
-Overview
+Description
\end_layout
\begin_layout Standard
-The Kluwer package is a set of macros produced by Kluwer Academic Publishers
- that facilitates electronic manuscript submission to the journals they
- publish.
- Most known of them (at least in my domain of interest) are
-\emph on
-Astrophysics and Space Science
-\emph default
- and
-\emph on
-Solar Physics
-\emph default
-, but there are many others (see a complete list at
+These are the layout files for some of the journals of the American Geophysical
+ Society.
+ It is assumed that you have both the AGU's own class files and AGUplus
+ installed (everything to be found at
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
-http://www.wkap.nl/jrnllist.htm/JRNLHOME
+ftp://ftp.agu.org/journals/latex/journals
\end_layout
\end_inset
).
- The Kluwer package may be downloaded from the site
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://www.wkap.nl/kaphtml.htm/STYLEFILES
\end_layout
-\end_inset
-
-.
- A complete user guide is contained in that package (but it can also be
- downloaded separately).
+\begin_layout Subsection
+New styles
\end_layout
\begin_layout Standard
-LyX supports many features of the package but not everything.
- However, the ERT needed is reduced to some
-\begin_inset Quotes eld
-\end_inset
-
-peculiar
-\begin_inset Quotes erd
-\end_inset
-
- commands of the package (see
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "subsec:kluwer_peculiarities"
-
-\end_inset
-
-).
- I have recently used LyX to write an article submitted to the
-\emph on
-Astrophysics and Space Science
-\emph default
- without any problem.
-\end_layout
-
-\begin_layout Subsection
-Writing a paper
+Redefined are
+\family sans
+Paragraph
+\family default
+,
+\family sans
+Paragraph*
+\family default
+.
+ They are still called this in the LyX GUI, though their LaTeX equivalents
+ in the AGU classes are
+\family sans
+Subsubsubsection
+\family default
+ and
+\family sans
+Subsubsubsection*
+\family default
+.
\end_layout
\begin_layout Standard
-The easiest way to write a paper is to start with the Kluwer template file.
- Click on
+Newly defined styles are
\family sans
-File\SpecialChar \menuseparator
-New from
+Left_Header
\family default
-
+,
\family sans
-\bar under
-T
-\bar default
-emplate
+Right_Header
\family default
-, then choose the
-\family typewriter
-kluwer.lyx
+,
+\family sans
+Received
\family default
- template.
- This will give an (almost) empty document that includes the most common
- fields found in a manuscript and a short description of their use.
- As in most templates, simply overwrite the existing text (including the
- brackets,
-\family typewriter
-<>
+,
+\family sans
+Revised
\family default
-) with the correct information.
+,
+\family sans
+Accepted
+\family default
+,
+\family sans
+CCC
+\family default
+,
+\family sans
+PaperId
+\family default
+,
+\family sans
+AuthorAddr
+\family default
+,
+\family sans
+SlugComment
+\family default
+.
+ These are mostly manuscript attributes and defined in the AGU class documentati
+on.
+\end_layout
+
+\begin_layout Standard
+I suspect this is still badly incomplete.
\end_layout
\begin_layout Subsection
-Preparing a paper for submission
+New floats
\end_layout
\begin_layout Standard
-As in the AASTeX package, before you submit your paper to a journal you
- must
-\begin_inset Quotes eld
-\end_inset
-
-postprocess
-\begin_inset Quotes erd
-\end_inset
-
- it as follows.
-\end_layout
-\begin_layout Enumerate
-Export your paper as a LaTeX file.
- To do this, click on
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-E
-\bar default
-xport\SpecialChar \menuseparator
-
-\bar under
-L
-\bar default
-aTeX
+Planotable
+\family default
+ and
+\family sans
+Plate
+\family default
+.
+ We also have a new
+\family sans
+Table_Caption
\family default
.
-
\end_layout
-\begin_layout Enumerate
-Edit the resulting
-\family typewriter
-.tex
-\family default
- file with a text editor and make the following changes
+\begin_layout Subsection
+Supported journals
\end_layout
-\begin_deeper
-\begin_layout Enumerate
-remove the comment lines before the
+\begin_layout Itemize
+
+\emph on
+Journal of Geophysical Research
+\emph default
+:
\family typewriter
-
-\backslash
-documentclass
+jgrga.layout
\family default
- command,
+ — Martin Vermeer
\end_layout
-\begin_layout Enumerate
-remove everything between (and including) the
+\begin_layout Standard
+Add your own, it isn't so hard! Look at the
\family typewriter
-
-\backslash
-makeatletter
+jgrga.layout
\family default
- and
+ example and
\family typewriter
-
-\backslash
-makeatother
+aguplus.inc
\family default
- commands, except for any commands you specifically put into the LaTeX preamble.
+.
+\end_layout
+
+\begin_layout Subsection
+Bugs and things to remember
\end_layout
\begin_layout Standard
-Save the resulting
-\family typewriter
-.tex
+In order to use the new layouts, you must remember to do the following for
+ a new document:
+\end_layout
+
+\begin_layout Enumerate
+
+\emph on
+Turn off babel
+\emph default
+.
+ This can be done in the
+\family sans
+Layout\SpecialChar \menuseparator
+Document
\family default
- file.
+ or
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ menu item.
+ (AGU articles are always in English, right? So
+\emph on
+don't
+\emph default
+ choose a language.)
\end_layout
-\end_deeper
\begin_layout Enumerate
-Run the
+Enter
\family typewriter
-.tex
+jgrga
\family default
- file through LaTeX as many times as necessary (usually up to three).
+ into the document's
+\family sans
+Extra Options
+\family default
+ field.
+ (Yes, this is a bug.)
\end_layout
\begin_layout Enumerate
-View the resulting
+Make sure you use the
\family typewriter
-.dvi
+agu.bst
\family default
- document using, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.,
+ bibliography style, by entering
\family sans
-xdvi
+agu
\family default
-, and check if everything is OK (it should, if you didn't make any mistake).
+ into the second field of the BibTeX inset.
+ None of the standard styles will do.
\end_layout
-\begin_layout Subsection
-\begin_inset Quotes eld
-\end_inset
-
-Peculiarities
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Section
+Broadway
+\end_layout
- of the Kluwer package
-\begin_inset CommandInset label
-LatexCommand label
-name "subsec:kluwer_peculiarities"
+\begin_layout Standard
+by
+\shape smallcaps
+Garst Reese
+\end_layout
-\end_inset
+\begin_layout Subsection
+Introduction
+\end_layout
+\begin_layout Standard
+Broadway is for writing plays.
+ The format is more decorative than Hollywood, and much less standardized.
+ This format should be suitable for workshops.
+\end_layout
+\begin_layout Subsection
+Special problems
\end_layout
\begin_layout Standard
-The Kluwer package has the following
-\begin_inset Quotes eld
-\end_inset
+The same as in Hollywood.
+\end_layout
-peculiarities
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Subsection
+Special features
+\end_layout
-.
+\begin_layout Standard
+Insert the
+\family sans
+Speaker
+\family default
+ names as labels then cross-reference the label to insert the name.
+ The cross-reference dialog will show the current cast of characters.
\end_layout
-\begin_layout Enumerate
-It is possible to write multiple articles in the same LaTeX file
-\begin_inset Foot
-status collapsed
+\begin_layout Subsection
+Paper size and Margins
+\end_layout
-\begin_layout Plain Layout
-I can't imagine any good reason to do this.
+\begin_layout Standard
+USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
\end_layout
-\end_inset
+\begin_layout Subsection
+Environments
+\end_layout
-.
- Each article must be included in the environment
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+The following environments are available.
+ You can use broadway.bind to get the bind keys shown at the right.
+\end_layout
-article
-\begin_inset Quotes erd
+\begin_layout Itemize
+
+\family sans
+Standard
+\begin_inset Newline newline
\end_inset
-.
- Unfortunately, this environment cannot be omitted, even if you write just
- one article.
- Therefore, each article starts with the command
-\family typewriter
-\backslash
-begin{article}
\family default
- and, obviously, ends with the command
-\family typewriter
+You should not have to use this, but it is here for anything that does not
+ fit otherwise.
+\end_layout
-\backslash
-end{article}
-\family default
-.
- Although this can be implemented in LyX, I didn't included it, since it
- looks ugly and can confuse the novice user.
- Therefore, you need to enter them directly and mark them as LaTeX code
- (the well-known
-\begin_inset Quotes eld
+\begin_layout Itemize
+
+\family sans
+Narrative
+\begin_inset space \hfill{}
\end_inset
-ERT
-\begin_inset Quotes erd
+M-z n
+\begin_inset Newline newline
\end_inset
-).
+
+\family default
+Used to describe stage setting and the action.
+ First use of speaker names in all CAPs.
\end_layout
-\begin_layout Enumerate
-Information given at the beginning of the article (i.e., title, subtitle,
- author, institution, running title, running author, abstract and keywords)
- must be included in an environment called
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Itemize
-opening
-\begin_inset Quotes erd
+\family sans
+ACT
+\begin_inset space \hfill{}
\end_inset
-.
- This is not implemented in LyX, so you must enter title, subtitle etc.
-\begin_inset space ~
+M-z a
+\begin_inset Newline newline
\end_inset
-between two ERT lines (
-\family typewriter
-
-\backslash
-begin{opening}
-\family default
- and
-\family typewriter
-\backslash
-end{opening}
\family default
-).
+Automatically numbered.
+ On screen it will be arabic, but will print as Roman.
\end_layout
-\begin_layout Enumerate
-According to the user manual, the label of each bibliography item must be
- written as
-\family typewriter
+\begin_layout Itemize
+
+\family sans
+ACT*
+\begin_inset space \hfill{}
+\end_inset
+
+M-z S at
+\begin_inset Newline newline
+\end_inset
+
-\backslash
-protect
-\backslash
-citeauthoryear{
-\family default
-\emph on
-author(s)
-\family typewriter
-\emph default
-}{
-\family default
-\emph on
-year
-\family typewriter
-\emph default
-}
\family default
-.
-\end_layout
+Subtitle for
+\family sans
+ACT.
-\begin_layout Standard
-The
-\family typewriter
-kluwer.lyx
\family default
- template takes care of all these
-\begin_inset Quotes eld
+ It is just centered text.
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+SCENE
+\begin_inset space \hfill{}
\end_inset
-peculiarities
-\begin_inset Quotes erd
+M-z S-S
+\begin_inset Newline newline
\end_inset
-.
- If you start a new paper using this template you don't need to do anything
- special.
- Just
-\end_layout
-\begin_layout Enumerate
-don't delete the ERT included in the template, and
+\family default
+Not automatically numbered.
+ You supply the number.
+ This is because I couldn't figure out how.
\end_layout
-\begin_layout Enumerate
-copy the example bibliography item included in the template and modify it
- as necessary to enter new bibliography items.
-\end_layout
+\begin_layout Itemize
-\begin_layout Section
-Koma-Script
-\end_layout
+\family sans
+AT_RISE:
+\begin_inset space \hfill{}
+\end_inset
-\begin_layout Standard
-by
-\noun on
-Bernd Rellermeyer
-\end_layout
+M-z S-R
+\begin_inset Newline newline
+\end_inset
-\begin_layout Subsection
-Overview
-\end_layout
-\begin_layout Standard
-The LyX document classes
-\emph on
-article (koma-script)
-\emph default
-,
-\emph on
-report (koma-script)
-\emph default
-,
-\emph on
-book
-\emph default
-
-\emph on
-(koma-script)
-\emph default
-, and
-\emph on
-letter
-\emph default
-
-\emph on
-(koma-script)
-\emph default
- correspond to the LaTeX document classes
-\family typewriter
-scrartcl.cls
-\family default
-,
-\family typewriter
-scrreprt.cls
-\family default
-,
-\family typewriter
-scrbook.cls
-\family default
-, and
-\family typewriter
-scrlettr.cls
\family default
-, resp.
-\begin_inset space ~
+A special case of Narrative to describe the setting and action as the curtain
+ rises.
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Speaker
+\begin_inset space \hfill{}
\end_inset
-of the Koma-Script family.
- They are replacements for the standard document classes
-\family typewriter
-article.cls
-\family default
-,
-\family typewriter
-report.cls
-\family default
-,
-\family typewriter
-book.cls
-\family default
- and
-\family typewriter
-letter.cls
+M-z s
+\begin_inset Newline newline
+\end_inset
+
+
\family default
-, resp., and fit better to European typography conventions in a number of
- points.
+The speaker's (actor's) title, centered in all CAPS.
\end_layout
\begin_layout Itemize
-Standard character size is 11pt in
-\emph on
-article (koma-script)
-\emph default
-,
-\emph on
-report (koma-script)
-\emph default
-, and
-\emph on
-book (koma-script)
-\emph default
-, and 12pt in
-\emph on
-letter (koma-script)
-\emph default
+
+\family sans
+Parenthetical
+\begin_inset space \hfill{}
+\end_inset
+
+M-z p
+\begin_inset Newline newline
+\end_inset
+
+
+\family default
+Instructions to the speaker.
+ The parentheses are automatically inserted.
+ The ( will appear on screen, but both will be in the printed play.
+ This environment is only used within
+\family sans
+Dialogue
+\family default
.
\end_layout
\begin_layout Itemize
-Headings, labels of the description environment, and a number of elements
- of the
-\emph on
-letter (koma-script)
-\emph default
- document class are set in a bold sans serif font.
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-There is a big difference between the bold sans serif old cm fonts and new
- ec fonts, especially in the appearance of headings.
- In comparison, the ec bold sans serif fonts look a bit thin.
- Here the LaTeX package
-\family typewriter
-cmsd.sty by
-\family default
-
-\shape smallcaps
-Walter Schmidt
-\shape default
- helps to produce the
-\begin_inset Quotes eld
+\family sans
+Dialogue
+\begin_inset space \hfill{}
\end_inset
-usual
-\begin_inset Quotes erd
+M-z d
+\begin_inset Newline newline
\end_inset
- appearance when using the ec fonts.
+
+\family default
+What the Speaker says.
\end_layout
+\begin_layout Itemize
+
+\family sans
+CURTAIN
+\begin_inset space \hfill{}
\end_inset
- The numbering of chapter headings is made in the same way as the numbering
- of section headings, that is without the extra line
-\begin_inset Quotes eld
+M-z S-C
+\begin_inset Newline newline
\end_inset
-Chapter\SpecialChar \ldots{}
-\begin_inset Quotes erd
-\end_inset
+\family default
+The curtain comes down.
+\end_layout
+
+\begin_layout Itemize
-.
- In addition, the appearance of the headings can be modified by using a
- number of options (in LyX to be entered in the field
\family sans
-E
-\bar under
-x
-\bar default
-tra
-\begin_inset space ~
+Title
+\begin_inset space \hfill{}
\end_inset
-Options
-\family default
- of the dialog
+M-z S-T
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-\bar under
-L
-\bar default
-ayout\SpecialChar \menuseparator
+Author
+\begin_inset space \hfill{}
+\end_inset
-\bar under
-D
-\bar default
-ocument
-\family default
-).
- A detailed German description of these options can be found in the Koma-Script
- documentation
-\emph on
-scrguide
-\emph default
-.
+M-z S-A
\end_layout
\begin_layout Itemize
-The main means in the Koma-Script document classes to design the type area
- are the options
+
\family sans
-BCOR
-\family default
- and
+Right_Address
+\begin_inset space \hfill{}
+\end_inset
+
+M-z r
+\end_layout
+
+\begin_layout Standard
+Hello there.
+\end_layout
+
+\begin_layout Section
+Dinbrief
+\end_layout
+
+\begin_layout Standard
+The document class
\family sans
-DIV
+dinbrief
\family default
- (in LyX to be entered in the extra class options field in the dialog
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
-
-\bar under
-S
-\bar default
-ettings
+ can be used to type letters according to German conventions.
+ A template file is included in
+\family typewriter
+.../lyx/share/templates
\family default
-).
- They make a clearer modification of page margins possible as do the options
- of the dialog
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+ for you to use as a starting point.
+\end_layout
-\bar under
-S
-\bar default
-ettings
+\begin_layout Section
+EGS journals (
+\family sans
+egs
\family default
-.
- A detailed German description of these and other type area options can
- be found in the Koma-Script documentation
-\emph on
-scrguide
-\emph default
-.
+)
\end_layout
-\begin_layout Itemize
-The LaTeX document classes of the Koma-Script family define a number of
- additional commands.
- Those part of it which makes sense in LyX is implemented in corresponding
- paragraph types.
+\begin_layout Standard
+by
+\shape smallcaps
+Martin Vermeer
+\end_layout
+
+\begin_layout Subsection
+Description
\end_layout
\begin_layout Standard
-A detailed German description of the LaTeX document classes of the Koma-Script
- family can be found in the Koma-Script documentation
-\emph on
-scrguide
-\emph default
-.
-\begin_inset Foot
+This is the layout file for the European Geophysical Society journals.
+ The needed
+\family typewriter
+egs.cls
+\family default
+ can be downloaded from the web site of the EGS under
+\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
-There is an English translation
-\emph on
-screnggu
-\emph default
-, but it is not a complete one.
+
+www.copernicus.org
\end_layout
\end_inset
- The following sections describe only those aspects, which are relevant
- in LyX.
+.
\end_layout
\begin_layout Subsection
-article (koma-script), report (koma-script), and book (koma-script)
+New styles
\end_layout
\begin_layout Standard
-The document classes
-\emph on
-article (koma-script)
-\emph default
-,
-\emph on
-report (koma-script)
-\emph default
-, and
-\emph on
-book
-\emph default
-
-\emph on
-(koma-script)
-\emph default
- are implemented in the layout files
-\family typewriter
-scrartcl.layout
-\family default
-,
-\family typewriter
-scrreprt.layout
-\family default
-, and
-\family typewriter
-scrbook.layout
-\family default
-, resp.
- They contain all the paragraph types of the corresponding standard document
- classes
-\emph on
-article
-\emph default
-,
-\emph on
-report
-\emph default
-, and
-\emph on
-book
-\emph default
-, resp., partly modified, with the exception of the LyX specific
-\family sans
-List
-\family default
--type, which is replaced by the new
+
\family sans
-Labeling
+Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
+ Accepted
\family default
--type having the same functionality.
- Beside the
+,
\family sans
-Labeling
+Offsets
\family default
--Type there is a number of new paragraph types added.
- They are
-\emph on
-not
-\emph default
- part of
-\emph on
-letter (koma-script)
-\emph default
.
+ The current layout file is unfortunately very unmodular and would benefit
+ from using the various
+\family typewriter
+std*.inc
+\family default
+ file inclusions.
\end_layout
-\begin_layout Itemize
+\begin_layout Section
+Elsevier Journals
+\end_layout
-\family sans
-Addpart, Addchap
-\family default
-,
-\family sans
-Addsec
-\family default
-: are equivalents to
-\family sans
-Part*, Chapter*
-\family default
- and
-\family sans
-Section*
-\family default
-, resp., additionally inserting an entry in the table of contents.
-
-\family sans
-Addpart
-\family default
- and
-\family sans
-Addchap
+\begin_layout Standard
+By
+\noun on
+Rod Pinna
+\end_layout
+
+\begin_layout Standard
+Elsevier Science Publishers B.V.
+ provides a standard LaTeX document class (
+\family typewriter
+elsart.cls
\family default
- are not contained in
-\emph on
-article (koma-script)
-\emph default
-.
+) for submitting articles to their various journals.
+ The style file can be downloaded directly from their web site:
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://authors.elsevier.com/
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-Addchap*
-\family default
-,
-\family sans
-Addsec*
-\family default
-: behave exactly as
-\family sans
-Addchap
-\family default
- and
-\family sans
-Addsec
-\family default
-, resp., additionally clearing running heads.
-
-\family sans
-Addchap*
-\family default
- is not contained in
-\emph on
-article (koma-script)
-\emph default
.
-\begin_inset Foot
-status collapsed
+ Instructions are supplied along with the class file, which details the
+ requirements of the publishers.
+ LyX includes package that allows for the use of this class, by a layout
+ and a template file.
+ Installation of the class file is the same as for any other LaTeX package;
+ instructions are provided in the Elsevier documentation.
+\end_layout
-\begin_layout Plain Layout
-There is also an
+\begin_layout Standard
+To make use of
\family typewriter
-
-\backslash
-addpart*
+elsart.cls
\family default
- command in
-\emph on
-book (koma-script)
-\emph default
- and in
-\emph on
-report (koma-script)
-\emph default
-, but since this is identical to
-\family sans
-Part*
+, a file
+\family typewriter
+elsart.layout
\family default
-, is has not been implemented in LyX.
+ is supplied.
+ As the Elsevier class file is based mainly on the standard article class,
+ most of the normal functionality is provided.
+ The Elsevier class defines a number of mathematical environments, which
+ are similar to the AMS environments.
+ These commands are all described in the Elsevier documentation, and are
+ available in LyX.
\end_layout
+\begin_layout Standard
+The easiest way to use the Elsevier style is to base documents on the included
+ template file.
+ It is best not to use options such as fancy headings or the geometry package,
+ as elements such as these are defined by Elsevier in their style file.
+ Ideally, no extra packages except those mentioned in the Elsevier documentation
+ should be used.
+ Essentially, Elsevier require as
+\begin_inset Quotes eld
\end_inset
+clean
+\begin_inset Quotes erd
+\end_inset
+ a LaTeX file as possible, as their intention is to take the supplied file
+ and replace the class file with one for the particular journal to which
+ the paper has been submitted.
+ This also means that not too much time should be spent on the formating
+ of the document.
+ When it comes to be published, this will change anyway.
+ The rest of the usage for this layout is substantially the same as for
+ the normal article class.
+ For details of what Elsevier do and don't allow, refer to their documentation.
\end_layout
-\begin_layout Itemize
-
+\begin_layout Section
+Foils [aka
\family sans
-Minisec
+Foil
\family default
-: generates a heading directly above the following paragraph in the standard
- character size without affecting the structure of the document.
+\noun on
+TeX
+\noun default
+]
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:foiltex"
+
+\end_inset
+
+
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+by
+\noun on
+Allan Rae
+\end_layout
+\begin_layout Subsection
+Introduction
+\end_layout
+
+\begin_layout Standard
+This section describes how to use LyX to make slides for overhead projectors.
+ There are two document classes that can do this: the default slides class
+ and the
\family sans
-Captionabove
-\family default
- and
-\family sans
-Captionbelow
-\family default
- are special captions which respect the different space settings needed
- for captions placed above or below an element (if you follow strict typographic
- rules, you might want to place table captions always above the table).
- You can also use the class option
-\family typewriter
-tablecaptionsabove
-\family default
-, which will switch
-\family sans
-caption
-\family default
- to
-\family sans
-captionabove
-\family default
- for tables and
-\family sans
-captionbelow
+Foil
\family default
- for figures.
- You need at least Koma-Script version 2.8q to use this.
+TeX slides class.
+ This section documents the latter.
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+I'm going to say this again, nice and clear, so that there's no misunderstanding
+:
+\end_layout
-\family sans
-Dictum
-\family default
-: can be used to set a bonmot, e.
-\begin_inset space \thinspace{}
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-g.
-\begin_inset space ~
+
+\end_layout
+
+\begin_layout Standard
+\align center
+
+\size large
+This section documents the class
+\begin_inset Quotes eld
\end_inset
-at the beginning of a chapter.
- If you use the optional argument (
+
\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-Short
-\begin_inset space ~
+slides (FoilTeX)
+\family default
+
+\begin_inset Quotes erd
\end_inset
-Title
-\family default
-), you can insert the dictum's author there.
- Dictum and author are separated by a line.
- You need at least Koma-Script version 2.8q to use this.
-\family sans
-Dictum
-\family default
- is not contained in
\emph on
-article (koma-script)
-\emph default
-.
+only.
\end_layout
\begin_layout Standard
-The following types, together with the standard types
-\family sans
-Title
-\family default
-,
-\family sans
-Author
-\family default
-, and
-\family sans
-Date
-\family default
-, form the title area of the document.
- They must be entered ahead of the first
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you're looking for the documentation for
\begin_inset Quotes eld
\end_inset
-ordinary
+
+\family sans
+slides (default)
+\family default
+
\begin_inset Quotes erd
\end_inset
- paragraph.
-\begin_inset Foot
-status collapsed
+, check out section
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-The corresponding LaTeX commands must appear before the
-\family typewriter
-\backslash
-maketitle
-\family default
- command.
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:slitex"
\end_inset
- When such a type is used more than once, the latter usage overwrites the
- former one, that means, for every type only the latest usage is valid.
- The order of the different types however has, like
-\family sans
-Title
-\family default
-,
+.
+ If your machine doesn't have the
\family sans
-Author
+foils
\family default
-, and
+ class [
+\begin_inset Quotes eld
+\end_inset
+
+
\family sans
-Date
+slides (FoilTeX)
\family default
-, no effect on the appearance of the produced document.
-\end_layout
-\begin_layout Itemize
+\begin_inset Quotes erd
+\end_inset
+] installed, you'll probably have to use the default
\family sans
-Subject
+slides
\family default
-: produces a centered paragraph above the ordinary title (
+ class, which isn't quite as good as
\family sans
-Title
-\family default
-,
+foils.
+\end_layout
+
+\begin_layout Standard
+The
\family sans
-Author
+foils
\family default
-,
+ class is designed for use with version 2.1 of the
\family sans
-Date
+foils.cls
\family default
-) for the subject of the document.
+ LaTeX class file which is now an integral part of LaTeX2e.
+\end_layout
+
+\begin_layout Subsection
+Getting Started
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+Obviously, to use this document class, you need to select
+\begin_inset Quotes eld
+\end_inset
+
\family sans
-Publishers
+slides (FoilTeX)
\family default
-: produces a centered paragraph below the ordinary title (
+
+\begin_inset Quotes erd
+\end_inset
+
+ from the
\family sans
-Title
+Class
\family default
-,
+ entry in the
\family sans
-Author
+Document
+\begin_inset space ~
+\end_inset
+
+Layout
\family default
-,
+ dialog.
+ There are some settings in the
\family sans
-Date
+Document
+\begin_inset space ~
+\end_inset
+
+Layout
\family default
-) for the publishers' name.
+ dialog that you should know about that are specific to this class:
\end_layout
\begin_layout Itemize
-
+Don't change the options
\family sans
-Dedication
+Sides
\family default
-: in
-\emph on
-report (koma-script)
-\emph default
and
-\emph on
-book (koma-script)
-\emph default
- produces a centered paragraph on its own page behind the title page, or
- in
-\emph on
-article (koma-script)
-\emph default
- produces a centered paragraph below the ordinary title (
-\family sans
-Title
-\family default
-,
\family sans
-Author
+Columns
\family default
-,
+ on the
\family sans
-Date
+Document
+\begin_inset space ~
+\end_inset
+
+Layout
\family default
-,
+ dialog.
+ They're ignored by the
\family sans
-Publishers
+foils
\family default
-) for a dedication.
+ class.
\end_layout
\begin_layout Itemize
+The default font size is 20
+\begin_inset space \thinspace{}
+\end_inset
+pt with the other options being 17
+\begin_inset space \thinspace{}
+\end_inset
+
+pt, 25
+\begin_inset space \thinspace{}
+\end_inset
+
+pt and 30
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Itemize
+The default font is
\family sans
-Titlehead
-\family default
-: produces a left aligned paragraph above the ordinary title (
-\family sans
-Title
+sans
\family default
-,
+
\family sans
-Author
+serif
\family default
-,
+ but all math equations are still typeset in the usual roman font.
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Date
+Foil
\family default
-,
+TeX supports A4 and Letter paper sizes as well as a special size for working
+ with 35
+\begin_inset space \thinspace{}
+\end_inset
+
+mm slides.
+ It doesn't support A5, B5, legal or executive paper sizes.
+\end_layout
+
+\begin_layout Itemize
+Don't bother changing the
\family sans
-Subject
+Float Placement
\family default
-) for a document`s head.
+ settings because they are ignored anyway.
+ All floats appear where they are defined in the text.
\end_layout
\begin_layout Itemize
-
+The
\family sans
-Uppertitleback
+Pagestyle
\family default
-: produces in a double-sided print in
-\emph on
-report (koma-script)
-\emph default
- and
+ setting behaves a bit differently for this class.
+
+\family sans
+Foil
+\family default
+TeX provides extensive footer and header capabilities including a user-defined
+ logo.
+ See section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:foilfoot"
+
+\end_inset
+
+ for more details.
+ The title page is treated differently to all other pages in the document
+ and is
\emph on
-book (koma-script)
+always
\emph default
- a left-aligned paragraph at the top of the title page`s back or has no
- effect in a single-sided print or in
+ unnumbered and
\emph on
-article (koma-script)
+always
\emph default
-.
+ has the logo centered at the bottom of the page (if one is defined).
+ The possible page style choices and what they do are as follows:
\end_layout
-\begin_layout Itemize
+\begin_deeper
+\begin_layout Labeling
+\labelwidthstring MMMMMMM
\family sans
-Lowertitleback
+\series bold
+empty
\family default
-: produces in a double-sided print in
-\emph on
-report (koma-script)
-\emph default
- and
-\emph on
-book (koma-script)
-\emph default
- a left-aligned paragraph at the bottom of the title page`s back or has
- no effect in a single-sided print or in
-\emph on
-article (koma-script)
-\emph default
-.
+\series default
+ The final output contains no page numbers, or other headers or footers
+ (except footnotes of course).
+
\end_layout
-\begin_layout Itemize
+\begin_layout Labeling
+\labelwidthstring MMMMMMM
\family sans
-Extratitle
+\series bold
+plain
\family default
-: produces a special
-\begin_inset Quotes eld
-\end_inset
+\series default
+ The final output contains page numbers centered at the bottom of the page.
+ No other headings or footers (other than footnotes).
+\end_layout
-dirty
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Labeling
+\labelwidthstring MMMMMMM
- page ahead of the actual document containing a paragraph without special
- formatting.
+\series bold
+foilheadings
+\series default
+ Page numbers in lower right corner.
+ Additional headers and footers are also shown.
+ This is also the default.
\end_layout
-\begin_layout Standard
-The layout files for the document classes
-\emph on
-article (koma-script)
-\emph default
-,
-\emph on
-report (koma-script)
-\emph default
-, and
-\emph on
-book (koma-script)
-\emph default
- do include the file
-\family typewriter
-scrmacros.inc
+\begin_layout Labeling
+\labelwidthstring MMMMMMM
+
+\series bold
+fancy
+\series default
+ Gives you access to the
+\family sans
+fancyheadings
\family default
-.
- This is thought of as a place to define your own types.
- Copy s
-\family typewriter
-crmacros.inc
+ package although its use with
+\family sans
+Foil
\family default
- in your personal layout directory and edit the file!
+TeX is discouraged by the writer of the
+\family sans
+Foil
+\family default
+TeX package because of some potential page layout clashes.
+\end_layout
+
+\end_deeper
+\begin_layout Subsubsection
+Extra Options
\end_layout
-\begin_layout Subsection
-letter (koma-script)
+\begin_layout Standard
+The following options may be used in the extra class options in the
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status open
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
-\begin_layout Plain Layout
+\series bold
+35mmSlide
+\series default
+ This sets up the page layout for 7.33
+\begin_inset space \thinspace{}
+\end_inset
+in by 11
+\begin_inset space \thinspace{}
+\end_inset
-\backslash
-begin{sloppypar}
+in paper, which is about the same aspect ratio as a 35
+\begin_inset space \thinspace{}
+\end_inset
+
+mm slide, making it a bit easier to work with this medium.
\end_layout
-\end_inset
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
+
+\series bold
+headrule
+\series default
+ Places a rule across the page below the header on every page except the
+ title page.
+\end_layout
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
+\series bold
+footrule
+\series default
+ Places a rule across the page above the footer on every page except the
+ title page.
\end_layout
-\begin_layout Standard
-\noindent
-The document class
-\emph on
-letter (koma-script)
-\emph default
- is implemented in the layout file
-\family typewriter
-scrlettr.layout
-\family default
-.
- It contains all the paragraph types of the corresponding standard document
- class
-\emph on
-letter
-\emph default
-, partly modified, with the exception of the LyX specific types
-\family sans
-LyX-Code
-\family default
- and
-\family sans
-Comment
-\family default
- and the
-\family sans
-List
-\family default
- type, which is replaced by the new
-\family sans
-Labeling
-\family default
- type.
- In addition, it contains, in contrast to the standard document class, the
- standard types
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
+
+\series bold
+dvips
+\series default
+ This is automatically set each time you create a new
\family sans
-LaTeX
+foils
\family default
-,
+ document.
+ This option tells
\family sans
-Quotation
+Foil
\family default
-,
+TeX to use the dvips driver to rotate those pages that are set as landscape
+ foils.
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
+
+\series bold
+landscape
+\series default
+ Simply changes the page dimensions to those of a landscape page but doesn't
+ do any rotation.
+ Thus if you use this option you need to use an external program to rotate
+ each page or feed your paper through your printer as landscape.
+ Note that this option effectively reverses the roles of the
\family sans
-Quote
+Foilhead
\family default
-, and
+ and
\family sans
-Verse
+Rotatefoilhead
\family default
-.
- Furthermore, there are a number of new letter specific types.
+ environments (don't worry these are described in the next section).
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
-\backslash
-end{sloppypar}
+\series bold
+leqno
+\series default
+ Equation numbers on the left.
\end_layout
-\end_inset
+\begin_layout Labeling
+\labelwidthstring MMMMMMx
+\series bold
+fleqn
+\series default
+ Flush-left equations.
+\end_layout
+\begin_layout Subsection
+Supported Environments
\end_layout
\begin_layout Standard
-The appearance of the letter produced by this document class can be controlled
- by a number of LaTeX commands, which you can put in the LaTeX preamble.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-For example, the standard appearance of the letter`s heading, consisting
- of name and address, is quite self-willed.
- An
-\begin_inset Quotes eld
-\end_inset
-
-ordinary
-\begin_inset Quotes erd
-\end_inset
-
- heading is produced by the following LaTeX commands in the preamble:
+Most of the environments commonly supported in other classes are also supported
+ by the
+\family sans
+foils
+\family default
+ class.
+ There are several additional environments provided by
+\family sans
+Foil
+\family default
+TeX as well as a couple added by LyX.
+ The following environments are shared with other classes:
\end_layout
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset ERT
+status open
-\backslash
-firsthead{
-\backslash
-parbox[b]{
-\backslash
-textwidth}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout LyX-Code
- {
-\backslash
-ignorespaces
-\backslash
-fromname
-\backslash
\backslash
-
-\backslash
-ignorespaces
-\backslash
-fromaddress}}
+begin{multicols}{2}
\end_layout
-\begin_layout LyX-Code
+\end_inset
-\backslash
-nexthead{
-\backslash
-parbox[b]{
-\backslash
-textwidth}
-\end_layout
-\begin_layout LyX-Code
- {
-\backslash
-ignorespaces
-\backslash
-fromname
-\backslash
-hfill
-\backslash
-ignorespaces
-\backslash
-pagename
-\backslash
-
-\backslash
-thepage}}
\end_layout
-\end_inset
+\begin_layout Itemize
- A detailed German description of such LaTeX commands can be found in the
- Koma-Script documentation
-\emph on
-scrguide
-\emph default
-.
- With it, the letter's author can produce his personal letter layout.
+\family sans
+Standard
\end_layout
-\begin_layout Standard
-The types
-\family sans
-Letter
-\family default
- and
-\family sans
-Opening
-\family default
- define the beginning of the letter and must be used in every letter.
- To emphasize them in the LyX document class, they are marked with the letter
-
-\shape italic
-L
-\shape default
- or
-\shape italic
-O
-\shape default
-, resp.
-\begin_inset space ~
-\end_inset
+\begin_layout Itemize
-in the left margin.
- It is possible to write any number of letters in one file.
- An
-\family sans
-Opening
-\family default
- type produces a new letter using the same addressee and a
\family sans
-Letter
-\family default
- type produces a new addressee.
- The types
+Itemize
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Closing
-\family default
-,
+Enumerate
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-PS
-\family default
-,
+Description
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-CC
-\family default
-, and
+List
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Encl
-\family default
- are ordinary paragraph types and can also be used several times in one
- and the same letter.
+LyX-Code
\end_layout
\begin_layout Itemize
\family sans
-Letter
-\family default
-: produces a paragraph for the addressee and implicitly defines the beginning
- of the letter.
+Verse
\end_layout
\begin_layout Itemize
\family sans
-Opening
-\family default
-: produces a paragraph for the form of address and implicitly produces a
- new letter.
+Quote
\end_layout
\begin_layout Itemize
\family sans
-Closing
-\family default
-: produces a paragraph for a close.
+Quotation
\end_layout
\begin_layout Itemize
\family sans
-PS
-\family default
-: produces a paragraph for a postscript.
+Title
\end_layout
\begin_layout Itemize
\family sans
-CC
-\family default
-: produces a paragraph for a distribution list.
+Author
\end_layout
\begin_layout Itemize
\family sans
-Encl
-\family default
-: produces a paragraph for enclosures.
+Date
\end_layout
-\begin_layout Standard
-The types
+\begin_layout Itemize
+
\family sans
-Name
-\family default
-,
+Abstract
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Signature
-\family default
-,
+Bibliography
+\end_layout
+
+\begin_layout Itemize
+
\family sans
Address
-\family default
-,
-\family sans
-Telephone
-\family default
-,
-\family sans
-Place
-\family default
-,
-\family sans
-Backaddress
-\family default
-,
-\family sans
-Specialmail
-\family default
-,
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Location
-\family default
-,
+RightAddress
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Title
-\family default
-, and
+Caption
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Subject
-\family default
- are input types provided with a label to enter information, which will
- be processed by the document class.
-\begin_inset Foot
+Comment
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
status open
\begin_layout Plain Layout
-It could be seen as a matter of inconsequence, that the types
-\family sans
-Letter
-\family default
- and
-\family sans
-Opening
-\family default
- described above are not such input types as well.
- Because of the special meaning of those types, however, I have implemented
- them as ordinary paragraph types with a one letter mark in the left margin.
- Moreover, it would affect my feeling of symmetry, if the
-\family sans
-Opening
-\family default
- type and the
-\family sans
-Closing
-\family default
- type had such a serious different appearance.
+
+
+\backslash
+end{multicols}
\end_layout
\end_inset
- The types must be used ahead of the corresponding
-\family sans
-Opening
-\family default
- type.
+
\end_layout
\begin_layout Standard
-An implementation of these types in a WYSIWYG fashion does not seem to make
- sense, because the real appearance of the produced letter does not only
- depend on the usage of the particular type, but also on other factors.
- For example, a signature entered in the
+That is, all the major environments apart from the sectioning environments.
+ Since foils are essentially self-contained sections, with a title and body,
+
\family sans
-Signature
+Foil
\family default
- type will in the standard behavior appear in the produced letter only,
- when in the same letter also a
+TeX provides specific commands for starting new foils and these are:
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Closing
-\family default
- type is used.
- The entered value of the
+Foilhead
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Telephone
-\family default
- type will in the standard behavior not appear in the produced letter at
- all.
- The possibility to design the letter`s heading freely is already indicated
- in a footnote above.
+Rotatefoilhead
\end_layout
\begin_layout Standard
-The input types can also be used as empty paragraphs.
- This makes sense e.
-\begin_inset space \thinspace{}
-\end_inset
+LyX also provides slightly modified versions of these two environments called:
+\end_layout
-g.
-\begin_inset space ~
-\end_inset
+\begin_layout Itemize
-for the
-\family sans
-Signature
-\family default
- type.
- If the
\family sans
-Signature
-\family default
- type is not used at all, in the standard behavior the value of the
+ShortFoilhead
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Name
-\family default
- type is used as signature, whereas if an empty
+ShortRotatefoilhead
+\end_layout
+
+\begin_layout Standard
+and the differences will be explained in the next section.
+\end_layout
+
+\begin_layout Standard
+Since foils are often used in presenting ideas or new theorems and such
+
\family sans
-Signature
+Foil
\family default
- type is used, no signature value is defined.
+TeX also provides a comprehensive box of goodies for presenting them:
\end_layout
\begin_layout Standard
-By using the input types it is possible to write a letter template, containing
- filled input types with your personal dates (name, address, etc.) and empty
- input types for other dates you want to enter.
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{multicols}{2}
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Itemize
\family sans
-Name
-\family default
-: sender's name, in the standard behavior appears as a centered paragraph
- in small caps in the letter`s heading.
+Theorem
\end_layout
\begin_layout Itemize
\family sans
-Signature
-\family default
-: sender's signature, in the standard behavior appears below the
-\family sans
-Closing
-\family default
- type.
- If no
-\family sans
-Signature
-\family default
- type is used, the value of the
-\family sans
-Name
-\family default
- type appears instead.
+Lemma
\end_layout
\begin_layout Itemize
\family sans
-Address
-\family default
-: sender's address, in the standard behavior appears in a centered paragraph
- in the letter`s heading below the sender's name.
+Corollary
\end_layout
\begin_layout Itemize
\family sans
-Telephone
-\family default
-: sender's telephone number, in the standard behavior only sets the LaTeX
- variable
-\family typewriter
-
-\backslash
-telephonenum
-\family default
-.
+Proposition
\end_layout
\begin_layout Itemize
\family sans
-Place
-\family default
-: place of the letter`s making.
+Definition
\end_layout
\begin_layout Itemize
\family sans
-Date
-\family default
-: date of the letter`s making.
-
-\family sans
-Place
-\family default
- and
-\family sans
-Date
-\family default
-, in the standard behavior, produce the place and the date in a right-aligned
- line below the addressee's field.
- If an empty
-\family sans
-Date
-\family default
- type is used, neither place nor date appear, independent of the value of
- the
-\family sans
-Place
-\family default
- type.
- If no
-\family sans
-Date
-\family default
- type is used, the date of the letter `s production is used.
+Proof
\end_layout
\begin_layout Itemize
\family sans
-Backaddress
-\family default
-: sender`s back address, in the standard behavior appears above the addressee's
- field in a small sans serif font.
+Theorem*
\end_layout
\begin_layout Itemize
\family sans
-Specialmail
-\family default
-: special mail information, in the standard behavior appears underlined
- above the addressee's field below the back address.
+Lemma*
\end_layout
\begin_layout Itemize
\family sans
-Location
-\family default
-: additional information, in the standard behavior appears on right side
- below the addressee`s field.
+Corollary*
\end_layout
\begin_layout Itemize
\family sans
-Title
-\family default
-: the letter's title, in the standard behavior appears in a big, bold, sans
- serif font above the subject.
+Proposition*
\end_layout
\begin_layout Itemize
\family sans
-Subject
-\family default
-: the letter's subject, in the standard behavior appears in a bold font
- above the
-\family sans
-Opening
-\family default
- paragraph.
+Definition*
\end_layout
\begin_layout Standard
-The types
-\family sans
-Yourref
-\family default
-,
-\family sans
-Yourmail
-\family default
-,
-\family sans
-Myref
-\family default
-,
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{multicols}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The starred versions are unnumbered while the unstarred versions are numbered.
+ There are also two list environments added by LyX and these are:
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Customer
-\family default
-, and
+TickList
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Invoice
-\family default
- produce a business letter like line above the
+CrossList
+\end_layout
+
+\begin_layout Standard
+
\family sans
-Title
+Foil
\family default
- line containing the fields
-\begin_inset Quotes eld
+TeX provides some powerful header and footer capabilities that are best
+ set in the preamble although they may be set at any point in a document.
+ If you want to change these settings in your document the best place to
+ do so is at the very top of a foil, i.
+\begin_inset space \thinspace{}
\end_inset
-Your ref.
-\begin_inset Quotes erd
-\end_inset
+g.
+\emph on
-,
-\begin_inset Quotes eld
+\begin_inset space \space{}
\end_inset
-Your letter of
-\begin_inset Quotes erd
-\end_inset
-,
-\begin_inset Quotes eld
-\end_inset
+\emph default
+straight after the foilhead.
+\end_layout
-Our ref.
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+For this purpose, the following command styles are provided [
+\shape smallcaps
+Martin Vermeer
+\shape default
+]:
+\end_layout
-,
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+\begin_inset ERT
+status open
-Customer no.
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
-,
-\begin_inset Quotes eld
-\end_inset
-Invoice no.
-\begin_inset Quotes erd
-\end_inset
+\backslash
+begin{multicols}{2}
+\end_layout
-, and
-\begin_inset Quotes eld
\end_inset
-Date
-\begin_inset Quotes erd
-\end_inset
-.
- For the date field, the value of the
-\family sans
-Date
-\family default
- type is used.
- If one of these
-\begin_inset Quotes eld
-\end_inset
+\end_layout
-business letter types
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
- is used, the value of the
\family sans
-Place
-\family default
- type however does not appear, but only the LaTeX variable
-\family typewriter
+My
+\begin_inset space ~
+\end_inset
-\backslash
-fromplace
-\family default
- is set.
- The ordinary output of place and date in a right-aligned line below the
- addressee`s field is suppressed.
- The types are implemented as input types provided with a label and must
- be used ahead of the corresponding
-\family sans
-Opening
-\family default
- type.
+Logo
\end_layout
\begin_layout Itemize
\family sans
-Yourref
-\family default
-: Your ref.
+Restriction
\end_layout
\begin_layout Itemize
\family sans
-Yourmail
-\family default
-: Your letter of.
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
\end_layout
\begin_layout Itemize
\family sans
-Myref
-\family default
-: Our ref.
+Right
+\begin_inset space ~
+\end_inset
+
+Header
\end_layout
\begin_layout Itemize
\family sans
-Customer
-\family default
-: Customer no.
+Left
+\begin_inset space ~
+\end_inset
+
+Header
\end_layout
-\begin_layout Itemize
+\begin_deeper
+\begin_layout Standard
+\begin_inset space ~
+\end_inset
-\family sans
-Invoice
-\family default
-: Invoice no.
-\end_layout
-\begin_layout Subsection
-The new letter class: letter (koma-script v.2)
\end_layout
+\end_deeper
\begin_layout Standard
-by
-\noun on
-Jürgen Spitzmüller
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{multicols}
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
+There are also a few commands provided by
+\family sans
+Foil
+\family default
+TeX that aren't directly supported by LyX but I'll tell you what they do
+ and how to use them in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:unsuppfoils"
+
\end_inset
+.
+\end_layout
+\begin_layout Subsection
+Building a Set of Foils
\end_layout
\begin_layout Standard
-\noindent
-Koma-Script version 2.8 has introduced a new letter class
+This section will give a simple introduction to using the different environments
+ to build a set of foils.
+ If you want to see an example set of foils, take a look at the
\family typewriter
-scrlttr2
+Foils.lyx
\family default
- which supersedes the now unsupported
+ file you find in LyX's
\family typewriter
-scrlettr
+examples
\family default
-.
- It has --- on the LaTeX side --- a completely new interface and is not
- compatible with the old class.
- Therefore, LyX supports both, though it is recommended to use the new class.
+ folder.
+\end_layout
+
+\begin_layout Subsubsection
+Give It a Title Page
\end_layout
\begin_layout Standard
-This class covers the same functionality as
-\emph on
-letter (koma-script),
-\emph default
- and a few more.
- The basic items are
+Unlike other classes that provide
\family sans
-Address
+Title
\family default
- (receiver's address, same as
+,
\family sans
-Letter
+Author
\family default
- in the old layout),
+,
\family sans
-Opening
+Date
\family default
-, and
+ and
\family sans
-Closing
+Abstract
\family default
-.
-
+ environments,
\family sans
-NextAddress
+foils
\family default
- will start a new letter (i.
-\begin_inset space \thinspace{}
-\end_inset
+ creates the title on a page of its own.
+ If you leave out the
+\family sans
+Date
+\family default
+ environment LaTeX will substitute the current date (every time you regenerate
+ the output).
+\end_layout
-e.
-\begin_inset space ~
-\end_inset
+\begin_layout Subsubsection
+Start a New Foil
+\end_layout
-you can write several letters per document).
- New elements are sender's
+\begin_layout Standard
+As I mentioned earlier, there are four ways of starting a new foil.
+ For portrait foils you should use
\family sans
-E-Mail
+Foilhead
\family default
-,
+ or
\family sans
-URL
+ShortFoilhead.
+
\family default
-,
+ The difference between these two environments is the amount of space between
+ the title of the foil (the foilhead) and the body of the foil.
+\end_layout
+
+\begin_layout Standard
+Landscape foils are generated using the
\family sans
-Fax
+Rotatefoilhead
\family default
-,
+ and
\family sans
-Bank
+ShortRotatefoilhead
\family default
- and the possibility to use a
-\family sans
-Logo
+ environments.
+ Again the only difference is the spacing between foilhead and body.
+ Both of the short versions have 0.5 inches less separation between the foilhead
+ and the body.
+
+\end_layout
+
+\begin_layout Standard
+One problem with the support for landscape foils is the requirement that
+ you have to use the
+\family typewriter
+dvips
\family default
- (via
+ driver to generate the PostScript output otherwise the foils won't be rotated.
+ It is possible to get landscape foils even if you haven't got the
+\family typewriter
+dvips
+\family default
+ driver provided you can feed your foils sideways through your printer ;-)
+\end_layout
+
+\begin_layout Subsubsection
+Theorems, Lemmas, Proofs and more
+\end_layout
+
+\begin_layout Standard
+Due to a small bug in LyX you can't have two of the same type of these environme
+nts directly following each other.
+ They must be separated by something.
+ If you try, you will just be extending the previous environment as if you
+ had merged the two environments together.
+ So, how do you get around this problem? The simplest option is to insert
+ some text between the two environments or add a
\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
+LaTeX
+\family default
+ environment between the two with just a
+\begin_inset Quotes eld
+\end_inset
-\bar under
-G
-\bar default
-raphics
+
+\family typewriter
+%
\family default
-) in the header.
+
+\begin_inset Quotes erd
+\end_inset
+
+ in it.
+ This will force LyX to produce two separate environments and hence the
+ correct LaTeX output.
+ An example is provided in the example file included with the LyX distribution.
+ Remember, this problem only occurs if you are trying to place two of the
+ same type of theorem-like environments one directly after the other.
+\end_layout
+
+\begin_layout Subsubsection
+Lists
\end_layout
\begin_layout Standard
-The biggest improvement is, though, that the letter's layout is configurable
- at almost any needs.
- This can be done via the preamble or with a special style file (Letter
- Class Option, extension
-\family typewriter
-*.lco
+You get all the commonly supported list styles found in other classes as
+ well as two new ones.
+ I'll only describe the new ones here.
+ If you want to find out more about the other list environments check out
+ the
+\emph on
+User's Guide.
+
+\emph default
+ If you intend to use itemized lists you might also want to read about the
+
+\family sans
+Itemize
+\begin_inset space ~
+\end_inset
+
+Bullet
+\begin_inset space ~
+\end_inset
+
+Selection
\family default
-), that will be read in as a class option.
-\begin_inset Foot
-status collapsed
+ dialog described above in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:bullet"
+
+\end_inset
+
+.
+\end_layout
-\begin_layout Plain Layout
-The KOMA package comes with some default
-\family typewriter
-*.lco
-\family default
- files.
- There is, for instance, a
-\family typewriter
-DIN.lco
+\begin_layout Standard
+The two new list styles,
+\family sans
+TickList
\family default
- file that follows german typesetting rules, or a
-\family typewriter
-KOMAold.lco
+ and
+\family sans
+CrossList
\family default
- that provides the default layout of the old
-\family typewriter
-scrlettr
+, are designed to make it easier for you to create lists of do's and don'ts
+ or right and wrong by providing dedicated environments that use a tick
+ or a cross as the label of the list.
+ These lists are in fact dedicated variants of the
+\family sans
+Itemize
\family default
- class.
- The latter can be loaded with the class option
+ environment.
+ They do however require that you have the
\family typewriter
-KOMAold
+psnfss
\family default
-, inserted via the
-\family sans
-\bar under
-L
-\bar default
-ayout\SpecialChar \menuseparator
+ packages installed.
+\end_layout
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
-Extra Options
+\begin_layout Subsubsection
+Figures and Tables
+\end_layout
+
+\begin_layout Standard
+
+\family sans
+Foil
\family default
- field.
+TeX redefines the floating tables and figures so that they appear exactly
+ where they are in the text rather than pushing them to the top of the page
+ or to some user specified location.
+ In fact if you change the float placement settings they are simply ignored.
\end_layout
+\begin_layout Subsubsection
+Page Headers and Footers
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:foilfoot"
+
\end_inset
- Have a look at the
-\emph on
-koma-letter2
-\emph default
- template that is included in LyX for examples.
- A detailed description is to be found in the Koma-Script documentation
- (
-\emph on
-scrguide
-\emph default
-).
-\end_layout
-\begin_layout Subsection
-Problems
\end_layout
\begin_layout Standard
-Visualizing the Koma-Script document classes in LyX, the LyX internals cause
- some problems.
-\end_layout
-\begin_layout Itemize
-The chapter number of a
-\family sans
-Chapter
-\family default
- type appears on a line of its own above the chapter heading instead of
- appearing in the same line ahead of it.
- The cause for that is the LyX internal behavior for the labeltype
\family sans
-Counter_Chapter
-\family default
- in the layout file.
-\end_layout
+My
+\begin_inset space ~
+\end_inset
-\begin_layout Itemize
-The headings of the types
-\family sans
-Addchap
+Logo
\family default
and
\family sans
-Addsec
+Restriction
\family default
- are only put in the
+ are two commands used to control the left-footer text string.
+ The first is meant to allow you to include a graphic logo on your foils
+ and defaults to
\begin_inset Quotes eld
\end_inset
-true
+-Typeset by
+\family sans
+Foil
+\family default
+TeX-
\begin_inset Quotes erd
\end_inset
- LaTeX table of contents, but not in the LyX table of contents (
+.
+ While the second is meant to provide a classification for the audience,
+
+\emph on
+e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\emph default
+
+\begin_inset space \space{}
+\end_inset
+
+Confidential.
+ It is empty by default.
+\end_layout
+
+\begin_layout Standard
+The remaining page corners can be filled by
\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+Right
+\begin_inset space ~
+\end_inset
-\bar under
-T
-\bar default
-able
+Footer
+\family default
+ (which defaults to page numbers),
+\family sans
+Right
\begin_inset space ~
\end_inset
-of
+Header
+\family default
+ (top right) and
+\family sans
+Left
\begin_inset space ~
\end_inset
-Contents
+Header
\family default
-).
+ (top left).
\end_layout
-\begin_layout Itemize
-The paragraphs in a
-\emph on
-letter
-\emph default
- document class appear in a skip separation mode, not indented.
- This is the standard behavior, no special LaTeX commands are needed for
- that.
- But in the
+\begin_layout Subsection
+Unsupported
\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
-
-\bar under
-S
-\bar default
-ettings
+Foil
\family default
- dialog the corresponding radio button indicates
+TeX Goodies
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:unsuppfoils"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+All the commands mentioned below need to be set in a
\family sans
-\bar under
-I
-\bar default
-ndent
+LaTeX
\family default
-.
- A
+ environment or as
\family sans
-S
-\bar under
-k
-\bar default
-ip
+TeX
\family default
- value always has the effect that extra LaTeX commands are inserted in the
- document to produce the gap, which is not what is wanted in this case.
+ within another environment.
+\end_layout
+
+\begin_layout Subsubsection
+Lengths
\end_layout
-\begin_layout Section
-Springer Journals (
-\family sans
-svjour
+\begin_layout Standard
+All lengths are adjusted using the
+\family typewriter
+
+\backslash
+setlength{
+\family default
+\emph on
+lengthname
+\family typewriter
+\emph default
+}{
+\family default
+\emph on
+newlength
+\family typewriter
+\emph default
+}
+\family default
+ command.
+ Where
+\emph on
+lengthname
+\emph default
+ should be replaced by the name given to the length you want to change and
+
+\emph on
+newlength
+\emph default
+ is the length value.
+ All lengths should be specified in units of length such as inches (
+\family typewriter
+in
+\family default
+), millimeters (
+\family typewriter
+mm
+\family default
+) or points (
+\family typewriter
+pt
+\family default
+) or relative to some document or font-based length such as
+\family typewriter
+
+\backslash
+textwidth
\family default
-)
+.
+
\end_layout
\begin_layout Standard
-by
-\noun on
-Martin Vermeer
-\end_layout
+It's possible to change the spacing between a foilhead and the body of the
+ foil by adjusting the length specified by
+\family typewriter
-\begin_layout Subsection
-Description
-\end_layout
+\backslash
+foilheadskip
+\family default
+.
+ For example, to make
+\emph on
+all
+\emph default
+ foilheads 0.5
+\begin_inset space \space{}
+\end_inset
-\begin_layout Standard
-These are the layout files for some of the journal formats used by Springer
- Verlag and listed on
-\begin_inset Flex URL
-status collapsed
+in closer to their bodies put the following in the preamble:
+\family typewriter
-\begin_layout Plain Layout
+\backslash
+setlength{
+\backslash
+foilheadskip}{-0.5in}
+\end_layout
-http://www.springer.de/author/tex/help-journals.html
+\begin_layout Standard
+The spacings around floats can be adjusted by setting these lengths:
\end_layout
-\end_inset
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
-, where you should also go to fetch the class files (yes, these are LaTeX2e
- now!).
- It is a modular system: the things common to all journals are implemented
- in
\family typewriter
-svjour.inc
+
+\backslash
+abovefloatskip
\family default
-, which journal-specific layout files (such as, e.
-\begin_inset space \thinspace{}
-\end_inset
+ Separation between the text and the top of the float
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
-g.,
\family typewriter
-svjog.layout
+
+\backslash
+abovecaptionskip
\family default
- for Journal of Geodesy) can include.
+ Separation between the float and the caption
\end_layout
-\begin_layout Standard
-This means that implementing support for any other Springer journal on this
- list is as simple as writing your own
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
+
\family typewriter
-sv
+
+\backslash
+belowcaptionskip
\family default
-<myjournal>
+ Separation between the caption and the following text
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
+
\family typewriter
-.layout
+
+\backslash
+captionwidth
\family default
- file following the outline given in
+ You can make the captions narrower than the surrounding text by adjusting
+ this length.
+ Best done relative to
\family typewriter
-svjog.layout
+
+\backslash
+textwidth
\family default
.
-
\end_layout
\begin_layout Standard
-It is reasonably well tested only for the Journal of Geodesy.
-
-\family typewriter
-svjour
-\family default
- and
-\family typewriter
-svjog
-\family default
- come with the standard LyX distribution.
- Install the relevant class file (downloaded from Springer) in a proper
- directory, reconfigure LaTeX (in the teTeX case by running
+There are also several title page related lengths that you may find useful
+ if you have a long title or several authors:
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
+
\family typewriter
-texhash
+
+\backslash
+abovetitleskip
\family default
-, as root if necessary --- doesn't LyX take care of this?), reconfigure
- LyX and it should work.
+ Separation from headers to
+\family sans
+Title
\end_layout
-\begin_layout Subsection
-New styles
-\end_layout
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
-\begin_layout Standard
-A large number of theorem-like styles ---
+\family typewriter
+
+\backslash
+titleauthorskip
+\family default
+ between
\family sans
-Claim, Conjecture,
+Title
\family default
-
+ and
\family sans
-\SpecialChar \ldots{}
-Theorem
+Author
\family default
-.
+ environments
\end_layout
-\begin_layout Standard
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
+
+\family typewriter
+\backslash
+authorauthorskip
+\family default
+ between multiple
\family sans
-Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
- Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
+Author
\family default
-.
- See the Springer class file documentation for details.
+ lines
\end_layout
-\begin_layout Subsection
-Supported journals
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
+
+\family typewriter
+
+\backslash
+authordateskip
+\family default
+ between the
+\family sans
+Author
+\family default
+ and the
+\family sans
+Date
\end_layout
-\begin_layout Itemize
+\begin_layout Labeling
+\labelwidthstring MMMMMMMMMMM
-\emph on
-Journal of Geodesy
-\emph default
-:
\family typewriter
-svjog.layout
+
+\backslash
+dateabstractskip
+\family default
+ between the
+\family sans
+Date
\family default
- --- Martin Vermeer
+ and the
+\family sans
+Abstract
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+The last length related command affects all the list environments.
+ If you place
+\family typewriter
+\backslash
+zerolistvertdimens
+\family default
+
\emph on
-Probability Theory and Related Fields
+inside
\emph default
-:
+ a list environment then all the vertical spacing between the list items
+ is removed.
+ Note that this is a command not a length so it doesn't require
\family typewriter
-svprobth.layout
-\family default
- --- Jean-Marc Lasgouttes
-\end_layout
-\begin_layout Standard
-Add your own, it isn't so hard!
+\backslash
+setlength
+\family default
+ like the stuff mentioned above.
\end_layout
-\begin_layout Subsection
-Credits
+\begin_layout Subsubsection
+Headers and Footers
\end_layout
\begin_layout Standard
-These files are partly based on the older
+The
\family typewriter
-ejour2.layout
+
+\backslash
+LogoOn
\family default
-, which was again based on a tinkered-with version of an old LaTeX 2.09 style
- file from Springer.
- All this, and the
+ and
\family typewriter
-ejour2
+
+\backslash
+LogoOff
\family default
- layout, are now defunct.
- Jean-Marc Lasgouttes helped out big in making me find my way around the
- LyX layout file mechanism.
-\end_layout
+ commands control whether the logo in the
+\family sans
+MyLogo
+\family default
+ definition appear on a given page.
+ If you put
+\family typewriter
-\begin_layout Subsection
-Bugs
-\end_layout
+\backslash
+LogoOff
+\family default
+ in the preamble then none of the foils will have the logo on them.
+ If you don't want the logo on a particular page place the
+\family typewriter
-\begin_layout Standard
-Probably.
- But probably less than in the old hacked-LaTeX
+\backslash
+LogoOff
+\family default
+ directly after the foilhead of that page and the
\family typewriter
-ejour2
+
+\backslash
+LogoOn
\family default
-.
+ directly after the next foilhead.
\end_layout
\begin_layout Standard
-Limitations e.
-\begin_inset space \thinspace{}
+If you decide to use the
+\family sans
+fancy
+\family default
+ page style setting in the
+\family sans
+Document
+\begin_inset space ~
\end_inset
-g.: does not display the number for theorem-like layouts, just #.
-\end_layout
+Layout
+\family default
+ dialog you should probably add
+\family typewriter
-\begin_layout Section
-AGU journals (
+\backslash
+let
+\backslash
+headwidth
+\backslash
+textwidth
+\family default
+ to your preamble so headers and footers on landscape pages are correctly
+ placed when rotated.
+ This is due to some clashes between the page layouts provided by the
\family sans
-aguplus
+fancyheadings
\family default
-)
+ package and the
+\family sans
+foils
+\family default
+ class.
+\end_layout
+
+\begin_layout Section
+Hollywood (Hollywood spec scripts)
\end_layout
\begin_layout Standard
by
\shape smallcaps
-Martin Vermeer
+Garst Reese
\end_layout
\begin_layout Subsection
-Description
+Introduction
\end_layout
\begin_layout Standard
-These are the layout files for some of the journals of the American Geophysical
- Society.
- It is assumed that you have both the AGU's own class files and AGUplus
- installed (everything to be found at
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-ftp://ftp.agu.org/journals/latex/journals
-\end_layout
+Getting the format of a Hollywood script right is a
+\begin_inset Quotes eld
+\end_inset
+rite of passage.
+\begin_inset Quotes erd
\end_inset
-).
+ It is designed to make the readers focus on content and to be easy and
+ familiar for the actors to read.
+ Each page of a script should be one minute of film.
+ Nothing goes in a script that you cannot see or hear on screen.
+ The courier 12 pt font should be used throughout.
+ No italics.
\end_layout
\begin_layout Subsection
-New styles
+Special problems
\end_layout
\begin_layout Standard
-Redefined are
-\family sans
-Paragraph
-\family default
-,
-\family sans
-Paragraph*
-\family default
-.
- They are still called this in the LyX GUI, though their LaTeX equivalents
- in the AGU classes are
-\family sans
-Subsubsubsection
-\family default
- and
+Speakers' lines should NEVER break in mid-sentence.
+ If a speaker's lines continue over a page break, repeat the
\family sans
-Subsubsubsection*
+Speaker
\family default
-.
+ title followed by (Cont'd).
+\end_layout
+
+\begin_layout Subsection
+Special features
\end_layout
\begin_layout Standard
-Newly defined styles are
-\family sans
-Left_Header
-\family default
-,
-\family sans
-Right_Header
-\family default
-,
-\family sans
-Received
-\family default
-,
-\family sans
-Revised
-\family default
-,
-\family sans
-Accepted
-\family default
-,
-\family sans
-CCC
-\family default
-,
-\family sans
-PaperId
-\family default
-,
-\family sans
-AuthorAddr
-\family default
-,
+Insert the
\family sans
-SlugComment
+Speaker
\family default
-.
- These are mostly manuscript attributes and defined in the AGU class documentati
-on.
+ names as labels then cross-reference the label to insert the name.
+ The cross-reference dialog will show the current cast of characters.
+ You can use this to insert the speaker name in narratives also.
+\end_layout
+
+\begin_layout Subsection
+Paper size and Margins
\end_layout
\begin_layout Standard
-I suspect this is still badly incomplete.
+USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
\end_layout
\begin_layout Subsection
-New floats
+Environments
\end_layout
\begin_layout Standard
+The following environments are available.
+ You can use hollywood.bind to get the bind keys shown at the right.
+\end_layout
+
+\begin_layout Itemize
\family sans
-Planotable
-\family default
- and
-\family sans
-Plate
-\family default
-.
- We also have a new
-\family sans
-Table_Caption
-\family default
-.
-\end_layout
+Standard
+\begin_inset Newline newline
+\end_inset
-\begin_layout Subsection
-Supported journals
+
+\family default
+Used where nothing else works.
+ Try to avoid it.
\end_layout
\begin_layout Itemize
-\emph on
-Journal of Geophysical Research
-\emph default
-:
-\family typewriter
-jgrga.layout
+\family sans
+FADE_IN
\family default
- --- Martin Vermeer
-\end_layout
+:
+\begin_inset space \hfill{}
+\end_inset
-\begin_layout Standard
-Add your own, it isn't so hard! Look at the
-\family typewriter
-jgrga.layout
-\family default
- example and
-\family typewriter
-aguplus.inc
+
+\family sans
+M-z S-I
\family default
-.
-\end_layout
-\begin_layout Subsection
-Bugs and things to remember
-\end_layout
+\begin_inset Newline newline
+\end_inset
+
+Usually followed by something like
+\begin_inset Quotes eld
+\end_inset
+
+on Sally waking up.
+\begin_inset Quotes erd
+\end_inset
+
-\begin_layout Standard
-In order to use the new layouts, you must remember to do the following for
- a new document:
\end_layout
-\begin_layout Enumerate
+\begin_layout Itemize
-\emph on
-Turn off babel
-\emph default
-.
- This can be done in the
-\family sans
-layout\SpecialChar \menuseparator
-document
-\family default
- or
\family sans
-document\SpecialChar \menuseparator
-settings
-\family default
- menu item.
- (AGU articles are always in English, right? So
-\emph on
-don't
-\emph default
- choose a language.)
-\end_layout
+INT:
+\begin_inset space \hfill{}
+\end_inset
+
+M-z i
+\begin_inset Newline newline
+\end_inset
+
-\begin_layout Enumerate
-Enter
-\family typewriter
-jgrga
-\family default
- into the document's
-\family sans
-Extra Options
\family default
- field.
- (Yes, this is a bug.)
+Introduces a new INTERIOR camera set-up.
+ Always followed by DAY or NIGHT, or something similar to define the lighting
+ required.
+ Everthing on this line in CAPS.
\end_layout
-\begin_layout Enumerate
-Make sure you use the
-\family typewriter
-agu.bst
-\family default
- bibliography style, by entering
+\begin_layout Itemize
+
\family sans
-agu
+EXT:
+\begin_inset space \hfill{}
+\end_inset
+
+M-z e
+\begin_inset Newline newline
+\end_inset
+
+
\family default
- into the second field of the BibTeX inset.
- None of the standard styles will do.
+Introduces a new EXTERIOR camera set-up.
+ Everthing on this line in CAPS.
\end_layout
-\begin_layout Section
-EGS journals (
+\begin_layout Itemize
+
\family sans
-egs
-\family default
-)
-\end_layout
+Speaker
+\begin_inset space \hfill{}
+\end_inset
-\begin_layout Standard
-by
-\shape smallcaps
-Martin Vermeer
-\end_layout
+M-z s
+\begin_inset Newline newline
+\end_inset
-\begin_layout Subsection
-Description
-\end_layout
-\begin_layout Standard
-This is the layout file for the European Geophysical Society journals.
- The needed
-\family typewriter
-egs.cls
\family default
- can be downloaded from the web site of the EGS under
-\begin_inset Flex URL
-status collapsed
+The character speaking.
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Itemize
-www.copernicus.org
-\end_layout
+\family sans
+Parenthetical
+\begin_inset space \hfill{}
+\end_inset
+M-z p
+\begin_inset Newline newline
\end_inset
-.
-\end_layout
-\begin_layout Subsection
-New styles
+\family default
+Instructions to the speaker.
+ The () are automatically inserted, but only the ( will show in LyX.
+ Both will be printed.
\end_layout
-\begin_layout Standard
+\begin_layout Itemize
\family sans
-Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
- Accepted
+Dialogue
+\begin_inset space \hfill{}
+\end_inset
+
+M-z d
+\begin_inset Newline newline
+\end_inset
+
+
\family default
-,
+What the
\family sans
-Offsets
-\family default
-.
- The current layout file is unfortunately very unmodular and would benefit
- from using the various
-\family typewriter
-std*.inc
+Speaker
\family default
- file inclusions.
+ says.
\end_layout
-\begin_layout Section
-Slides [aka
-\noun on
-Sli
-\noun default
-TeX]
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:slitex"
+\begin_layout Itemize
+\family sans
+Transition
+\begin_inset space \hfill{}
\end_inset
+M-z t
+\begin_inset Newline newline
+\end_inset
-\end_layout
-\begin_layout Standard
-by
-\noun on
-John Weiss
-\noun default
-
-\end_layout
+\family default
+Camera movement instruction.
+ e.
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Subsection
-Introduction
+g.
+\begin_inset space \space{}
+\end_inset
+
+CUT TO:
\end_layout
-\begin_layout Standard
-This section describes how to use LyX to make slides for overhead projectors.
- There are two document classes that can do this: the default slides class
- and the
+\begin_layout Itemize
+
\family sans
-Foil
-\family default
-TeX slides class.
- This section documents the former.
-\end_layout
+FADE OUT:
+\begin_inset space \hfill{}
+\end_inset
-\begin_layout Standard
-I'm going to say this again, nice and clear, so that there's no misunderstanding
-:
+M-z S-I
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\begin_layout Itemize
+\family sans
+Author
+\begin_inset space \hfill{}
+\end_inset
+M-z S-A
\end_layout
-\begin_layout Standard
-\align center
+\begin_layout Itemize
-\size large
-This section documents the class
-\begin_inset Quotes eld
+\family sans
+Title
+\begin_inset space \hfill{}
\end_inset
+M-z S-T
+\end_layout
+
+\begin_layout Itemize
\family sans
-slides (default)
-\family default
-
-\begin_inset Quotes erd
+Right_Address
+\begin_inset space \hfill{}
\end_inset
-
-\emph on
-only.
+M-z r
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\begin_layout Subsection
+Script jargon
+\end_layout
+\begin_layout Itemize
+(O.S) — off screen
+\end_layout
+\begin_layout Itemize
+(V.0) — voice over
\end_layout
-\begin_layout Standard
-If you're looking for the documentation for
-\begin_inset Quotes eld
+\begin_layout Itemize
+b.
+\begin_inset space \thinspace{}
\end_inset
+g.
+ — background
+\end_layout
-\family sans
-slides (FoilTeX)
-\family default
+\begin_layout Itemize
+C.U.
+ — close-up
+\end_layout
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
+PAN — camera movement
+\end_layout
-, check out section
-\begin_inset space ~
-\end_inset
+\begin_layout Itemize
+INSERT — cut to close-up of
+\end_layout
+\begin_layout Section
+ijmpc and ijmpd
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:foiltex"
+\begin_layout Standard
+by
+\noun on
+Panayotis Papasotiriou
+\end_layout
-\end_inset
+\begin_layout Subsection
+Overview
+\end_layout
+\begin_layout Standard
+The ijmpc package is a set of macros that facilitates electronic manuscript
+ submission to the
+\emph on
+International Journal of Modern Physics C
+\emph default
.
- The
-\family sans
-foils
+ Similarly, the ijmpd package is for creating manuscripts to be submitted
+ to the
+\emph on
+International Journal of Modern Physics D
+\emph default
+.
+ Both journals are published by World Scientific.
+ The corresponding document classes are named
+\family typewriter
+ws-ijmpc.cls
\family default
- class [
-\begin_inset Quotes eld
-\end_inset
+ and
+\family typewriter
+ws-ijmpd.cls
+\family default
+, respectively.
+ These files, together with instructions for the authors, can be downloaded
+ from the sites
+\begin_inset Flex URL
+status collapsed
+\begin_layout Plain Layout
-\family sans
-slides (FoilTeX)
-\family default
+http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
+\end_layout
-\begin_inset Quotes erd
\end_inset
-] is actually somewhat better than the default
-\family sans
-slides
-\family default
- class,
-\begin_inset Foot
+ and
+\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
-\SpecialChar \ldots{}
-or so I've been told repeatedly by its advocates.
- Having never used it, I have no idea if this claim is true or not.
+
+http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
\end_layout
\end_inset
- which this section documents.
-\end_layout
-
-\begin_layout Standard
-This class is the LaTeX2e improvement of the old
-\noun on
-Sli
-\noun default
-TeX package.
- Every LaTeX2e distribution includes this class [which I'll just refer to
- as
+.
+ Both packages are modified versions of the standard
\begin_inset Quotes eld
\end_inset
-
-\family sans
-slides
-\family default
-
+article
\begin_inset Quotes erd
\end_inset
- from now on], so you're bound to have it.
- As I noted earlier, there are other classes, such as
-\family sans
-foils
-\family default
-, which also produce slides for overhead projectors and do a better job
- at it.
- However, there are some things which
-\family sans
-slides
-\family default
- can do which the others can't, such as generate overlays.
- Read on to learn more!
+ package, and they are almost (but not exactly) identical.
+ Most of their features are supported by LyX.
+ I have used LyX successfully to write articles submitted to both journals
+ without any problem.
\end_layout
\begin_layout Subsection
-Getting Started
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:slidesetup"
-
-\end_inset
-
-
+Writing a paper
\end_layout
\begin_layout Standard
-Obviously, to use this document class, you need to select
-\begin_inset Quotes eld
-\end_inset
-
-
+As usual, the easiest way to write a paper is to start with a template.
+ Click on
\family sans
-slides (default)
+File\SpecialChar \menuseparator
+New from
\family default
-
-\begin_inset Quotes erd
-\end_inset
-
- from the class list in the
+
\family sans
\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
-
-\bar under
-S
+T
\bar default
-ettings
+emplate
\family default
- dialog.
- There are some other special things you should know about this class:
-\end_layout
-
-\begin_layout Itemize
-Don't bother changing the options
-\family sans
-Sides and Columns
+, then choose the
+\family typewriter
+ijmpc.lyx
\family default
-.
- They're not supported by the
-\family sans
-slides
+ or
+\family typewriter
+ijmpd.lyx
\family default
- class, anyways.
-\end_layout
-
-\begin_layout Itemize
-The option
-\family sans
-\bar under
-P
-\bar default
-age
-\begin_inset space ~
-\end_inset
-
-style
+ template.
+ This will give an (almost) empty document that includes the most common
+ fields found in a manuscript.
+ Simply overwrite the existing text (including the brackets,
+\family typewriter
+<>
\family default
- behaves a bit differently for this class.
- The possible choices and what they do are as follows:
+) with your text.
+ You should keep in mind the following remarks.
\end_layout
-\begin_deeper
-\begin_layout Description
-
-\family sans
-plain
-\family default
- The final output contains page numbers in the lower right corner.
+\begin_layout Enumerate
+LyX won't let you change the font size and the page style of the document,
+ because such modifications are not allowed by both packages.
\end_layout
-\begin_layout Description
-
+\begin_layout Enumerate
+The language of the document should not be changed.
+ Before previewing your paper, be sure that the babel package is not used.
+ To do this, click on
\family sans
-headings
+Tools\SpecialChar \menuseparator
+Preferences
\family default
- Like
+, select the
\family sans
-plain
+Lang Opts
\family default
-, but also prints out any time markers you've put in.
- This is the default.
-\end_layout
-
-\begin_layout Description
-
+ tab, deselect the
\family sans
-empty
+Use babel
\family default
- The final output contains no page numbers, time markers, or alignment markers.
-\end_layout
-
-\end_deeper
-\begin_layout Itemize
-The
+ checkbox in the language settings, and click on
\family sans
-slides
-\family default
- class has an extra option:
-\family typewriter
-clock
-\family default
-.
- To use it, put
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-clock
+Apply
\family default
-
-\begin_inset Quotes erd
-\end_inset
-
- in the extra class options.
-\end_layout
-
-\begin_deeper
-\begin_layout Standard
-Using this options allows you to add time markers to
+ (or
\family sans
-Note
+Save
\family default
-s.
- See section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:slideNote"
-
-\end_inset
-
- for more details.
+, if you wish to make this change permanent).
\end_layout
-\end_deeper
-\begin_layout Standard
-You can also use the template file
+\begin_layout Enumerate
+The
\begin_inset Quotes eld
\end_inset
-
-\family typewriter
-slides.lyx
-\family default
-
+Keywords
\begin_inset Quotes erd
\end_inset
- to automatically set up a document to use the
-\family sans
-slides
-\family default
- class [using
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-New
-\begin_inset space ~
-\end_inset
+ style must be used to define keywords.
+\end_layout
-from
-\begin_inset space ~
+\begin_layout Enumerate
+The ijmpc package provides a style named
+\begin_inset Quotes eld
\end_inset
+Classification Codes
+\begin_inset Quotes erd
+\end_inset
-\bar under
-T
-\bar default
-emplate
-\family default
- to open your new document].
- The template file also contains some examples of the special paragraph
- environments used by this class.
- I'll describe those next.
+, which can be used to define classification codes, such as PACS numbers.
+ Note that this facility is not supported by the ijmpd package.
\end_layout
-\begin_layout Subsection
-Paragraph Environments
-\end_layout
+\begin_layout Enumerate
+Several new environments are available:
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Subsubsection
-Supported Environments
-\end_layout
+Definition
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-The first thing you'll notice when you start up a new
-\family sans
-slides
-\family default
- document is the font size and type: it's the equivalent of the size
+,
\begin_inset Quotes eld
\end_inset
+Step
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Largest
-\family default
+,
+\begin_inset Quotes eld
+\end_inset
+Example
\begin_inset Quotes erd
\end_inset
- in the
-\family sans
-Sans
-\begin_inset space ~
+,
+\begin_inset Quotes eld
\end_inset
-Serif
-\family default
- font.
- This is also what's used in the output.
- Think of this as a
+Remark
+\begin_inset Quotes erd
+\end_inset
+
+,
\begin_inset Quotes eld
\end_inset
-visual cue
+Notation
\begin_inset Quotes erd
\end_inset
- to remind you that this is a slide.
- Your final slides will use a larger font; ergo, you'll have less space.
- Of course, the larger default screen font isn't WYSIWYG, only a reminder.
-\end_layout
-
-\begin_layout Standard
-The next thing that becomes obvious is the changes to the paragraph environment
- pull-down box [at the far-left end of the toolbar].
- Most of the paragraph environments you're used to seeing are missing.
- There are also five new ones.
- That's because the
-\family sans
-slides
-\family default
- class itself only supports certain paragraph environments:
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Theorem
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Standard
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Proof
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Itemize
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Corollary
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Enumerate
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Lemma
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Description
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Proposition
+\begin_inset Quotes erd
+\end_inset
-\family sans
-List
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Prop
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Quotation
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Question
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Quote
-\end_layout
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Claim
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Verse
-\end_layout
+, and
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Conjecture
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Caption
+.
+ Their use is more or less obvious.
+ LyX supports all these environments; it will use the proper label, text
+ style, and numbering scheme for each of them.
\end_layout
-\begin_layout Itemize
+\begin_layout Enumerate
+Both packages use basic citations; the natbib package should not be used.
+ In LyX, citation references are shown as usual; in the output, citations
+ are shown as superscripts.
+ If you want to use a citation as normal text, you should use the
+\family typewriter
+refcite
+\family default
+ command, e.
+\begin_inset space \thinspace{}
+\end_inset
-\family sans
-LyX-Code
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Itemize
-\family sans
-Comment
-\end_layout
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Standard
-All of the other standard environments, including the section-heading environmen
-ts, aren't used in the
-\family sans
-slides
-\family default
- class.
-\end_layout
+See Ref.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Standard
-On the other hand, you'll notice the following new environments:
-\end_layout
-\begin_layout Itemize
+\family typewriter
-\family sans
-Slide
-\end_layout
+\backslash
+refcite{key}
+\family default
-\begin_layout Itemize
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Overlay
+.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Note
-\end_layout
+\begin_layout Enumerate
+There is no
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Acknowledgments
+\begin_inset Quotes erd
+\end_inset
-\family sans
-InvisibleText
-\end_layout
+ section in both packages.
+ To put acknowledgments, just use the
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+Section*
+\begin_inset Quotes erd
+\end_inset
-\family sans
-VisibleText
+ environment.
\end_layout
-\begin_layout Standard
-These five are kind of quirky, due to a
+\begin_layout Enumerate
+Appendices may be added to the paper,
+\emph on
+after
+\emph default
+ the Acknowledgments and
+\shape italic
+before
+\shape default
+ the References.
+ LyX provides a special environment, called
\begin_inset Quotes eld
\end_inset
-feature
+Appendices Section
\begin_inset Quotes erd
\end_inset
- in LyX.
- You see, LyX doesn't permit you to nest any other paragraph environment
- into an empty environment.
- Now, that's fine and dandy, but it means that you wouldn't be able to start
- a slide with anything except plain text.
- To deal with this, I've performed a little
+ which marks the beginning of the appendices.
+ This environment should be left blank; it just sends a LaTeX command, but
+ nothing is really printed.
+ In LyX, the word
\begin_inset Quotes eld
\end_inset
-LaTeX magic.
+Appendix
\begin_inset Quotes erd
\end_inset
-
-\end_layout
+ is printed with blue letters, as a signal that all sections after that
+ point are appendices.
+ To write an appendix, use the
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Subsubsection
-Quirks of the New Environments
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:slideQuirk"
+Appendix
+\begin_inset Quotes erd
+\end_inset
+ environment.
+ LyX will number each appendix with capital letters, as required by both
+ journals.
+ Note that
+\begin_inset Quotes eld
\end_inset
+Appendices Section
+\begin_inset Quotes erd
+\end_inset
+
+\emph on
+must
+\emph default
+ be present before the first appendix; if not, all appendices will be numbered
+ as normal sections in the output.
\end_layout
-\begin_layout Standard
-All five of the new paragraph environments are somewhat quirky due to inherent
- limitiations in the current version of LyX.
- As I just mentioned, LyX forbids environments that begin with another environme
-nt.
- To get around this, the
-\family sans
-Slide
+\begin_layout Enumerate
+The ijmpc and the ijmpd packages use the
+\family typewriter
+tbl
\family default
- environment isn't a paragraph environment as described in the
+ command to implement table captions.
+ As a result, a table created by LyX is printed correctly, but its caption
+ is ignored.
+ However, you can use some TeX code to overpass this problem, so that captions
+ are printed as expected.
+ To do so, create a float table as usual, remove the caption, and replace
+ it with the TeX code
+\family typewriter
+
+\backslash
+tbl{
\emph on
-User's Guide
+your table caption
\emph default
-.
-
-\end_layout
-
-\begin_layout Standard
-You should consider
-\family sans
-Slide
+}{
\family default
-,
-\family sans
-Overlay
+ (sic); you must also the TeX code
+\family typewriter
+}
\family default
-, and
-\family sans
-Note
+ immediately after the tabular material.
+ Study the example table included in the template files to see how this
+ trick is implemented.
+ Alternatively, If you need table captions, you should implement the whole
+ table float in a
+\family typewriter
+.tex
\family default
- to be
-\begin_inset Quotes eld
-\end_inset
-
-pseudo-environments.
-\begin_inset Quotes erd
-\end_inset
-
- They look like a section heading or a
-\begin_inset Quotes eld
-\end_inset
-
-
+ file, then include this file to the LyX document (
\family sans
-Caption
-\family default
-,
-\begin_inset Quotes erd
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
\end_inset
- but really begin a [and, if necessary, end the previous] paragraph environment.
- Likewise, treat
-\family sans
-InvisibleText
+Document
+\family default
+).
+ Details on how to create a table float can be found in the files
+\family typewriter
+ws-ijmpc.tex
\family default
and
-\family sans
-VisibleText
+\family typewriter
+ws-ijmpd.tex
\family default
- as
-\begin_inset Quotes eld
-\end_inset
-
-pseudo-commands.
-\begin_inset Quotes erd
-\end_inset
+, included in the corresponding packages.
+\end_layout
- These two perform some action.
+\begin_layout Subsection
+Preparing a paper for submission
\end_layout
\begin_layout Standard
-A common feature of all five environments,
+Before you submit your paper you must export the LyX document as a LaTeX
+ file (
\family sans
-Slide
+File\SpecialChar \menuseparator
+Export\SpecialChar \menuseparator
+La
\family default
-,
+T
\family sans
-Overlay
+eX
\family default
-,
-\family sans
-Note
+)
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Actually you have the choice between LaTeX (plain) and pdflatex.
+ If you intend to use pdflatex to prepare the paper, you should use the
+ pdflatex option so that included graphics are converted to PDF format,
+ ready for use by pdflatex.
+\end_layout
+
+\end_inset
+
+, then make the following changes to the resulting
+\family typewriter
+.tex
\family default
-,
-\family sans
-InvisibleText
+ file.
+\end_layout
+
+\begin_layout Enumerate
+Remove the comment lines before the
+\family typewriter
+
+\backslash
+documentclass
+\family default
+ command.
+\end_layout
+
+\begin_layout Enumerate
+Remove everything between (and including) the
+\family typewriter
+
+\backslash
+makeatletter
\family default
and
-\family sans
-VisibleText
+\family typewriter
+
+\backslash
+makeatother
\family default
-, is a rather long-ish label.
- The text following this label --- ordinarily the contents of the paragraph
- environment --- is utterly irrelevant for
-\family sans
-Slide
+ commands, except for any commands you specifically put into the LaTeX preamble.
+\end_layout
+
+\begin_layout Standard
+The modified
+\family typewriter
+.tex
\family default
-,
-\family sans
-Overlay
+ file should be saved and processed through LaTeX as many times as necessary.
+ You may also want to check the resulting
+\family typewriter
+.dvi
\family default
-,
-\family sans
-Note
+ document.
+\end_layout
+
+\begin_layout Subsection
+Use of TeX code
+\end_layout
+
+\begin_layout Standard
+The use of TeX code is reduced to two commands, which must be placed at
+ the top of the document.
+ If you started writing your paper by using the
+\family typewriter
+ijmpc.lyx
\family default
-,
-\family sans
-InvisibleText
+ or the
+\family typewriter
+ijmpd.lyx
\family default
- and
-\family sans
-VisibleText
+ template, the TeX code needed is already in its place; you usually don't
+ need to delete it.
+ You may only modify the first TeX code to specify the information printed
+ to the top of odd and even pages (authors' names and short paper's title,
+ respectively).
+ This TeX code must have the form
+\family typewriter
+
+\backslash
+markboth{Authors' Names}{Short Paper's Title}
\family default
.
- LyX completely ignores it.
- In fact, you can leave these five environments completely empty.
-
+\end_layout
+
+\begin_layout Section
+iopart
+\end_layout
+
+\begin_layout Standard
+by
+\noun on
+Uwe Stöhr
+\end_layout
+
+\begin_layout Subsection
+Overview
+\end_layout
+
+\begin_layout Standard
+The iopart package provides a document class to create electronic manuscript
+ submission to the journals published by the Institute of Physics.
+ Instructions for the authors how to create a paper using the iopart class
+ can be downloaded together with the iopart package from the site
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+ftp://ftp.iop.org/pub/journals/latex2e
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+Writing a paper
\end_layout
\begin_layout Standard
-While you don't
+The easiest way to write a paper is to start with the file
\emph on
-have
+IOP-article.lyx
\emph default
- to put any text after the rather long-ish label, you might want to.
- This could be a short description of the contents of the
+ that is available in LyX's examples files folder.
+ Open this file, save it under a new name, and start writing.
+ The example file explains how to use the special text environments.
+ Here are the most important advices:
+\end_layout
+
+\begin_layout Itemize
+To be able to compile your document to a PDF, PS, or DVI, assure that the
+ two options
\family sans
-Slide
+Use AMS math package
\family default
-, for example.
- In that case, enter in your descriptive comment and hit
+ in the document settings under
\family sans
-Return
+Math Options
\family default
- as you normally would.
+ are not used!
\end_layout
-\begin_layout Standard
-If, on the other hand, you don't want to enter in any descriptive text,
- you'll hit another LyX quirk.
- LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
- environment until you put something in the old one.
- So, do this:
+\begin_layout Itemize
+
+\size normal
+The title environment defines the kind of your paper.
+ So use one of the following environments for the title:
\end_layout
+\begin_deeper
\begin_layout Itemize
-Start entering the text that will
-\emph on
-follow
-\emph default
- the new
-\family sans
-Slide
-\family default
-,
+
\family sans
-Overlay
+\size normal
+Title
\family default
-,
+ for a Paper
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Note
+\size normal
+Review
\family default
-,
+ for a Review
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-InvisibleText
+\size normal
+Topical
\family default
- or
+ for a Topical review
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-VisibleText
+\size normal
+Comment
\family default
-.
-
+ for a Comment
\end_layout
\begin_layout Itemize
-Now move to the beginning of that paragraph.
-
+
+\family sans
+\size normal
+Note
+\family default
+ for a Note
\end_layout
\begin_layout Itemize
-Next, hit
+
\family sans
-Return
+\size normal
+Paper
\family default
-.
-
+ for a Paper (same as Title)
\end_layout
\begin_layout Itemize
-Finally, change this new, empty paragraph to a
+
\family sans
-Slide
+\size normal
+Prelim
\family default
-,
+ for a Preliminary communication
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Overlay
+\size normal
+Rapid
\family default
-,
+ for a Rapid communication
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Note
+\size normal
+Letter
\family default
-,
+ for a Letter to the editor
+\end_layout
+
+\end_deeper
+\begin_layout Itemize
+
+\size normal
+All title environments except of
\family sans
-InvisibleText
+Letter
\family default
- or
+ can have an optional short title.
+\end_layout
+
+\begin_layout Itemize
+There is a general title environment
\family sans
-VisibleText
+Article
\family default
-.
-
+ which is not directly supported by the LyX.
+ This can be used as TeX code when your document doesn't fit into one of
+ the other title types.
\end_layout
\begin_layout Standard
-Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
+For more informations like hints for special table and formula formatting,
+ look at the IOP author guidelines.
+\end_layout
+\begin_layout Section
+Kluwer
\end_layout
-\begin_layout Subsection
-Making a Presentation with
-\family sans
-Slide
-\family default
-,
-\family sans
-Overlay
-\family default
- and
-\family sans
-Note
+\begin_layout Standard
+by
+\noun on
+Panayotis Papasotiriou
\end_layout
-\begin_layout Subsubsection
-Using the
-\family sans
-Slide
-\family default
- Environment
+\begin_layout Subsection
+Overview
\end_layout
\begin_layout Standard
-If you're expecting this section to teach you how to actually make a presentatio
-n, you'll be sorely disappointed.
- Naturally, I'll describe all of the ways the
-\family sans
-slides
-\family default
- class can assist you in preparing the materials for a presentation.
- Filling in the contents, however, is up to you.
- [Then again, that
+The Kluwer package is a set of macros produced by Kluwer Academic Publishers
+ that facilitates electronic manuscript submission to the journals they
+ publish.
+ Most known of them (at least in my domain of interest) are
\emph on
-is
+Astrophysics and Space Science
\emph default
- the LyX philosophy.]
+ and
+\emph on
+Solar Physics
+\emph default
+, but there are many others (see a complete list at
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.wkap.nl/jrnllist.htm/JRNLHOME
\end_layout
-\begin_layout Standard
-Choosing the
-\family sans
-Slide
-\family default
- environment [in the manner described in section
-\begin_inset space ~
\end_inset
+).
+ The Kluwer package may be downloaded from the site
+\begin_inset Flex URL
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:slideQuirk"
+\begin_layout Plain Layout
-\end_inset
+http://www.wkap.nl/kaphtml.htm/STYLEFILES
+\end_layout
-] tells LyX to begin a new slide [duh].
- The label for this environment/
-\begin_inset Quotes erd
\end_inset
-pseudo-command
-\begin_inset Quotes erd
-\end_inset
+.
+ A complete user guide is contained in that package (but it can also be
+ downloaded separately).
+\end_layout
- is an
+\begin_layout Standard
+LyX supports many features of the package but not everything.
+ However, the TeX code needed is reduced to some
\begin_inset Quotes eld
\end_inset
-ASCII line,
+peculiar
\begin_inset Quotes erd
\end_inset
- in cool blue, followed by the label,
-\begin_inset Quotes eld
+ commands of the package (see
+\begin_inset space ~
\end_inset
-NewSlide:
-\begin_inset Quotes erd
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:kluwer_peculiarities"
+
\end_inset
-.
- Any text or paragraph environments that follow this one go on the new slide.
- It's that simple.
+).
+ I have recently used LyX to write an article submitted to the
+\emph on
+Astrophysics and Space Science
+\emph default
+ without any problem.
\end_layout
-\begin_layout Standard
-Slides are probably the only time you'll need to forcibly end pages in LyX
- (this can be specified in the
-\family sans
-Paragraph Layout
-\family default
- dialog).
- In fact, you'll want to, once you finish entering the contents of one slide.
- If you've entered more text than can physically fit on a slide, the extra
- overflows onto a new slide.
- I don't recommend doing this, however, since the overflow slide won't have
- any page number on it.
- Furthermore, it may interfere with any
-\family sans
-Overlay
-\family default
- you've made to accompany the oversized
-\family sans
-Slide
-\family default
-.
+\begin_layout Subsection
+Writing a paper
\end_layout
\begin_layout Standard
-The
+The easiest way to write a paper is to start with the Kluwer template file.
+ Click on
\family sans
-Overlay
+File\SpecialChar \menuseparator
+New from
\family default
- and
+
\family sans
-Note
+Template
\family default
- environments work the same way as the
-\family sans
-Slide
+, then choose the
+\family typewriter
+kluwer.lyx
\family default
- environment.
- They both create an
-\begin_inset Quotes eld
-\end_inset
-
-ASCII line
-\begin_inset Quotes erd
-\end_inset
-
- followed by a label [
-\begin_inset Quotes eld
-\end_inset
-
-NewOverlay:
-\begin_inset Quotes erd
-\end_inset
-
- and
-\begin_inset Quotes eld
-\end_inset
+ template.
+ This will give an (almost) empty document that includes the most common
+ fields found in a manuscript and a short description of their use.
+ As in most templates, simply overwrite the existing text (including the
+ brackets,
+\family typewriter
+<>
+\family default
+) with the correct information.
+\end_layout
-NewNote:
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Subsection
+Preparing a paper for submission
+\end_layout
-, respectively].
- The color is a stunning magenta instead of blue, and the
+\begin_layout Standard
+As in the AASTeX package, before you submit your paper to a journal you
+ must
\begin_inset Quotes eld
\end_inset
-ASCII line
+postprocess
\begin_inset Quotes erd
\end_inset
- will look different, in style and in length.
- The label fonts of all three also differ from one another.
+ it as follows.
\end_layout
-\begin_layout Standard
-As with a
-\family sans
-Slide
-\family default
-, if the contents of a
-\family sans
-Note
-\family default
- or
+\begin_layout Enumerate
+Export your paper as a LaTeX file.
+ To do this, click on
\family sans
-Overlay
+File\SpecialChar \menuseparator
+Export\SpecialChar \menuseparator
+LaTeX
\family default
- exceed the physical size of a slide or sheet of paper, the extra will overflow
- onto a new sheet.
- Again, you should avoid this.
- It defeats the whole purpose of
-\family sans
-Note
+.
+
+\end_layout
+
+\begin_layout Enumerate
+Edit the resulting
+\family typewriter
+.tex
\family default
-s and
-\family sans
-Overlay
+ file with a text editor and make the following changes
+\end_layout
+
+\begin_deeper
+\begin_layout Enumerate
+remove the comment lines before the
+\family typewriter
+
+\backslash
+documentclass
\family default
-s.
+ command,
\end_layout
-\begin_layout Subsubsection
-Using
-\family sans
-Overlay
+\begin_layout Enumerate
+remove everything between (and including) the
+\family typewriter
+
+\backslash
+makeatletter
\family default
- with
-\family sans
-Slide
+ and
+\family typewriter
+
+\backslash
+makeatother
+\family default
+ commands, except for any commands you specifically put into the LaTeX preamble.
\end_layout
\begin_layout Standard
-The idea behind an
-\family sans
-Overlay
-\family default
- is a slide that sits atop another slide.
- Perhaps you wish to discuss a figure on the main
-\family sans
-Slide
+Save the resulting
+\family typewriter
+.tex
\family default
- before displaying the text associated with it.
- One way to accomplish this is tape a flap of dark paper over the part of
- the
-\family sans
-Slide
+ file.
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+Run the
+\family typewriter
+.tex
\family default
- you want to display later.
- This method fails, however, if you wish to overlap one graph with another,
- for example.
- You would then have to fumble while speaking to align the two separate,
- overlapping
-\family sans
-Slide
+ file through LaTeX as many times as necessary (usually up to three).
+\end_layout
+
+\begin_layout Enumerate
+View the resulting
+\family typewriter
+.dvi
\family default
-s to align the two graphs.
- The use of an
+ document using, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\family sans
-Overlay
+xdvi
\family default
- environment in both cases makes life much easier.
+, and check if everything is OK (it should, if you didn't make any mistake).
\end_layout
-\begin_layout Standard
-Each
-\family sans
-Overlay
-\family default
- receives the page number of its
+\begin_layout Subsection
\begin_inset Quotes eld
\end_inset
-parent
+Peculiarities
\begin_inset Quotes erd
\end_inset
-
-\family sans
-Slide
-\family default
-, appended by
-\begin_inset Quotes eld
+ of the Kluwer package
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:kluwer_peculiarities"
+
\end_inset
-\family typewriter
--a
-\family default
+\end_layout
+
+\begin_layout Standard
+The Kluwer package has the following
+\begin_inset Quotes eld
+\end_inset
+peculiarities
\begin_inset Quotes erd
\end_inset
.
+\end_layout
+
+\begin_layout Enumerate
+It is possible to write multiple articles in the same LaTeX file
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-Presumably, mutliple
-\family sans
-Overlay
-\family default
-s would have
+I can't imagine any good reason to do this.
+\end_layout
+
+\end_inset
+
+.
+ Each article must be included in the environment
\begin_inset Quotes eld
\end_inset
+article
+\begin_inset Quotes erd
+\end_inset
+.
+ Unfortunately, this environment cannot be omitted, even if you write just
+ one article.
+ Therefore, each article starts with the command
\family typewriter
--a
+
+\backslash
+begin{article}
+\family default
+ and, obviously, ends with the command
+\family typewriter
+
+\backslash
+end{article}
\family default
+.
+ Although this can be implemented in LyX, I didn't included it, since it
+ looks ugly and can confuse the novice user.
+ Therefore, you need to enter them directly and mark them as LaTeX code
+ (the well-known
+\begin_inset Quotes eld
+\end_inset
+TeX code
\begin_inset Quotes erd
\end_inset
-,
-\begin_inset Quotes eld
+).
+\end_layout
+
+\begin_layout Enumerate
+Information given at the beginning of the article (i.
+\begin_inset space \thinspace{}
\end_inset
+g.
+\begin_inset space \space{}
+\end_inset
-\family typewriter
--b
-\family default
+title, subtitle, author, institution, running title, running author, abstract
+ and keywords) must be included in an environment called
+\begin_inset Quotes eld
+\end_inset
+opening
\begin_inset Quotes erd
\end_inset
-,
-\begin_inset Quotes eld
+.
+ This is not implemented in LyX, so you must enter title, subtitle etc.
+\begin_inset space ~
\end_inset
+between two TeX code lines (
+\family typewriter
+\backslash
+begin{opening}
+\family default
+ and
\family typewriter
--c
+
+\backslash
+end{opening}
+\family default
+).
+\end_layout
+
+\begin_layout Enumerate
+According to the user manual, the label of each bibliography item must be
+ written as
+\family typewriter
+
+\backslash
+protect
+\backslash
+citeauthoryear{
+\family default
+\emph on
+author(s)
+\family typewriter
+\emph default
+}{
+\family default
+\emph on
+year
+\family typewriter
+\emph default
+}
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+The
+\family typewriter
+kluwer.lyx
\family default
+ template takes care of all these
+\begin_inset Quotes eld
+\end_inset
+peculiarities
\begin_inset Quotes erd
\end_inset
-, etc.
+.
+ If you start a new paper using this template you don't need to do anything
+ special.
+ Just
+\end_layout
+
+\begin_layout Enumerate
+don't delete the TeX code included in the template, and
+\end_layout
+
+\begin_layout Enumerate
+copy the example bibliography item included in the template and modify it
+ as necessary to enter new bibliography items.
+\end_layout
+
+\begin_layout Section
+Koma-Script
+\end_layout
+
+\begin_layout Standard
+by
+\noun on
+Bernd Rellermeyer
+\end_layout
+
+\begin_layout Subsection
+Overview
+\end_layout
+
+\begin_layout Standard
+The LyX document classes
+\emph on
+article (koma-script)
+\emph default
+,
+\emph on
+report (koma-script)
+\emph default
+,
+\emph on
+book
+\emph default
+
+\emph on
+(koma-script)
+\emph default
+, and
+\emph on
+letter
+\emph default
+
+\emph on
+(koma-script)
+\emph default
+ correspond to the LaTeX document classes
+\family typewriter
+scrartcl.cls
+\family default
+,
+\family typewriter
+scrreprt.cls
+\family default
+,
+\family typewriter
+scrbook.cls
+\family default
+, and
+\family typewriter
+scrlettr.cls
+\family default
+, resp.
\begin_inset space ~
\end_inset
-appended to the page number of the parent
-\family sans
-Slide
+of the Koma-Script family.
+ They are replacements for the standard document classes
+\family typewriter
+article.cls
+\family default
+,
+\family typewriter
+report.cls
\family default
+,
+\family typewriter
+book.cls
+\family default
+ and
+\family typewriter
+letter.cls
+\family default
+, resp., and fit better to European typography conventions in a number of
+ points.
+\end_layout
+
+\begin_layout Itemize
+Standard character size is 11pt in
+\emph on
+article (koma-script)
+\emph default
+,
+\emph on
+report (koma-script)
+\emph default
+, and
+\emph on
+book (koma-script)
+\emph default
+, and 12pt in
+\emph on
+letter (koma-script)
+\emph default
.
-
\end_layout
-\end_inset
+\begin_layout Itemize
+Headings, labels of the description environment, and a number of elements
+ of the
+\emph on
+letter (koma-script)
+\emph default
+ document class are set in a bold sans serif font.
+\begin_inset Foot
+status collapsed
- Clearly, you want the contents of both the
-\family sans
-Slide
-\family default
- and the
-\family sans
-Overlay
+\begin_layout Plain Layout
+There is a big difference between the bold sans serif old cm fonts and new
+ ec fonts, especially in the appearance of headings.
+ In comparison, the ec bold sans serif fonts look a bit thin.
+ Here the LaTeX package
+\family typewriter
+cmsd.sty by
\family default
- to each fit on a single physical slide! You should probably consider an
-\family sans
-Overlay
-\family default
- as
+\shape smallcaps
+Walter Schmidt
+\shape default
+ helps to produce the
+\begin_inset Quotes eld
+\end_inset
+
+usual
+\begin_inset Quotes erd
+\end_inset
+
+ appearance when using the ec fonts.
+\end_layout
+
+\end_inset
+
+ The numbering of chapter headings is made in the same way as the numbering
+ of section headings, that is without the extra line
\begin_inset Quotes eld
\end_inset
-part of
+Chapter\SpecialChar \ldots{}
+
\begin_inset Quotes erd
\end_inset
- a
+.
+ In addition, the appearance of the headings can be modified by using a
+ number of options (in LyX to be entered in the field
\family sans
-Slide
+Extra
+\begin_inset space ~
+\end_inset
+
+Options
\family default
-.
- Indeed, the LyX
+ of the dialog
\family sans
-slides
+Layout\SpecialChar \menuseparator
+Document
\family default
- class provides a visual cue for this: the label at the start of an
+).
+ A detailed German description of these options can be found in the Koma-Script
+ documentation
+\emph on
+scrguide
+\emph default
+.
+\end_layout
+
+\begin_layout Itemize
+The main means in the Koma-Script document classes to design the type area
+ are the options
\family sans
-Overlay
+BCOR
\family default
- is shorter than that at the start of a
+ and
\family sans
-Slide
+DIV
\family default
-.
- Lastly, when you generate printable output, you'll find alignment markers
- in all four corners of both the
+ (in LyX to be entered in the extra class options field in the dialog
\family sans
-Overlay
+Document\SpecialChar \menuseparator
+Settings
\family default
- page and its parent
+).
+ They make a clearer modification of page margins possible as do the options
+ of the dialog
\family sans
-Slide
+Document\SpecialChar \menuseparator
+Settings
\family default
.
- These will assist you in lining up the two physical slides.
+ A detailed German description of these and other type area options can
+ be found in the Koma-Script documentation
+\emph on
+scrguide
+\emph default
+.
+\end_layout
+
+\begin_layout Itemize
+The LaTeX document classes of the Koma-Script family define a number of
+ additional commands.
+ Those part of it which makes sense in LyX is implemented in corresponding
+ paragraph types.
\end_layout
\begin_layout Standard
-The major problem in overlaying two slides is aligning the contents of the
- two transparencies.
- How much space should you leave for that graph on the second slide? Worse
- still, what if you want a graph and a sentence on second slide, but there
- is text on the main transparency that goes in between them? You could try
- and insert vertical space of the right size.
- The better way is to use
-\family sans
-InvisibleText
-\family default
- and
-\family sans
-VisibleText
-\family default
+A detailed German description of the LaTeX document classes of the Koma-Script
+ family can be found in the Koma-Script documentation
+\emph on
+scrguide
+\emph default
.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+There is an English translation
+\emph on
+screnggu
+\emph default
+, but it is not a complete one.
\end_layout
-\begin_layout Standard
-As their names imply,
-\family sans
-InvisibleText
-\family default
- and
-\family sans
-VisibleText
-\family default
- are two command-like paragraph environments that make all subsequent text
- invisible and visible, respectively.
- Note from section
-\begin_inset space ~
\end_inset
+ The following sections describe only those aspects, which are relevant
+ in LyX.
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:slideQuirk"
-
-\end_inset
+\begin_layout Subsection
+article (koma-script), report (koma-script), and book (koma-script)
+\end_layout
- that you don't place anything
+\begin_layout Standard
+The document classes
\emph on
-into
+article (koma-script)
\emph default
- these two environments, however.
- When you create an
-\family sans
-InvisibleText
+,
+\emph on
+report (koma-script)
+\emph default
+, and
+\emph on
+book
+\emph default
+
+\emph on
+(koma-script)
+\emph default
+ are implemented in the layout files
+\family typewriter
+scrartcl.layout
\family default
-, it inserts a centered, sky-blue label into the page reading
-\begin_inset Quotes eld
-\end_inset
-
-<Invisible Text Follows>
-\begin_inset Quotes erd
-\end_inset
-
-.
- For paragraphs following this label, the parts of the
+,
+\family typewriter
+scrreprt.layout
+\family default
+, and
+\family typewriter
+scrbook.layout
+\family default
+, resp.
+ They contain all the paragraph types of the corresponding standard document
+ classes
+\emph on
+article
+\emph default
+,
+\emph on
+report
+\emph default
+, and
+\emph on
+book
+\emph default
+, resp., partly modified, with the exception of the LyX specific
\family sans
-Slide
+List
\family default
- [or
+-type, which is replaced by the new
\family sans
-Overlay
+Labeling
\family default
-; it doesn't matter which] where they would be contain instead blank space.
-
-\end_layout
-
-\begin_layout Standard
-For
+-type having the same functionality.
+ Beside the
\family sans
-VisibleText
+Labeling
\family default
-, the corresponding centered label is
-\begin_inset Quotes eld
-\end_inset
+-Type there is a number of new paragraph types added.
+ They are
+\emph on
+not
+\emph default
+ part of
+\emph on
+letter (koma-script)
+\emph default
+.
+\end_layout
-<Visible Text Follows>
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
- in blazing green.
- Paragraphs following this label behave normally.
- Note that the beginning of a new
\family sans
-Slide
+Addpart, Addchap
\family default
,
\family sans
-Overlay
+Addsec
\family default
-, or
+: are equivalents to
\family sans
-Note
+Part*, Chapter*
\family default
- automatically shuts off an
+ and
\family sans
-InvisibleText
+Section*
\family default
-.
- It's therefore not necessary to use
+, resp., additionally inserting an entry in the table of contents.
+
\family sans
-VisibleText
+Addpart
\family default
- at the end of a
+ and
\family sans
-Slide
+Addchap
\family default
+ are not contained in
+\emph on
+article (koma-script)
+\emph default
.
\end_layout
-\begin_layout Standard
-By now, it should be obvious how to create overlay transparencies using
- the proper combination of
+\begin_layout Itemize
+
\family sans
-InvisibleText
+Addchap*
\family default
- and
+,
\family sans
-VisibleText
+Addsec*
\family default
- on a
+: behave exactly as
\family sans
-Slide
+Addchap
\family default
and
\family sans
-Overlay
+Addsec
\family default
-:
-\end_layout
-
-\begin_layout Enumerate
-Create a
+, resp., additionally clearing running heads.
+
\family sans
-Slide
+Addchap*
\family default
-, including everything that will appear on it, whether on the main slide
- or on the
+ is not contained in
+\emph on
+article (koma-script)
+\emph default
+.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+There is also an
+\family typewriter
+
+\backslash
+addpart*
+\family default
+ command in
+\emph on
+book (koma-script)
+\emph default
+ and in
+\emph on
+report (koma-script)
+\emph default
+, but since this is identical to
\family sans
-Overlay
+Part*
\family default
-.
+, is has not been implemented in LyX.
\end_layout
-\begin_layout Enumerate
-Before each figure or paragraph that will appear only on the
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Overlay
+Minisec
\family default
-, insert an
+: generates a heading directly above the following paragraph in the standard
+ character size without affecting the structure of the document.
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-InvisibleText
+Captionabove
\family default
- environment.
- If necessary, insert a
+ and
\family sans
-VisibleText
+Captionbelow
\family default
- environment after the
+ are special captions which respect the different space settings needed
+ for captions placed above or below an element (if you follow strict typographic
+ rules, you might want to place table captions always above the table).
+ You can also use the class option
+\family typewriter
+tablecaptionsabove
+\family default
+, which will switch
\family sans
-Overlay
+caption
\family default
--only text.
-\end_layout
-
-\begin_layout Enumerate
-Start an
+ to
\family sans
-Overlay
+captionabove
\family default
- immediately following the
+ for tables and
\family sans
-Slide
+captionbelow
\family default
-.
+ for figures.
+ You need at least Koma-Script version 2.8q to use this.
\end_layout
-\begin_layout Enumerate
-Copy the contents of this
+\begin_layout Itemize
+
\family sans
-Slide
+Dictum
\family default
- into the
+: can be used to set a bonmot, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+at the beginning of a chapter.
+ If you use the optional argument (
\family sans
-Overlay
+Insert\SpecialChar \menuseparator
+Short
+\begin_inset space ~
+\end_inset
+
+Title
+\family default
+), you can insert the dictum's author there.
+ Dictum and author are separated by a line.
+ You need at least Koma-Script version 2.8q to use this.
+
+\family sans
+Dictum
\family default
+ is not contained in
+\emph on
+article (koma-script)
+\emph default
.
\end_layout
-\begin_layout Enumerate
-Within the
+\begin_layout Standard
+The following types, together with the standard types
\family sans
-Overlay
+Title
\family default
-, change all of the
+,
\family sans
-InvisibleText
+Author
\family default
- lines to
+, and
\family sans
-VisibleText
+Date
\family default
- and vice-versa.
-\end_layout
+, form the title area of the document.
+ They must be entered ahead of the first
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Standard
-That's it.
- You've just made an
-\family sans
-Overlay
-\family default
-.
-\end_layout
+ordinary
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-There's one problem with the way I've designed the LyX
-\family sans
-slides
-\family default
- class: you can't make text in the middle of a paragraph invisible, nor
- make text in the middle of an invisible paragraph visible again.
- To accomplish this feat, you'll need to use some inlined LaTeX codes.
+ paragraph.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-The commands of interest are:
-\end_layout
-
-\begin_layout Itemize
-
+The corresponding LaTeX commands must appear before the
\family typewriter
-{
+
\backslash
-invisible \SpecialChar \ldots{}
- }
+maketitle
+\family default
+ command.
\end_layout
-\begin_layout Itemize
+\end_inset
-\family typewriter
-{
-\backslash
-visible \SpecialChar \ldots{}
- }
+ When such a type is used more than once, the latter usage overwrites the
+ former one, that means, for every type only the latest usage is valid.
+ The order of the different types however has, like
+\family sans
+Title
+\family default
+,
+\family sans
+Author
+\family default
+, and
+\family sans
+Date
+\family default
+, no effect on the appearance of the produced document.
\end_layout
-\begin_layout Plain Layout
-\SpecialChar \ldots{}
-and need to be marked as TeX.
- The text whose
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Itemize
-visibility
-\begin_inset Quotes erd
-\end_inset
+\family sans
+Subject
+\family default
+: produces a centered paragraph above the ordinary title (
+\family sans
+Title
+\family default
+,
+\family sans
+Author
+\family default
+,
+\family sans
+Date
+\family default
+) for the subject of the document.
+\end_layout
- you wish to change goes in between the brackets [and after the
-\family typewriter
+\begin_layout Itemize
-\backslash
-invisible
+\family sans
+Publishers
+\family default
+: produces a centered paragraph below the ordinary title (
+\family sans
+Title
+\family default
+,
+\family sans
+Author
+\family default
+,
+\family sans
+Date
\family default
- or
-\family typewriter
+) for the publishers' name.
+\end_layout
-\backslash
-visible
+\begin_layout Itemize
+
+\family sans
+Dedication
\family default
- command].
- If you don't know how to mark text as TeX, see the appropriate section
- of the
+: in
\emph on
-User's Guide
+report (koma-script)
\emph default
-.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsubsection
-Using
+ and
+\emph on
+book (koma-script)
+\emph default
+ produces a centered paragraph on its own page behind the title page, or
+ in
+\emph on
+article (koma-script)
+\emph default
+ produces a centered paragraph below the ordinary title (
\family sans
-Note
+Title
\family default
- with
+,
\family sans
-Slide
+Author
\family default
-
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:slideNote"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Like an
+,
\family sans
-Overlay
+Date
\family default
-, a
+,
\family sans
-Note
+Publishers
\family default
- is associated with a
-\begin_inset Quotes eld
-\end_inset
+) for a dedication.
+\end_layout
-parent
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
-
\family sans
-Slide
+Titlehead
\family default
-.
- Here, too, the LyX
+: produces a left aligned paragraph above the ordinary title (
\family sans
-slides
+Title
\family default
- class provides visual cues.
- The label for a
+,
\family sans
-Note
+Author
\family default
- is shorter than that of a
+,
\family sans
-Slide
+Date
\family default
- [yet longer than that of an
+,
\family sans
-Overlay
+Subject
\family default
-] and, like the label of an
+) for a document`s head.
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Overlay
+Uppertitleback
\family default
- is shockingly magenta.
- Additionally, the printed
+: produces in a double-sided print in
+\emph on
+report (koma-script)
+\emph default
+ and
+\emph on
+book (koma-script)
+\emph default
+ a left-aligned paragraph at the top of the title page`s back or has no
+ effect in a single-sided print or in
+\emph on
+article (koma-script)
+\emph default
+.
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Note
+Lowertitleback
\family default
- has the page number of its
-\begin_inset Quotes eld
-\end_inset
+: produces in a double-sided print in
+\emph on
+report (koma-script)
+\emph default
+ and
+\emph on
+book (koma-script)
+\emph default
+ a left-aligned paragraph at the bottom of the title page`s back or has
+ no effect in a single-sided print or in
+\emph on
+article (koma-script)
+\emph default
+.
+\end_layout
-parent
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
-
\family sans
-Slide
+Extratitle
\family default
-, appended by
+: produces a special
\begin_inset Quotes eld
\end_inset
-
-\family typewriter
--
-\family default
-1
+dirty
\begin_inset Quotes erd
\end_inset
-,
-\begin_inset Quotes eld
-\end_inset
-
+ page ahead of the actual document containing a paragraph without special
+ formatting.
+\end_layout
+\begin_layout Standard
+The layout files for the document classes
+\emph on
+article (koma-script)
+\emph default
+,
+\emph on
+report (koma-script)
+\emph default
+, and
+\emph on
+book (koma-script)
+\emph default
+ do include the file
\family typewriter
--
+scrmacros.inc
\family default
-2
-\begin_inset Quotes erd
-\end_inset
+.
+ This is thought of as a place to define your own types.
+ Copy s
+\family typewriter
+crmacros.inc
+\family default
+ in your personal layout directory and edit the file!
+\end_layout
-,
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Subsection
+letter (koma-script)
+\end_layout
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{sloppypar}
+\end_layout
-\family typewriter
--
-\family default
-3
-\begin_inset Quotes erd
\end_inset
-, etc.
- You can have multiple
-\family sans
-Note
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+The document class
+\emph on
+letter (koma-script)
+\emph default
+ is implemented in the layout file
+\family typewriter
+scrlettr.layout
\family default
-s associated with a single
+.
+ It contains all the paragraph types of the corresponding standard document
+ class
+\emph on
+letter
+\emph default
+, partly modified, with the exception of the LyX specific types
\family sans
-Slide
+LyX-Code
\family default
-, and, as with
+ and
\family sans
-Slide
+Comment
\family default
- and
+ and the
\family sans
-Overlay
+List
\family default
-, you'll probably want to break up long
+ type, which is replaced by the new
\family sans
-Note
+Labeling
\family default
-s so that they fit on a single sheet of paper.
-\end_layout
-
-\begin_layout Standard
-The purpose of a
+ type.
+ In addition, it contains, in contrast to the standard document class, the
+ standard types
\family sans
-Note
+LaTeX
\family default
- is obvious: it contains anything additional you might want to say about
- a
+,
\family sans
-Slide
+Quotation
\family default
-.
- It could also be used as a sheet of reminders for a particular
+,
\family sans
-Slide
+Quote
\family default
-.
- In the case of the latter, you might want to make use of time markers.
- Currently, the LyX
+, and
\family sans
-slides
+Verse
\family default
- class has no
-\begin_inset Quotes eld
-\end_inset
-
-native
-\begin_inset Quotes erd
-\end_inset
-
- support for time markers, a
-\noun on
-Sli
-\noun default
-TeX feature.
- So, you'll have to resort to using the LaTeX codes.
+.
+ Furthermore, there are a number of new letter specific types.
\end_layout
\begin_layout Standard
-To use time markers, you'll need to specify the extra class option
-\begin_inset Quotes eld
-\end_inset
+\begin_inset ERT
+status open
+\begin_layout Plain Layout
-\family typewriter
-clock
-\family default
-\begin_inset Quotes erd
-\end_inset
+\backslash
+end{sloppypar}
+\end_layout
- [see section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:slidesetup"
+\end_layout
-\end_inset
+\begin_layout Standard
+The appearance of the letter produced by this document class can be controlled
+ by a number of LaTeX commands, which you can put in the LaTeX preamble.
+\begin_inset Foot
+status collapsed
-].
- This option turns on timing marks, which will appear in the lower-left-hand
- corner of every
-\family sans
-Note
-\family default
- you generate.
- To set what appears in the time marker, you use the LaTeX commands
+\begin_layout Plain Layout
+For example, the standard appearance of the letter`s heading, consisting
+ of name and address, is quite self-willed.
+ An
\begin_inset Quotes eld
\end_inset
-
-\family typewriter
-
-\backslash
-settime{}
-\family default
-
+ordinary
\begin_inset Quotes erd
\end_inset
- and
-\begin_inset Quotes eld
-\end_inset
-
+ heading is produced by the following LaTeX commands in the preamble:
+\end_layout
-\family typewriter
+\begin_layout LyX-Code
\backslash
-addtime{}
-\family default
+firsthead{
+\backslash
+parbox[b]{
+\backslash
+textwidth}
+\end_layout
-\begin_inset Quotes erd
-\end_inset
+\begin_layout LyX-Code
+ {
+\backslash
+ignorespaces
+\backslash
+fromname
+\backslash
-.
- The arguments of both commands are time measured in seconds.
+\backslash
-\begin_inset Quotes eld
-\end_inset
-
+\backslash
+ignorespaces
+\backslash
+fromaddress}}
+\end_layout
-\family typewriter
+\begin_layout LyX-Code
\backslash
-settime{}
-\family default
-
-\begin_inset Quotes erd
-\end_inset
+nexthead{
+\backslash
+parbox[b]{
+\backslash
+textwidth}
+\end_layout
- sets the time marker to a given time.
+\begin_layout LyX-Code
+ {
+\backslash
+ignorespaces
+\backslash
+fromname
+\backslash
+hfill
+\backslash
+ignorespaces
+\backslash
+pagename
+\backslash
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-
\backslash
-addtime{}
-\family default
+thepage}}
+\end_layout
-\begin_inset Quotes erd
\end_inset
- increments the time marker by the specified amount.
- Using time markers and
-\family sans
-Note
-\family default
-s in this fashion, you can remind yourself how much time to spend on a particula
-r
-\family sans
-Slide
-\family default
+ A detailed German description of such LaTeX commands can be found in the
+ Koma-Script documentation
+\emph on
+scrguide
+\emph default
.
+ With it, the letter's author can produce his personal letter layout.
\end_layout
\begin_layout Standard
-There's one last feature to describe.
- Clearly, you'd like to print out all of your
-\family sans
-Slide
-\family default
-s and
-\family sans
-Overlay
-\family default
-s on transparencies while printing all of your
+The types
\family sans
-Note
+Letter
\family default
-s on plain paper.
- However, a
+ and
\family sans
-Note
+Opening
\family default
+ define the beginning of the letter and must be used in every letter.
+ To emphasize them in the LyX document class, they are marked with the letter
-\emph on
-must
-\emph default
- follow the
-\family sans
-Slide
-\family default
- with which it is associated.
- What's a person to do?
-\end_layout
-
-\begin_layout Standard
-Luckily, there are two LaTeX commands that allow you to select what to print
- out.
- Both must be placed into the preamble of your document.
- The command
-\begin_inset Quotes eld
+\shape italic
+L
+\shape default
+ or
+\shape italic
+O
+\shape default
+, resp.
+\begin_inset space ~
\end_inset
-
-\family typewriter
-
-\backslash
-onlyslides{
-\backslash
-slides}
+in the left margin.
+ It is possible to write any number of letters in one file.
+ An
+\family sans
+Opening
\family default
-
-\begin_inset Quotes erd
-\end_inset
-
- will cause the output to contain only the
+ type produces a new letter using the same addressee and a
\family sans
-Slide
+Letter
\family default
-s and
+ type produces a new addressee.
+ The types
\family sans
-Overlay
+Closing
\family default
-s.
- Correspondingly, the command
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-
-\backslash
-onlynotes{
-\backslash
-notes}
+,
+\family sans
+PS
\family default
-
-\begin_inset Quotes erd
-\end_inset
-
- prevents the output of anything but
+,
\family sans
-Note
+CC
\family default
-s.
- I'd advise placing both commands in the preamble and initially comment
- both out.
- You can then preview your entire presentation as you write.
- When you're done writing, you can then uncomment one of the two to select
- what you want to print.
- I like to uncomment
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-
-\backslash
-onlyslides{
-\backslash
-slides}
+, and
+\family sans
+Encl
\family default
+ are ordinary paragraph types and can also be used several times in one
+ and the same letter.
+\end_layout
-\begin_inset Quotes erd
-\end_inset
-
- , print to a file with
-\begin_inset Quotes eld
-\end_inset
-
+\begin_layout Itemize
-\family typewriter
--slides
+\family sans
+Letter
\family default
+: produces a paragraph for the addressee and implicitly defines the beginning
+ of the letter.
+\end_layout
-\begin_inset Quotes erd
-\end_inset
-
- in its name, comment it back out, then uncomment
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Itemize
+\family sans
+Opening
+\family default
+: produces a paragraph for the form of address and implicitly produces a
+ new letter.
+\end_layout
-\family typewriter
+\begin_layout Itemize
-\backslash
-onlynotes{
-\backslash
-notes}
+\family sans
+Closing
\family default
+: produces a paragraph for a close.
+\end_layout
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
- and print to a
-\begin_inset Quotes eld
-\end_inset
+\family sans
+PS
+\family default
+: produces a paragraph for a postscript.
+\end_layout
+\begin_layout Itemize
-\family typewriter
-*-notes.ps
+\family sans
+CC
\family default
+: produces a paragraph for a distribution list.
+\end_layout
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
- file.
- I can then send either file to a printer, loading transparencies or plain
- paper as appropriate.
+\family sans
+Encl
+\family default
+: produces a paragraph for enclosures.
\end_layout
\begin_layout Standard
-You can also provide other arguments to the
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-
-\backslash
-onlyslides{}
+The types
+\family sans
+Name
\family default
+,
+\family sans
+Signature
+\family default
+,
+\family sans
+Address
+\family default
+,
+\family sans
+Telephone
+\family default
+,
+\family sans
+Place
+\family default
+,
+\family sans
+Backaddress
+\family default
+,
+\family sans
+Specialmail
+\family default
+,
+\family sans
+Location
+\family default
+,
+\family sans
+Title
+\family default
+, and
+\family sans
+Subject
+\family default
+ are input types provided with a label to enter information, which will
+ be processed by the document class.
+\begin_inset Foot
+status open
-\begin_inset Quotes erd
-\end_inset
-
+\begin_layout Plain Layout
+It could be seen as a matter of inconsequence, that the types
+\family sans
+Letter
+\family default
and
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-
-\backslash
-onlynotes{}
+\family sans
+Opening
+\family default
+ described above are not such input types as well.
+ Because of the special meaning of those types, however, I have implemented
+ them as ordinary paragraph types with a one letter mark in the left margin.
+ Moreover, it would affect my feeling of symmetry, if the
+\family sans
+Opening
+\family default
+ type and the
+\family sans
+Closing
\family default
+ type had such a serious different appearance.
+\end_layout
-\begin_inset Quotes erd
\end_inset
- commands.
- See a good LaTeX book for details.
+ The types must be used ahead of the corresponding
+\family sans
+Opening
+\family default
+ type.
\end_layout
-\begin_layout Subsection
-The
+\begin_layout Standard
+An implementation of these types in a WYSIWYG fashion does not seem to make
+ sense, because the real appearance of the produced letter does not only
+ depend on the usage of the particular type, but also on other factors.
+ For example, a signature entered in the
\family sans
-slides
+Signature
\family default
- Class Template File
+ type will in the standard behavior appear in the produced letter only,
+ when in the same letter also a
+\family sans
+Closing
+\family default
+ type is used.
+ The entered value of the
+\family sans
+Telephone
+\family default
+ type will in the standard behavior not appear in the produced letter at
+ all.
+ The possibility to design the letter`s heading freely is already indicated
+ in a footnote above.
\end_layout
\begin_layout Standard
-I have also provided a template file,
-\begin_inset Quotes eld
+The input types can also be used as empty paragraphs.
+ This makes sense e.
+\begin_inset space \thinspace{}
\end_inset
-
-\family typewriter
-slides.lyx
-\family default
-
-\begin_inset Quotes erd
+g.
+\begin_inset space \space{}
\end_inset
-, with the
+for the
\family sans
-slides
+Signature
\family default
- class.
- To use it, begin your new presentation with
+ type.
+ If the
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-New
-\begin_inset space ~
-\end_inset
-
-from
-\begin_inset space ~
-\end_inset
-
-
-\bar under
-T
-\bar default
-emplate
+Signature
\family default
-.
- Your new LyX presentation file will contain an example
+ type is not used at all, in the standard behavior the value of the
\family sans
-Slide
+Name
\family default
- --
+ type is used as signature, whereas if an empty
\family sans
-Overlay
+Signature
\family default
- --
+ type is used, no signature value is defined.
+\end_layout
+
+\begin_layout Standard
+By using the input types it is possible to write a letter template, containing
+ filled input types with your personal dates (name, address, etc.) and empty
+ input types for other dates you want to enter.
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Note
+Name
\family default
- triplet.
- The
+: sender's name, in the standard behavior appears as a centered paragraph
+ in small caps in the letter`s heading.
+\end_layout
+
+\begin_layout Itemize
+
\family sans
-Slide
+Signature
\family default
- and
+: sender's signature, in the standard behavior appears below the
\family sans
-Overlay
+Closing
\family default
- additionally contain an example of the use of
+ type.
+ If no
\family sans
-InvisibleText
+Signature
\family default
- and
+ type is used, the value of the
\family sans
-VisibleText
+Name
\family default
-.
- Lastly, the preamble will contain:
-\end_layout
-
-\begin_layout LyX-Code
-% Uncomment to print out only slides and overlays
-\end_layout
-
-\begin_layout LyX-Code
-%
+ type appears instead.
\end_layout
-\begin_layout LyX-Code
-%
-\backslash
-onlyslides{
-\backslash
-slides}
-\begin_inset Newline newline
-\end_inset
+\begin_layout Itemize
-
+\family sans
+Address
+\family default
+: sender's address, in the standard behavior appears in a centered paragraph
+ in the letter`s heading below the sender's name.
\end_layout
-\begin_layout LyX-Code
-% Uncomment to print out only notes
-\end_layout
+\begin_layout Itemize
-\begin_layout LyX-Code
-%
-\end_layout
+\family sans
+Telephone
+\family default
+: sender's telephone number, in the standard behavior only sets the LaTeX
+ variable
+\family typewriter
-\begin_layout LyX-Code
-%
-\backslash
-onlynotes{
\backslash
-notes}
+telephonenum
+\family default
+.
\end_layout
-\begin_layout Standard
-One final thing: I created this class to support the LaTeX2e
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Itemize
+\family sans
+Place
+\family default
+: place of the letter`s making.
+\end_layout
-\noun on
-Sli
-\noun default
-TeX emulation
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
- class, one of the built-in LaTeX2e classes.
- Neither I nor the rest of the LyX Team endorse or oppose the use of this
- built-in slide class.
- It's here if you want it or need it.
- There exist other LaTeX2e classes for creating presentations, such as the
+\family sans
+Date
+\family default
+: date of the letter`s making.
\family sans
-Foils
+Place
\family default
- class [see section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:foiltex"
-
-\end_inset
-
-] or the
-\begin_inset Quotes eld
-\end_inset
-
-
-\family typewriter
-seminar
+ and
+\family sans
+Date
\family default
-
-\begin_inset Quotes erd
-\end_inset
-
- package [present on some TeX distributions].
- The latter is not yet supported under LyX.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Perhaps you can take on the task\SpecialChar \ldots{}
-
+, in the standard behavior, produce the place and the date in a right-aligned
+ line below the addressee's field.
+ If an empty
+\family sans
+Date
+\family default
+ type is used, neither place nor date appear, independent of the value of
+ the
+\family sans
+Place
+\family default
+ type.
+ If no
+\family sans
+Date
+\family default
+ type is used, the date of the letter `s production is used.
\end_layout
-\end_inset
-
- I know nothing about these other classes.
- Try them out to see what sort of alternative they provide.
-\end_layout
+\begin_layout Itemize
-\begin_layout Section
-Foils [aka
\family sans
-Foil
+Backaddress
\family default
-\noun on
-TeX
-\noun default
-]
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:foiltex"
-
-\end_inset
+: sender`s back address, in the standard behavior appears above the addressee's
+ field in a small sans serif font.
+\end_layout
+\begin_layout Itemize
+\family sans
+Specialmail
+\family default
+: special mail information, in the standard behavior appears underlined
+ above the addressee's field below the back address.
\end_layout
-\begin_layout Standard
-by
-\noun on
-Allan Rae
-\end_layout
+\begin_layout Itemize
-\begin_layout Subsection
-Introduction
+\family sans
+Location
+\family default
+: additional information, in the standard behavior appears on right side
+ below the addressee`s field.
\end_layout
-\begin_layout Standard
-This section describes how to use LyX to make slides for overhead projectors.
- There are two document classes that can do this: the default slides class
- and the
+\begin_layout Itemize
+
\family sans
-Foil
+Title
\family default
-TeX slides class.
- This section documents the latter.
+: the letter's title, in the standard behavior appears in a big, bold, sans
+ serif font above the subject.
\end_layout
-\begin_layout Standard
-I'm going to say this again, nice and clear, so that there's no misunderstanding
-:
+\begin_layout Itemize
+
+\family sans
+Subject
+\family default
+: the letter's subject, in the standard behavior appears in a bold font
+ above the
+\family sans
+Opening
+\family default
+ paragraph.
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
+The types
+\family sans
+Yourref
+\family default
+,
+\family sans
+Yourmail
+\family default
+,
+\family sans
+Myref
+\family default
+,
+\family sans
+Customer
+\family default
+, and
+\family sans
+Invoice
+\family default
+ produce a business letter like line above the
+\family sans
+Title
+\family default
+ line containing the fields
+\begin_inset Quotes eld
\end_inset
+Your ref.
+\begin_inset Quotes erd
+\end_inset
-\end_layout
-
-\begin_layout Standard
-\align center
-
-\size large
-This section documents the class
+,
\begin_inset Quotes eld
\end_inset
-
-\family sans
-slides (FoilTeX)
-\family default
-
+Your letter of
\begin_inset Quotes erd
\end_inset
-
-\emph on
-only.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
+,
+\begin_inset Quotes eld
\end_inset
+Our ref.
+\begin_inset Quotes erd
+\end_inset
-\end_layout
-
-\begin_layout Standard
-If you're looking for the documentation for
+,
\begin_inset Quotes eld
\end_inset
-
-\family sans
-slides (default)
-\family default
-
+Customer no.
\begin_inset Quotes erd
\end_inset
-, check out section
-\begin_inset space ~
+,
+\begin_inset Quotes eld
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:slitex"
-
+Invoice no.
+\begin_inset Quotes erd
\end_inset
-.
- If your machine doesn't have the
-\family sans
-foils
-\family default
- class [
+, and
\begin_inset Quotes eld
\end_inset
-
-\family sans
-slides (FoilTeX)
-\family default
-
+Date
\begin_inset Quotes erd
\end_inset
-] installed, you'll probably have to use the default
-\family sans
-slides
-\family default
- class, which isn't quite as good as
-\family sans
-foils.
-\end_layout
-
-\begin_layout Standard
-The
-\family sans
-foils
-\family default
- class is designed for use with version 2.1 of the
+.
+ For the date field, the value of the
\family sans
-foils.cls
+Date
\family default
- LaTeX class file which is now an integral part of LaTeX2e.
-\end_layout
-
-\begin_layout Subsection
-Getting Started
-\end_layout
-
-\begin_layout Standard
-Obviously, to use this document class, you need to select
+ type is used.
+ If one of these
\begin_inset Quotes eld
\end_inset
-
-\family sans
-slides (FoilTeX)
-\family default
-
+business letter types
\begin_inset Quotes erd
\end_inset
- from the
+ is used, the value of the
\family sans
-\bar under
-C
-\bar default
-lass
+Place
\family default
- entry in the
-\family sans
-Document
-\begin_inset space ~
-\end_inset
+ type however does not appear, but only the LaTeX variable
+\family typewriter
-Layout
+\backslash
+fromplace
\family default
- dialog.
- There are some settings in the
+ is set.
+ The ordinary output of place and date in a right-aligned line below the
+ addressee`s field is suppressed.
+ The types are implemented as input types provided with a label and must
+ be used ahead of the corresponding
\family sans
-Document
-\begin_inset space ~
-\end_inset
-
-Layout
+Opening
\family default
- dialog that you should know about that are specific to this class:
+ type.
\end_layout
\begin_layout Itemize
-Don't change the options
-\family sans
-Sides
-\family default
- and
-\family sans
-Columns
-\family default
- on the
-\family sans
-Document
-\begin_inset space ~
-\end_inset
-Layout
-\family default
- dialog.
- They're ignored by the
\family sans
-foils
+Yourref
\family default
- class.
+: Your ref.
\end_layout
\begin_layout Itemize
-The default font size is 20pt with the other options being 17pt, 25pt and
- 30pt.
-\end_layout
-\begin_layout Itemize
-The default font is
-\family sans
-sans
-\family default
-
\family sans
-serif
+Yourmail
\family default
- but all math equations are still typeset in the usual roman font.
+: Your letter of.
\end_layout
\begin_layout Itemize
\family sans
-Foil
+Myref
\family default
-TeX supports A4 and Letter paper sizes as well as a special size for working
- with 35mm slides.
- It doesn't support A5, B5, legal or executive paper sizes.
+: Our ref.
\end_layout
\begin_layout Itemize
-Don't bother changing the
+
\family sans
-Float Placement
+Customer
\family default
- settings because they are ignored anyway.
- All floats appear where they are defined in the text.
+: Customer no.
\end_layout
\begin_layout Itemize
-The
-\family sans
-\bar under
-P
-\bar default
-agestyle
-\family default
- setting behaves a bit differently for this class.
-
+
\family sans
-Foil
+Invoice
\family default
-TeX provides extensive footer and header capabilities including a user-defined
- logo.
- See section
-\begin_inset space ~
-\end_inset
+: Invoice no.
+\end_layout
+\begin_layout Subsection
+The new letter class: letter (koma-script v.2)
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:foilfoot"
+\begin_layout Standard
+by
+\noun on
+Jürgen Spitzmüller
+\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
- for more details.
- The title page is treated differently to all other pages in the document
- and is
-\emph on
-always
-\emph default
- unnumbered and
-\emph on
-always
-\emph default
- has the logo centered at the bottom of the page (if one is defined).
- The possible page style choices and what they do are as follows:
+
\end_layout
-\begin_deeper
-\begin_layout Labeling
-\labelwidthstring MMMMMMM
+\begin_layout Standard
+\noindent
+Koma-Script version 2.8 has introduced a new letter class
+\family typewriter
+scrlttr2
+\family default
+ which supersedes the now unsupported
+\family typewriter
+scrlettr
+\family default
+.
+ It has — on the LaTeX side — a completely new interface and is not compatible
+ with the old class.
+ Therefore, LyX supports both, though it is recommended to use the new class.
+\end_layout
+\begin_layout Standard
+This class covers the same functionality as
+\emph on
+letter (koma-script),
+\emph default
+ and a few more.
+ The basic items are
\family sans
-\series bold
-empty
+Address
+\family default
+ (receiver's address, same as
+\family sans
+Letter
+\family default
+ in the old layout),
+\family sans
+Opening
+\family default
+, and
+\family sans
+Closing
\family default
-\series default
- The final output contains no page numbers, or other headers or footers
- (except footnotes of course).
+.
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring MMMMMMM
-
\family sans
-\series bold
-plain
+NextAddress
\family default
-\series default
- The final output contains page numbers centered at the bottom of the page.
- No other headings or footers (other than footnotes).
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring MMMMMMM
-
-\series bold
-foilheadings
-\series default
- Page numbers in lower right corner.
- Additional headers and footers are also shown.
- This is also the default.
-\end_layout
+ will start a new letter (i.
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Labeling
-\labelwidthstring MMMMMMM
+g.
+\begin_inset space \space{}
+\end_inset
-\series bold
-fancy
-\series default
- Gives you access to the
+you can write several letters per document).
+ New elements are sender's
\family sans
-fancyheadings
+E-Mail
\family default
- package although its use with
+,
\family sans
-Foil
+URL
\family default
-TeX is discouraged by the writer of the
+,
\family sans
-Foil
+Fax
\family default
-TeX package because of some potential page layout clashes.
-\end_layout
-
-\end_deeper
-\begin_layout Subsubsection
-Extra Options
+,
+\family sans
+Bank
+\family default
+ and the possibility to use a
+\family sans
+Logo
+\family default
+ (via
+\family sans
+Insert\SpecialChar \menuseparator
+Graphics
+\family default
+) in the header.
\end_layout
\begin_layout Standard
-The following options may be used in the extra class options in the
+The biggest improvement is, though, that the letter's layout is configurable
+ at almost any needs.
+ This can be done via the preamble or with a special style file (Letter
+ Class Option, extension
+\family typewriter
+*.lco
+\family default
+), that will be read in as a class option.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+The KOMA package comes with some default
+\family typewriter
+*.lco
+\family default
+ files.
+ There is, for instance, a
+\family typewriter
+DIN.lco
+\family default
+ file that follows german typesetting rules, or a
+\family typewriter
+KOMAold.lco
+\family default
+ that provides the default layout of the old
+\family typewriter
+scrlettr
+\family default
+ class.
+ The latter can be loaded with the class option
+\family typewriter
+KOMAold
+\family default
+, inserted via the
\family sans
\bar under
-D
+L
\bar default
-ocument\SpecialChar \menuseparator
+ayout\SpecialChar \menuseparator
\bar under
-S
+D
\bar default
-ettings
+ocument\SpecialChar \menuseparator
+Extra Options
\family default
- dialog.
+ field.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
+\end_inset
-\series bold
-35mmSlide
-\series default
- This sets up the page layout for 7.33in by 11in paper, which is about the
- same aspect ratio as a 35mm slide, making it a bit easier to work with
- this medium.
+ Have a look at the
+\emph on
+koma-letter2
+\emph default
+ template that is included in LyX for examples.
+ A detailed description is to be found in the Koma-Script documentation
+ (
+\emph on
+scrguide
+\emph default
+).
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
-
-\series bold
-headrule
-\series default
- Places a rule across the page below the header on every page except the
- title page.
+\begin_layout Subsection
+Problems
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
-
-\series bold
-footrule
-\series default
- Places a rule across the page above the footer on every page except the
- title page.
+\begin_layout Standard
+Visualizing the Koma-Script document classes in LyX, the LyX internals cause
+ some problems.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
-
-\series bold
-dvips
-\series default
- This is automatically set each time you create a new
+\begin_layout Itemize
+The chapter number of a
\family sans
-foils
+Chapter
\family default
- document.
- This option tells
+ type appears on a line of its own above the chapter heading instead of
+ appearing in the same line ahead of it.
+ The cause for that is the LyX internal behavior for the labeltype
\family sans
-Foil
+Counter_Chapter
\family default
-TeX to use the dvips driver to rotate those pages that are set as landscape
- foils.
+ in the layout file.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
-
-\series bold
-landscape
-\series default
- Simply changes the page dimensions to those of a landscape page but doesn't
- do any rotation.
- Thus if you use this option you need to use an external program to rotate
- each page or feed your paper through your printer as landscape.
- Note that this option effectively reverses the roles of the
+\begin_layout Itemize
+The headings of the types
\family sans
-Foilhead
+Addchap
\family default
and
\family sans
-Rotatefoilhead
+Addsec
\family default
- environments (don't worry these are described in the next section).
-\end_layout
+ are only put in the
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
+true
+\begin_inset Quotes erd
+\end_inset
-\series bold
-leqno
-\series default
- Equation numbers on the left.
+ LaTeX table of contents, but not in the LyX table of contents (
+\family sans
+Document\SpecialChar \menuseparator
+Table
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+Contents
+\family default
+).
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMx
+\begin_layout Itemize
+The paragraphs in a
+\emph on
+letter
+\emph default
+ document class appear in a skip separation mode, not indented.
+ This is the standard behavior, no special LaTeX commands are needed for
+ that.
+ But in the
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog the corresponding radio button indicates
+\family sans
+Indent
+\family default
+.
+ A
+\family sans
+Skip
+\family default
+ value always has the effect that extra LaTeX commands are inserted in the
+ document to produce the gap, which is not what is wanted in this case.
+\end_layout
-\series bold
-fleqn
-\series default
- Flush-left equations.
+\begin_layout Section
+Latex8 (IEEE Conference Papers)
+\end_layout
+
+\begin_layout Standard
+by
+\noun on
+Allan Rae
\end_layout
\begin_layout Subsection
-Supported Environments
+Introduction
\end_layout
\begin_layout Standard
-Most of the environments commonly supported in other classes are also supported
- by the
-\family sans
-foils
-\family default
- class.
- There are several additional environments provided by
+Since this class is specifically for writing submissions to IEEE sponsored
+ conferences I strongly recommend that you get a copy of their Authors Kit.
+ The
\family sans
-Foil
+latex.sty
\family default
-TeX as well as a couple added by LyX.
- The following environments are shared with other classes:
+ package and associated bibliography style file is included in the kit.
+ The Authors Kit is usually sent out by email once your initial submission
+ has been accepted.
+ There is a lot of useful information in the Authors Kit explaining formatting
+ restrictions and so on and I will assume you have read this since that
+ means I don't have to repeat it all here.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
+\begin_layout Subsection
+Getting Started
\end_layout
-\end_inset
-
+\begin_layout Standard
+[AR\SpecialChar \@.
+ more to come]
+\end_layout
+\begin_layout Subsection
+Supported Environments
\end_layout
\begin_layout Itemize
\begin_layout Itemize
\family sans
-Itemize
+Title
\end_layout
\begin_layout Itemize
\family sans
-Enumerate
+Author
\end_layout
\begin_layout Itemize
\family sans
-Description
+E-mail
\end_layout
\begin_layout Itemize
\family sans
-List
+Affiliation
\end_layout
\begin_layout Itemize
\family sans
-LyX-Code
+Abstract
\end_layout
\begin_layout Itemize
\family sans
-Verse
+Section
\end_layout
\begin_layout Itemize
\family sans
-Quote
+SubSection
\end_layout
\begin_layout Itemize
\family sans
-Quotation
+Caption
\end_layout
-\begin_layout Itemize
+\begin_layout Subsection
+Differences Between Screen and Paper
+\end_layout
-\family sans
-Title
+\begin_layout Standard
+There are slight differences in appearance mainly with the presentation
+ of section counters.
+ On screen the trailing period of the section counter is missing but it
+ will appear in the output so don't let this worry you.
\end_layout
-\begin_layout Itemize
+\begin_layout Section
+Memoir
+\end_layout
-\family sans
-Author
+\begin_layout Standard
+By
+\noun on
+Jürgen Spitzmüller
\end_layout
-\begin_layout Itemize
+\begin_layout Subsection
+Overview
+\end_layout
-\family sans
-Date
+\begin_layout Standard
+Memoir is a very powerful and constantly evolving class.
+ It has been designed with regard to fictional and non-fictional literature.
+ Its aim is to let the user have maximum control over the typesetting of
+ his document.
+ Memoir is based on the standard book class, but it can also emulate the
+ article class (see below).
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+Peter Wilson, the developer of Memoir, is known as the author of lots of
+ useful packages in the LaTeX world.
+ Most of them have been merged with Memoir.
+ Therefore, it is much easier to layout the table of contents, appendices,
+ chapter designs and such.
+ LyX, though, does not support all of these goodies natively.
+ Some of them might be added to forthcoming releases
+\begin_inset Foot
+status collapsed
-\family sans
-Abstract
+\begin_layout Plain Layout
+You are invited to send suggestions to
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+lyx-devel@lists.lyx.org
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-Bibliography
+.
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-Address
+, lots will probably never, due to the limitations of LyX's framework.
+ Of course you can still use all features with the help of some native LaTeX
+ commands (TeX code
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Cf.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-RightAddress
+section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Inserting-TeX-Code"
+
+\end_inset
+
+ for details.
\end_layout
-\begin_layout Itemize
+\end_inset
+
+).
+ In this section, we can only list those features which are natively supported
+ by LyX.
+ For detailed descriptions (and for the rest of features) we are recommending
+ to have a look at the detailed manual of the Memoir class
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Cf.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+CTAN:/macros/latex/memoir/memman.pdf
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+\end_inset
+
+, which is not only a user guide for the class, but also both a comprehensive
+ description on good typesetting and a superb example for good typesetting
+ itself.
+\end_layout
+
+\begin_layout Subsection
+Basic features and restrictions
+\end_layout
+
+\begin_layout Standard
+Memoir supports basically all features of the standard book classes.
+ There are, however, some differences, as follows:
+\end_layout
+
+\begin_layout Description
+Font
+\begin_inset space ~
+\end_inset
+
+sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14, 17
+\end_layout
+
+\begin_layout Description
+Page
+\begin_inset space ~
+\end_inset
+
+style: The fancy page style is not supported, due to a command clash between
+ Memoir and the fancyhdr package (they are both defining a command with
+ the same name, which confuses LaTeX).
+ Instead, Memoir comes with a bunch of own page styles (see
\family sans
-Caption
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Page
+\begin_inset space ~
+\end_inset
+
+Style
+\family default
+).
+ If you want to use these for the chapter pages, you have to use the command
+
+\family typewriter
+
+\backslash
+chapterstyle
+\family default
+ in the main text or in preamble (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\family typewriter
+
+\backslash
+chapterstyle{companion}
+\family default
+).
\end_layout
-\begin_layout Itemize
-
+\begin_layout Description
+Sectioning: Sectionings (chapter, section, subsection etc.) are coming with
+ an optional argument in the standard classes.
+ With this, you can specify an alternative version of the title for the
+ table of contents and the headers (for instance, if the title is too long).
+ In LyX, you can do this via
\family sans
-Comment
+Insert\SpecialChar \menuseparator
+Short
+\begin_inset space ~
+\end_inset
+
+Title
+\family default
+ at the beginning of a chapter/section.
+ Memoir features a second optional argument and thus separates the table
+ of contents from the header.
+ You can define three variants of a title with this: one for the main text,
+ one for the table of contents, and one for the headers.
+ Simply insert two optional arguments if you need this feature, the first
+ one containing the short title for the Table of Contents, the second one
+ containing an alternative short title for the headers.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status open
+\begin_layout Description
+TOC/LOT/LOF: In the standard classes (and in many other classes), the table
+ of contents, the list of figures and the list of table start a new page
+ automatically.
+ Memoir does not follow this route.
+ You have to insert a page break yourself, if you want to have one.
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Description
+Titlepage: For some unknown reason, Memoir uses pagination on the title
+ page (in the standard classes, title pages are
+\begin_inset Quotes eld
+\end_inset
+empty
+\begin_inset Quotes erd
+\end_inset
-\backslash
-end{multicols}
-\end_layout
+, i.
+\begin_inset space \thinspace{}
+\end_inset
+g.
+\begin_inset space \space{}
\end_inset
+without pagina).
+ If you want an empty title page, type
+\family typewriter
+\backslash
+aliaspagestyle{title}{empty}
+\family default
+ in the preamble.
\end_layout
-\begin_layout Standard
-That is, all the major environments apart from the sectioning environments.
- Since foils are essentially self-contained sections, with a title and body,
-
+\begin_layout Description
+Article: With the class option
+\emph on
+article
+\emph default
+ (to be inserted in
\family sans
-Foil
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Extra
+\begin_inset space ~
+\end_inset
+
+Options
\family default
-TeX provides specific commands for starting new foils and these are:
-\end_layout
+), you can emulate article style.
+ That is, counters (footnotes, figures, tables etc.) will not be reset on
+ new chapters, chapters don't start a new page (but are—in contrary to
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
+real
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Foilhead
+ article classes—still allowed), parts, though, use their own page, as in
+ book.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Rotatefoilhead
-\end_layout
+\begin_layout Description
+Oldfontcommands: By default, Memoir does not allow the use of the deprecated
+ font commands, which have been used in the old LaTeX version 2.09 (e.
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
-LyX also provides slightly modified versions of these two environments called:
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Itemize
-\family sans
-ShortFoilhead
-\end_layout
+\family typewriter
-\begin_layout Itemize
+\backslash
+rm
+\family default
+,
+\family typewriter
-\family sans
-ShortRotatefoilhead
+\backslash
+it
+\family default
+).
+ It produces an error and stops LaTeX whenever such a command appears.
+ The class option
+\emph on
+oldfontcommands
+\emph default
+ reallows the commands and spits out warnings instead (which does at least
+ not stop LaTeX).
+ Since a lot of packages and particularly BibTeX style files are still using
+ those commands, we have decided to use this option by default.
\end_layout
-\begin_layout Standard
-and the differences will be explained in the next section.
+\begin_layout Subsection
+Extra features
\end_layout
\begin_layout Standard
-Since foils are often used in presenting ideas or new theorems and such
-
-\family sans
-Foil
-\family default
-TeX also provides a comprehensive box of goodies for presenting them:
-\end_layout
+We will only describe the features supported by LyX (which is not much currently
+).
+ Please consult the Memoir manual
+\begin_inset Foot
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
+Cf.
\begin_inset ERT
-status open
+status collapsed
\begin_layout Plain Layout
\backslash
-begin{multicols}{2}
+
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Theorem
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Lemma
-\end_layout
+\begin_inset Flex URL
+status collapsed
-\begin_layout Itemize
+\begin_layout Plain Layout
-\family sans
-Corollary
+CTAN:/macros/latex/memoir/memman.pdf
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-Proposition
+.
\end_layout
-\begin_layout Itemize
+\end_inset
-\family sans
-Definition
+ for details.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Proof
+\begin_layout Description
+Abstract: You may wonder why an abstract is an extra feature.
+ Well, it is in book class.
+ Usually books don't have abstracts.
+ Memoir, however, has.
+ You can use it wherever and how often you like.
\end_layout
-\begin_layout Itemize
+\begin_layout Description
+Chapterprecis: You may know this from belletristic: The contents of a chapter
+ is shortly described below the title and also in the table of contents
+ (e.
+\begin_inset space \thinspace{}
+\end_inset
-\family sans
-Theorem*
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Itemize
-\family sans
-Lemma*
+\emph on
+Our hero arrives in Troia; he loses some friends; he finds others
+\emph default
+).
+ Chapterprecis does exactly this.
+ It is therefore only sensible below a chapter.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Corollary*
+\begin_layout Description
+Epigraph: An epigraph is a smart slogan or motto at the beginning of a chapter.
+ The epigraph environment provides an elegant way of typesetting such a
+ motto.
+ The motto itself (text) and its author (source) are divided by a short
+ line.
+ Unfortunately, we have to fool LyX a bit here again, since the environment
+ needs two arguments (text and source).
+ In this case, we have to use curly brackets (in TeX mode) between the two
+ arguments:
+\emph on
+<smart slogan>
+\emph default
+
+\family typewriter
+}{
+\family default
+
+\emph on
+<author of the slogan>.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Proposition*
+\begin_layout Description
+Poemtitle: Memoir has lots of possibilities to typeset poetry (up to very
+ complex figurative poems).
+ LyX can only support a few of them.
+ One is poemtitle, which is a centered title for poems, which will also
+ be added to the table of contents (verse is the standard environment for
+ poems.
+ Memoir has some enhanced versions of verse, but you need to use TeX code,
+ because they have to be nested inside regular verse environments, which
+ is not possible with LyX).
\end_layout
-\begin_layout Itemize
-
-\family sans
-Definition*
+\begin_layout Description
+Poemtitle*: Same as poemtitle, but it adds no entry to the table of contents.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status open
+\begin_layout Section
+Article (mwart), book (mwbk) and report (mwrep)
+\begin_inset OptArg
+status collapsed
\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
+The
+\family typewriter
+mw
+\family default
+ Classes
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The starred versions are unnumbered while the unstarred versions are numbered.
- There are also two list environments added by LyX and these are:
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-TickList
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-CrossList
+by
+\noun on
+Tomasz Luczak
\end_layout
\begin_layout Standard
-
-\family sans
-Foil
-\family default
-TeX provides some powerful header and footer capabilities that are best
- set in the preamble although they may be set at any point in a document.
- If you want to change these settings in your document the best place to
- do so is at the very top of a foil,
+The LyX document classes
\emph on
-i.e.
-
+article (mwart)
\emph default
- straight after the foilhead.
-\end_layout
-
-\begin_layout Standard
-For this purpose, the following command styles are provided [
-\shape smallcaps
-Martin Vermeer
-\shape default
-]:
+,
+\emph on
+report (mwrep)
+\emph default
+ and
+\emph on
+book
+\emph default
+
+\emph on
+(mwbk)
+\emph default
+ correspond to the LaTeX document classes
+\family typewriter
+mwart.cls
+\family default
+,
+\family typewriter
+mwrep.cls
+\family default
+ and
+\family typewriter
+mwbk.cls
+\family default
+, resp.
+ They are replacements for the standard document classes
+\family typewriter
+article.cls
+\family default
+,
+\family typewriter
+report.cls
+\family default
+ and
+\family typewriter
+book.cls
+\family default
+, resp., and fit better to Polish typography conventions in a number of points.
+
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+Basic differences:
\end_layout
\begin_layout Itemize
-
-\family sans
-My
-\begin_inset space ~
+Unnumbered titles (with star, e.
+\begin_inset space \thinspace{}
\end_inset
-Logo
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Restriction
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Right
-\begin_inset space ~
+g.
+\begin_inset space \space{}
\end_inset
-Footer
-\end_layout
-
-\begin_layout Itemize
\family sans
-Right
-\begin_inset space ~
-\end_inset
-
-Header
+Section*
+\family default
+) are added into table of contents,
\end_layout
\begin_layout Itemize
-
-\family sans
-Left
-\begin_inset space ~
-\end_inset
-
-Header
+Additional page styles:
\end_layout
\begin_deeper
-\begin_layout Standard
-\begin_inset space ~
-\end_inset
-
-
+\begin_layout Description
+uheadings header with separated lines,
\end_layout
-\end_deeper
-\begin_layout Standard
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
+\begin_layout Description
+myheadings custom header, contents headers via commands:
+\family typewriter
+\backslash
+markright
+\family default
+ and
+\family typewriter
\backslash
-end{multicols}
+markboth
+\family default
+,
\end_layout
-\end_inset
-
-
+\begin_layout Description
+myuheadings custom header with separated lines,
\end_layout
-\begin_layout Standard
-There are also a few commands provided by
-\family sans
-Foil
-\family default
-TeX that aren't directly supported by LyX but I'll tell you what they do
- and how to use them in section
-\begin_inset space ~
-\end_inset
+\begin_layout Description
+outer page number is placed on outer side of page
+\end_layout
+\end_deeper
+\begin_layout Itemize
+Options
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:unsuppfoils"
+\begin_deeper
+\begin_layout Description
+rmheadings serif titles — default,
+\end_layout
-\end_inset
+\begin_layout Description
+sfheadings sansserif titles,
+\end_layout
-.
+\begin_layout Description
+authortitle on title page first placed is author next title — default,
\end_layout
-\begin_layout Subsection
-Building a Set of Foils
+\begin_layout Description
+titleauthor on title page first placed is title next author,
\end_layout
-\begin_layout Standard
-This section will give a simple introduction to using the different environments
- to build a set of foils.
- If you want to see an example set of foils, take a look at the
-\family typewriter
-Foils.lyx
-\family default
- file you find in LyX's
-\family typewriter
-examples
-\family default
- folder.
+\begin_layout Description
+withmarginpar reserve place on page for margins.
\end_layout
-\begin_layout Subsubsection
-Give It a Title Page
+\end_deeper
+\begin_layout Section
+Paper
\end_layout
\begin_layout Standard
-Unlike other classes that provide
-\family sans
-Title
-\family default
-,
-\family sans
-Author
-\family default
-,
-\family sans
-Date
-\family default
- and
-\family sans
-Abstract
-\family default
- environments,
+The document class
\family sans
-foils
+paper
\family default
- creates the title on a page of its own.
- If you leave out the
+ provides an alternative to the standard
\family sans
-Date
+article
\family default
- environment LaTeX will substitute the current date (every time you regenerate
- the output).
+ class.
+ It provides similar functionality, but you might prefer this layout with
+ sans serif sections, headings, and more.
\end_layout
-\begin_layout Subsubsection
-Start a New Foil
+\begin_layout Section
+RevTeX4
\end_layout
\begin_layout Standard
-As I mentioned earlier, there are four ways of starting a new foil.
- For portrait foils you should use
-\family sans
-Foilhead
-\family default
- or
+by
+\noun on
+Amir Karger
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+The
\family sans
-ShortFoilhead.
+Revtex
+\begin_inset space ~
+\end_inset
+4
\family default
- The difference between these two environments is the amount of space between
- the title of the foil (the foilhead) and the body of the foil.
+ textclass works with the American Physical Sociey's RevTeX 4.0 (the
+\begin_inset Formula $\beta$
+\end_inset
+
+ release of May, 1999) class.
\end_layout
\begin_layout Standard
-Landscape foils are generated using the
+LyX has a
\family sans
-Rotatefoilhead
+Revtex
\family default
- and
+ textclass, which works with RevTeX 3.1.
+ However, v3.1 is basically obsolete, as it works with LaTeX 2.09.
+ That means that it doesn't interact very well with LyX, which requires
+ LaTeX2e, although it has been kludged to work.
+ Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
+ LyX with the
\family sans
-ShortRotatefoilhead
+RevTeX
+\begin_inset space ~
+\end_inset
+
+4
\family default
- environments.
- Again the only difference is the spacing between foilhead and body.
- Both of the short versions have 0.5 inches less separation between the foilhead
- and the body.
-
+ textclass should also be pretty easy to use.
\end_layout
\begin_layout Standard
-One problem with the support for landscape foils is the requirement that
- you have to use the
-\family typewriter
-dvips
-\family default
- driver to generate the PostScript output otherwise the foils won't be rotated.
- It is possible to get landscape foils even if you haven't got the
-\family typewriter
-dvips
-\family default
- driver provided you can feed your foils sideways through your printer ;-)
+These documents are supposed to be used in
+\emph on
+addition
+\emph default
+ to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
+ macros, and assume you'll know what to put in the preamble if necessary.
\end_layout
-\begin_layout Subsubsection
-Theorems, Lemmas, Proofs and more
+\begin_layout Subsection
+Installation
\end_layout
\begin_layout Standard
-Due to a small bug in LyX you can't have two of the same type of these environme
-nts directly following each other.
- They must be separated by something.
- If you try, you will just be extending the previous environment as if you
- had merged the two environments together.
- So, how do you get around this problem? The simplest option is to insert
- some text between the two environments or add a
-\family sans
-LaTeX
-\family default
- environment between the two with just a
-\begin_inset Quotes eld
+All you need to do is install RevTeX 4, as described in the package's README
+ file.
+ The package can be found at The RevTeX 4 Web Site
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://publish.aps.org/revtex4/
+\end_layout
+
+\end_inset
+
+.
+ Install it somewhere that LaTeX can see it.
+ Test it by trying to LaTeX a short RevTeX 4 document in some random directory
+ (i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
\end_inset
+not the directory where you installed the class file.) Then, if you reconfigure
+ LyX, it will find the class file and let you use the RevTeX4 textclass.
+\end_layout
+\begin_layout Standard
+Probably the easiest way to get started is either to import a RevTeX 4 document
+ using
\family typewriter
-%
+tex2lyx
\family default
-
-\begin_inset Quotes erd
+, or to use the
+\family sans
+Revtex
+\begin_inset space ~
\end_inset
- in it.
- This will force LyX to produce two separate environments and hence the
- correct LaTeX output.
- An example is provided in the example file included with the LyX distribution.
- Remember, this problem only occurs if you are trying to place two of the
- same type of theorem-like environments one directly after the other.
+4
+\family default
+ template, found in the templates directory.
\end_layout
-\begin_layout Subsubsection
-Lists
+\begin_layout Subsection
+Preamble Matter
\end_layout
\begin_layout Standard
-You get all the commonly supported list styles found in other classes as
- well as two new ones.
- I'll only describe the new ones here.
- If you want to find out more about the other list environments check out
- the
-\emph on
-User's Guide.
+Optional arguments to
+\family typewriter
-\emph default
- If you intend to use itemized lists you might also want to read about the
-
-\family sans
-Itemize
-\begin_inset space ~
+\backslash
+documentclass
+\family default
+, like
+\begin_inset Quotes eld
\end_inset
-Bullet
+preprint
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+aps
+\begin_inset Quotes erd
+\end_inset
+
+, go in the
+\family sans
+E
+\bar under
+x
+\bar default
+tra
\begin_inset space ~
\end_inset
-Selection
+Options
\family default
- dialog described above in section
+ field in the
+\family sans
+Document
\begin_inset space ~
\end_inset
+Layout
+\family default
+ dialog, as usual.
+ Remember that in RevTeX, at least one optional argument is required!
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:bullet"
+\begin_layout Standard
+Other preamble matter, like
+\family typewriter
+\backslash
+draft
+\family default
+ etc.
+\begin_inset space ~
\end_inset
-.
+goes in the
+\family sans
+La
+\family default
+T
+\family sans
+eX
+\begin_inset space ~
+\end_inset
+
+Preamble
+\family default
+ dialog, also as usual.
+\end_layout
+
+\begin_layout Subsection
+Layouts
\end_layout
\begin_layout Standard
-The two new list styles,
-\family sans
-TickList
+The layouts basically correspond to the commands in RevTeX4.0.
+ For example, the Email layout corresponds to
+\family typewriter
+
+\backslash
+email{}
\family default
- and
+.
+ Note that (at least as of RevTeX 4.0 Beta), the
\family sans
-CrossList
+Address
\family default
-, are designed to make it easier for you to create lists of do's and don'ts
- or right and wrong by providing dedicated environments that use a tick
- or a cross as the label of the list.
- These lists are in fact dedicated variants of the
+ and
\family sans
-Itemize
+Affiliation
\family default
- environment.
- They do however require that you have the
+ layouts are exactly equivalent, so you shouldn't need to use both.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+In case you're curious, both were included so that
\family typewriter
-psnfss
+tex2lyx
\family default
- packages installed.
-\end_layout
-
-\begin_layout Subsubsection
-Figures and Tables
-\end_layout
+ would be able to translate both
+\family typewriter
-\begin_layout Standard
+\backslash
+address
+\family default
+ and
+\family typewriter
-\family sans
-Foil
+\backslash
+affiliation
\family default
-TeX redefines the floating tables and figures so that they appear exactly
- where they are in the text rather than pushing them to the top of the page
- or to some user specified location.
- In fact if you change the float placement settings they are simply ignored.
+.
\end_layout
-\begin_layout Subsubsection
-Page Headers and Footers
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:foilfoot"
-
\end_inset
\end_layout
+\begin_layout Subsection
+Important Notes
+\end_layout
+
\begin_layout Standard
+There are a couple of important unique aspects of RevTeX 4 which might cause
+ bugs that will be even more confusing in LyX.
+\end_layout
-\family sans
-My
-\begin_inset space ~
-\end_inset
+\begin_layout Standard
+In RevTeX, the
+\family typewriter
-Logo
-\family default
- and
-\family sans
-Restriction
+\backslash
+thanks
\family default
- are two commands used to control the left-footer text string.
- The first is meant to allow you to include a graphic logo on your foils
- and defaults to
-\begin_inset Quotes eld
-\end_inset
+ command goes
+\emph on
+outside
+\emph default
+ the
+\family typewriter
--Typeset by
-\family sans
-Foil
+\backslash
+author
\family default
-TeX-
-\begin_inset Quotes erd
-\end_inset
-
-.
- While the second is meant to provide a classification for the audience,
-
+ command.
+ The LyX equivalent is that there is a separate Thanks layout.
+ Do
\emph on
-e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
+not
\emph default
-
-\begin_inset space ~
-\end_inset
-
-Confidential.
- It is empty by default.
+ write footnotes in the
+\family sans
+Author
+\family default
+ layout, or weird things may happen.
+ See the RevTeX 4 documentation for more details.
\end_layout
\begin_layout Standard
-The remaining page corners can be filled by
+Also, the
\family sans
-Right
+Author
\begin_inset space ~
\end_inset
-Footer
+Email
\family default
- (which defaults to page numbers),
+,
\family sans
-Right
+Author
\begin_inset space ~
\end_inset
-Header
+URL
\family default
- (top right) and
+, and
\family sans
-Left
-\begin_inset space ~
-\end_inset
-
-Header
+Thanks
\family default
- (top left).
-\end_layout
-
-\begin_layout Subsection
-Unsupported
+ layouts must be placed
+\emph on
+in between
+\emph default
+ the
\family sans
-Foil
+Author
\family default
-TeX Goodies
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:unsuppfoils"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-All the commands mentioned below need to be set in a
+ layout and the corresponding
\family sans
-LaTeX
+Address
\family default
- environment or as
+ (or equivalent
\family sans
-TeX
+Affiliation
\family default
- within another environment.
+) layout.
+ If you put the
+\family sans
+Thanks
+\family default
+ after the
+\family sans
+Address
+\family default
+, the LaTeX won't compile.
\end_layout
-\begin_layout Subsubsection
-Lengths
+\begin_layout Subsection
+Drawbacks
\end_layout
\begin_layout Standard
-All lengths are adjusted using the
+The main problem with this layout is that you can't use the optional arguments
+ to layouts like Email and Title.
+ (The problem is not unique to this layout; you can't use optional arguments
+ to the Section layouts either.) This means that after you export that file
+ to LaTeX (which you'll need to do eventually to send it in to APS), you'll
+ need to edit the LaTeX file with a text editor to add the optional arguments
+ to set, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+the running title for the page headers.
+ Lacking these layouts makes the
\family typewriter
\backslash
-setlength{
-\family default
-\emph on
-lengthname
-\family typewriter
-\emph default
-}{
+altaffiliation
\family default
-\emph on
-newlength
+ (and the equivalent
\family typewriter
-\emph default
-}
+
+\backslash
+altaddress
\family default
- command.
- Where
+) useless, so the corresponding layouts don't exist, and will have to be
+ added by hand.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
\emph on
-lengthname
+Note from JMarc:
\emph default
- should be replaced by the name given to the length you want to change and
+ actually, LyX 1.3.0 supports some forms of optional arguments, but this layout
+ has not been updated yet to take advantage of it.
+\end_layout
+
+\end_inset
+
-\emph on
-newlength
-\emph default
- is the length value.
- All lengths should be specified in units of length such as inches (
+\end_layout
+
+\begin_layout Section
+Springer Journals (
+\family sans
+svjour
+\family default
+)
+\end_layout
+
+\begin_layout Standard
+by
+\noun on
+Martin Vermeer
+\end_layout
+
+\begin_layout Subsection
+Description
+\end_layout
+
+\begin_layout Standard
+These are the layout files for some of the journal formats used by Springer
+ Verlag and listed on
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.springer.de/author/tex/help-journals.html
+\end_layout
+
+\end_inset
+
+, where you should also go to fetch the class files (yes, these are LaTeX2e
+ now!).
+ It is a modular system: the things common to all journals are implemented
+ in
+\family typewriter
+svjour.inc
+\family default
+, which journal-specific layout files (such as, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\family typewriter
-in
+svjog.layout
\family default
-), millimeters (
+ for Journal of Geodesy) can include.
+\end_layout
+
+\begin_layout Standard
+This means that implementing support for any other Springer journal on this
+ list is as simple as writing your own
\family typewriter
-mm
+sv
\family default
-) or points (
+<myjournal>
\family typewriter
-pt
+.layout
\family default
-) or relative to some document or font-based length such as
+ file following the outline given in
\family typewriter
-
-\backslash
-textwidth
+svjog.layout
\family default
.
\end_layout
\begin_layout Standard
-It's possible to change the spacing between a foilhead and the body of the
- foil by adjusting the length specified by
+It is reasonably well tested only for the Journal of Geodesy.
+
\family typewriter
-
-\backslash
-foilheadskip
+svjour
\family default
-.
- For example, to make
-\emph on
-all
-\emph default
- foilheads 0.5 inches closer to their bodies put the following in the preamble:
-
+ and
+\family typewriter
+svjog
+\family default
+ come with the standard LyX distribution.
+ Install the relevant class file (downloaded from Springer) in a proper
+ directory, reconfigure LaTeX (in the teTeX case by running
\family typewriter
+texhash
+\family default
+, as root if necessary — doesn't LyX take care of this?), reconfigure LyX
+ and it should work.
+\end_layout
-\backslash
-setlength{
-\backslash
-foilheadskip}{-0.5in}
+\begin_layout Subsection
+New styles
\end_layout
\begin_layout Standard
-The spacings around floats can be adjusted by setting these lengths:
+A large number of theorem-like styles —
+\family sans
+Claim, Conjecture,
+\family default
+
+\family sans
+\SpecialChar \ldots{}
+Theorem
+\family default
+.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
-
-\family typewriter
+\begin_layout Standard
-\backslash
-abovefloatskip
+\family sans
+Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
+ Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
\family default
- Separation between the text and the top of the float
+.
+ See the Springer class file documentation for details.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
-
-\family typewriter
-
-\backslash
-abovecaptionskip
-\family default
- Separation between the float and the caption
+\begin_layout Subsection
+Supported journals
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
+\begin_layout Itemize
+\emph on
+Journal of Geodesy
+\emph default
+:
\family typewriter
-
-\backslash
-belowcaptionskip
+svjog.layout
\family default
- Separation between the caption and the following text
+ — Martin Vermeer
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
-
-\family typewriter
+\begin_layout Itemize
-\backslash
-captionwidth
-\family default
- You can make the captions narrower than the surrounding text by adjusting
- this length.
- Best done relative to
+\emph on
+Probability Theory and Related Fields
+\emph default
+:
\family typewriter
-
-\backslash
-textwidth
+svprobth.layout
\family default
-.
+ — Jean-Marc Lasgouttes
\end_layout
\begin_layout Standard
-There are also several title page related lengths that you may find useful
- if you have a long title or several authors:
+Add your own, it isn't so hard!
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
+\begin_layout Subsection
+Credits
+\end_layout
+\begin_layout Standard
+These files are partly based on the older
\family typewriter
-
-\backslash
-abovetitleskip
+ejour2.layout
\family default
- Separation from headers to
-\family sans
-Title
+, which was again based on a tinkered-with version of an old LaTeX 2.09 style
+ file from Springer.
+ All this, and the
+\family typewriter
+ejour2
+\family default
+ layout, are now defunct.
+ Jean-Marc Lasgouttes helped out big in making me find my way around the
+ LyX layout file mechanism.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
+\begin_layout Subsection
+Bugs
+\end_layout
+\begin_layout Standard
+Probably.
+ But probably less than in the old hacked-LaTeX
\family typewriter
-
-\backslash
-titleauthorskip
-\family default
- between
-\family sans
-Title
-\family default
- and
-\family sans
-Author
+ejour2
\family default
- environments
+.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
-
-\family typewriter
+\begin_layout Standard
+Limitations e.
+\begin_inset space \thinspace{}
+\end_inset
-\backslash
-authorauthorskip
-\family default
- between multiple
-\family sans
-Author
-\family default
- lines
+g.: does not display the number for theorem-like layouts, just #.
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
+\begin_layout Section
+Slides [aka
+\noun on
+Sli
+\noun default
+TeX]
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:slitex"
+
+\end_inset
-\family typewriter
-\backslash
-authordateskip
-\family default
- between the
-\family sans
-Author
-\family default
- and the
-\family sans
-Date
\end_layout
-\begin_layout Labeling
-\labelwidthstring MMMMMMMMMMM
+\begin_layout Standard
+by
+\noun on
+John Weiss
+\noun default
+
+\end_layout
-\family typewriter
+\begin_layout Subsection
+Introduction
+\end_layout
-\backslash
-dateabstractskip
-\family default
- between the
-\family sans
-Date
-\family default
+\begin_layout Standard
+This section describes how to use LyX to make slides for overhead projectors.
+ There are two document classes that can do this: the default slides class
and the
\family sans
-Abstract
+Foil
+\family default
+TeX slides class.
+ This section documents the former.
\end_layout
\begin_layout Standard
-The last length related command affects all the list environments.
- If you place
-\family typewriter
-
-\backslash
-zerolistvertdimens
-\family default
-
-\emph on
-inside
-\emph default
- a list environment then all the vertical spacing between the list items
- is removed.
- Note that this is a command not a length so it doesn't require
-\family typewriter
-
-\backslash
-setlength
-\family default
- like the stuff mentioned above.
+I'm going to say this again, nice and clear, so that there's no misunderstanding
+:
\end_layout
-\begin_layout Subsubsection
-Headers and Footers
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
\end_layout
\begin_layout Standard
-The
-\family typewriter
+\align center
+
+\size large
+This section documents the class
+\begin_inset Quotes eld
+\end_inset
-\backslash
-LogoOn
-\family default
- and
-\family typewriter
-\backslash
-LogoOff
-\family default
- commands control whether the logo in the
\family sans
-MyLogo
+slides (default)
\family default
- definition appear on a given page.
- If you put
-\family typewriter
-\backslash
-LogoOff
-\family default
- in the preamble then none of the foils will have the logo on them.
- If you don't want the logo on a particular page place the
-\family typewriter
+\begin_inset Quotes erd
+\end_inset
+
+
+\emph on
+only.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
-\backslash
-LogoOff
-\family default
- directly after the foilhead of that page and the
-\family typewriter
-\backslash
-LogoOn
-\family default
- directly after the next foilhead.
\end_layout
\begin_layout Standard
-If you decide to use the
+If you're looking for the documentation for
+\begin_inset Quotes eld
+\end_inset
+
+
\family sans
-fancy
+slides (FoilTeX)
\family default
- page style setting in the
-\family sans
-Document
+
+\begin_inset Quotes erd
+\end_inset
+
+, check out section
\begin_inset space ~
\end_inset
-Layout
-\family default
- dialog you should probably add
-\family typewriter
-\backslash
-let
-\backslash
-headwidth
-\backslash
-textwidth
-\family default
- to your preamble so headers and footers on landscape pages are correctly
- placed when rotated.
- This is due to some clashes between the page layouts provided by the
-\family sans
-fancyheadings
-\family default
- package and the
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:foiltex"
+
+\end_inset
+
+.
+ The
\family sans
foils
\family default
- class.
-\end_layout
+ class [
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Section
-Latex8 (IEEE Conference Papers)
-\end_layout
-\begin_layout Standard
-by
-\noun on
-Allan Rae
-\end_layout
+\family sans
+slides (FoilTeX)
+\family default
-\begin_layout Subsection
-Introduction
-\end_layout
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-Since this class is specifically for writing submissions to IEEE sponsored
- conferences I strongly recommend that you get a copy of their Authors Kit.
- The
+] is actually somewhat better than the default
\family sans
-latex.sty
+slides
\family default
- package and associated bibliography style file is included in the kit.
- The Authors Kit is usually sent out by email once your initial submission
- has been accepted.
- There is a lot of useful information in the Authors Kit explaining formatting
- restrictions and so on and I will assume you have read this since that
- means I don't have to repeat it all here.
-\end_layout
+ class,
+\begin_inset Foot
+status collapsed
-\begin_layout Subsection
-Getting Started
+\begin_layout Plain Layout
+\SpecialChar \ldots{}
+or so I've been told repeatedly by its advocates.
+ Having never used it, I have no idea if this claim is true or not.
\end_layout
-\begin_layout Standard
-[AR\SpecialChar \@.
- more to come]
-\end_layout
+\end_inset
-\begin_layout Subsection
-Supported Environments
+ which this section documents.
\end_layout
-\begin_layout Itemize
-
-\family sans
-Standard
-\end_layout
+\begin_layout Standard
+This class is the LaTeX2e improvement of the old
+\noun on
+Sli
+\noun default
+TeX package.
+ Every LaTeX2e distribution includes this class [which I'll just refer to
+ as
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Itemize
\family sans
-Title
-\end_layout
+slides
+\family default
-\begin_layout Itemize
+\begin_inset Quotes erd
+\end_inset
+ from now on], so you're bound to have it.
+ As I noted earlier, there are other classes, such as
\family sans
-Author
+foils
+\family default
+, which also produce slides for overhead projectors and do a better job
+ at it.
+ However, there are some things which
+\family sans
+slides
+\family default
+ can do which the others can't, such as generate overlays.
+ Read on to learn more!
\end_layout
-\begin_layout Itemize
+\begin_layout Subsection
+Getting Started
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:slidesetup"
-\family sans
-E-mail
-\end_layout
+\end_inset
-\begin_layout Itemize
-\family sans
-Affiliation
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+Obviously, to use this document class, you need to select
+\begin_inset Quotes eld
+\end_inset
+
\family sans
-Abstract
-\end_layout
+slides (default)
+\family default
-\begin_layout Itemize
+\begin_inset Quotes erd
+\end_inset
+ from the class list in the
\family sans
-Section
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog.
+ There are some other special things you should know about this class:
\end_layout
\begin_layout Itemize
-
+Don't bother changing the options
\family sans
-SubSection
+Sides and Columns
+\family default
+.
+ They're not supported by the
+\family sans
+slides
+\family default
+ class, anyways.
\end_layout
\begin_layout Itemize
-
+The option
\family sans
-Caption
-\end_layout
+Page
+\begin_inset space ~
+\end_inset
-\begin_layout Subsection
-Differences Between Screen and Paper
+style
+\family default
+ behaves a bit differently for this class.
+ The possible choices and what they do are as follows:
\end_layout
-\begin_layout Standard
-There are slight differences in appearance mainly with the presentation
- of section counters.
- On screen the trailing period of the section counter is missing but it
- will appear in the output so don't let this worry you.
+\begin_deeper
+\begin_layout Description
+
+\family sans
+plain
+\family default
+ The final output contains page numbers in the lower right corner.
\end_layout
-\begin_layout Section
-Hollywood (Hollywood spec scripts)
-\end_layout
+\begin_layout Description
-\begin_layout Standard
-by
-\shape smallcaps
-Garst Reese
+\family sans
+headings
+\family default
+ Like
+\family sans
+plain
+\family default
+, but also prints out any time markers you've put in.
+ This is the default.
\end_layout
-\begin_layout Subsection
-Introduction
+\begin_layout Description
+
+\family sans
+empty
+\family default
+ The final output contains no page numbers, time markers, or alignment markers.
\end_layout
-\begin_layout Standard
-Getting the format of a Hollywood script right is a
+\end_deeper
+\begin_layout Itemize
+The
+\family sans
+slides
+\family default
+ class has an extra option:
+\family typewriter
+clock
+\family default
+.
+ To use it, put
\begin_inset Quotes eld
\end_inset
-rite of passage.
+
+\family typewriter
+clock
+\family default
+
\begin_inset Quotes erd
\end_inset
- It is designed to make the readers focus on content and to be easy and
- familiar for the actors to read.
- Each page of a script should be one minute of film.
- Nothing goes in a script that you cannot see or hear on screen.
- The courier 12 pt font should be used throughout.
- No italics.
-\end_layout
-
-\begin_layout Subsection
-Special problems
+ in the extra class options.
\end_layout
+\begin_deeper
\begin_layout Standard
-Speakers' lines should NEVER break in mid-sentence.
- If a speaker's lines continue over a page break, repeat the
+Using this options allows you to add time markers to
\family sans
-Speaker
+Note
\family default
- title followed by (Cont'd).
-\end_layout
+s.
+ See section
+\begin_inset space ~
+\end_inset
-\begin_layout Subsection
-Special features
-\end_layout
-\begin_layout Standard
-Insert the
-\family sans
-Speaker
-\family default
- names as labels then cross-reference the label to insert the name.
- The cross-reference dialog will show the current cast of characters.
- You can use this to insert the speaker name in narratives also.
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:slideNote"
-\begin_layout Subsection
-Paper size and Margins
+\end_inset
+
+ for more details.
\end_layout
+\end_deeper
\begin_layout Standard
-USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
-\end_layout
+You can also use the template file
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Subsection
-Environments
-\end_layout
-\begin_layout Standard
-The following environments are available.
- You can use hollywood.bind to get the bind keys shown at the right.
-\end_layout
+\family typewriter
+slides.lyx
+\family default
-\begin_layout Itemize
+\begin_inset Quotes erd
+\end_inset
+ to automatically set up a document to use the
\family sans
-Standard
-\begin_inset Newline newline
+slides
+\family default
+ class [using
+\family sans
+File\SpecialChar \menuseparator
+New
+\begin_inset space ~
\end_inset
+from
+\begin_inset space ~
+\end_inset
+Template
\family default
-Used where nothing else works.
- Try to avoid it.
+ to open your new document].
+ The template file also contains some examples of the special paragraph
+ environments used by this class.
+ I'll describe those next.
\end_layout
-\begin_layout Itemize
+\begin_layout Subsection
+Paragraph Environments
+\end_layout
+
+\begin_layout Subsubsection
+Supported Environments
+\end_layout
+\begin_layout Standard
+The first thing you'll notice when you start up a new
\family sans
-FADE_IN
+slides
\family default
-:
-\begin_inset space \hfill{}
+ document is the font size and type: it's the equivalent of the size
+\begin_inset Quotes eld
\end_inset
\family sans
-M-z S-I
+Largest
\family default
-\begin_inset Newline newline
+\begin_inset Quotes erd
\end_inset
-Usually followed by something like
+ in the
+\family sans
+Sans
+\begin_inset space ~
+\end_inset
+
+Serif
+\family default
+ font.
+ This is also what's used in the output.
+ Think of this as a
\begin_inset Quotes eld
\end_inset
-on Sally waking up.
+visual cue
\begin_inset Quotes erd
\end_inset
+ to remind you that this is a slide.
+ Your final slides will use a larger font; ergo, you'll have less space.
+ Of course, the larger default screen font isn't WYSIWYG, only a reminder.
+\end_layout
+\begin_layout Standard
+The next thing that becomes obvious is the changes to the paragraph environment
+ pull-down box [at the far-left end of the toolbar].
+ Most of the paragraph environments you're used to seeing are missing.
+ There are also five new ones.
+ That's because the
+\family sans
+slides
+\family default
+ class itself only supports certain paragraph environments:
\end_layout
\begin_layout Itemize
\family sans
-INT:
-\begin_inset space \hfill{}
-\end_inset
+Standard
+\end_layout
-M-z i
-\begin_inset Newline newline
-\end_inset
+\begin_layout Itemize
+\family sans
+Itemize
+\end_layout
-\family default
-Introduces a new INTERIOR camera set-up.
- Always followed by DAY or NIGHT, or something similar to define the lighting
- required.
- Everthing on this line in CAPS.
+\begin_layout Itemize
+
+\family sans
+Enumerate
\end_layout
\begin_layout Itemize
\family sans
-EXT:
-\begin_inset space \hfill{}
-\end_inset
+Description
+\end_layout
-M-z e
-\begin_inset Newline newline
-\end_inset
+\begin_layout Itemize
+\family sans
+List
+\end_layout
-\family default
-Introduces a new EXTERIOR camera set-up.
- Everthing on this line in CAPS.
+\begin_layout Itemize
+
+\family sans
+Quotation
\end_layout
\begin_layout Itemize
\family sans
-Speaker
-\begin_inset space \hfill{}
-\end_inset
+Quote
+\end_layout
-M-z s
-\begin_inset Newline newline
-\end_inset
+\begin_layout Itemize
+
+\family sans
+Verse
+\end_layout
+\begin_layout Itemize
-\family default
-The character speaking.
+\family sans
+Caption
\end_layout
\begin_layout Itemize
\family sans
-Parenthetical
-\begin_inset space \hfill{}
-\end_inset
+LyX-Code
+\end_layout
-M-z p
-\begin_inset Newline newline
-\end_inset
+\begin_layout Itemize
+
+\family sans
+Comment
+\end_layout
+
+\begin_layout Standard
+All of the other standard environments, including the section-heading environmen
+ts, aren't used in the
+\family sans
+slides
+\family default
+ class.
+\end_layout
+
+\begin_layout Standard
+On the other hand, you'll notice the following new environments:
+\end_layout
+\begin_layout Itemize
-\family default
-Instructions to the speaker.
- The () are automatically inserted, but only the ( will show in LyX.
- Both will be printed.
+\family sans
+Slide
\end_layout
\begin_layout Itemize
\family sans
-Dialogue
-\begin_inset space \hfill{}
-\end_inset
+Overlay
+\end_layout
-M-z d
-\begin_inset Newline newline
-\end_inset
+\begin_layout Itemize
+\family sans
+Note
+\end_layout
+
+\begin_layout Itemize
-\family default
-What the
\family sans
-Speaker
-\family default
- says.
+InvisibleText
\end_layout
\begin_layout Itemize
\family sans
-Transition
-\begin_inset space \hfill{}
-\end_inset
+VisibleText
+\end_layout
-M-z t
-\begin_inset Newline newline
+\begin_layout Standard
+These five are kind of quirky, due to a
+\begin_inset Quotes eld
\end_inset
+feature
+\begin_inset Quotes erd
+\end_inset
-\family default
-Camera movement instruction.
- e.
-\begin_inset space \thinspace{}
+ in LyX.
+ You see, LyX doesn't permit you to nest any other paragraph environment
+ into an empty environment.
+ Now, that's fine and dandy, but it means that you wouldn't be able to start
+ a slide with anything except plain text.
+ To deal with this, I've performed a little
+\begin_inset Quotes eld
\end_inset
-g.
-\begin_inset space ~
+LaTeX magic.
+\begin_inset Quotes erd
\end_inset
-CUT TO:
+
\end_layout
-\begin_layout Itemize
+\begin_layout Subsubsection
+Quirks of the New Environments
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:slideQuirk"
-\family sans
-FADE OUT:
-\begin_inset space \hfill{}
\end_inset
-M-z S-I
+
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+All five of the new paragraph environments are somewhat quirky due to inherent
+ limitiations in the current version of LyX.
+ As I just mentioned, LyX forbids environments that begin with another environme
+nt.
+ To get around this, the
+\family sans
+Slide
+\family default
+ environment isn't a paragraph environment as described in the
+\emph on
+User's Guide
+\emph default
+.
+
+\end_layout
+\begin_layout Standard
+You should consider
\family sans
-Author
-\begin_inset space \hfill{}
+Slide
+\family default
+,
+\family sans
+Overlay
+\family default
+, and
+\family sans
+Note
+\family default
+ to be
+\begin_inset Quotes eld
\end_inset
-M-z S-A
-\end_layout
-
-\begin_layout Itemize
+pseudo-environments.
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Title
-\begin_inset space \hfill{}
+ They look like a section heading or a
+\begin_inset Quotes eld
\end_inset
-M-z S-T
-\end_layout
-\begin_layout Itemize
+\family sans
+Caption
+\family default
+,
+\begin_inset Quotes erd
+\end_inset
+ but really begin a [and, if necessary, end the previous] paragraph environment.
+ Likewise, treat
\family sans
-Right_Address
-\begin_inset space \hfill{}
+InvisibleText
+\family default
+ and
+\family sans
+VisibleText
+\family default
+ as
+\begin_inset Quotes eld
\end_inset
-M-z r
-\end_layout
+pseudo-commands.
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Subsection
-Script jargon
+ These two perform some action.
\end_layout
-\begin_layout Itemize
-(O.S) --- off screen
+\begin_layout Standard
+A common feature of all five environments,
+\family sans
+Slide
+\family default
+,
+\family sans
+Overlay
+\family default
+,
+\family sans
+Note
+\family default
+,
+\family sans
+InvisibleText
+\family default
+ and
+\family sans
+VisibleText
+\family default
+, is a rather long-ish label.
+ The text following this label — ordinarily the contents of the paragraph
+ environment — is utterly irrelevant for
+\family sans
+Slide
+\family default
+,
+\family sans
+Overlay
+\family default
+,
+\family sans
+Note
+\family default
+,
+\family sans
+InvisibleText
+\family default
+ and
+\family sans
+VisibleText
+\family default
+.
+ LyX completely ignores it.
+ In fact, you can leave these five environments completely empty.
+
\end_layout
-\begin_layout Itemize
-(V.0) --- voice over
+\begin_layout Standard
+While you don't
+\emph on
+have
+\emph default
+ to put any text after the rather long-ish label, you might want to.
+ This could be a short description of the contents of the
+\family sans
+Slide
+\family default
+, for example.
+ In that case, enter in your descriptive comment and hit
+\family sans
+Return
+\family default
+ as you normally would.
\end_layout
-\begin_layout Itemize
-b.g.
- --- background
+\begin_layout Standard
+If, on the other hand, you don't want to enter in any descriptive text,
+ you'll hit another LyX quirk.
+ LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
+ environment until you put something in the old one.
+ So, do this:
\end_layout
\begin_layout Itemize
-C.U.
- --- close-up
+Start entering the text that will
+\emph on
+follow
+\emph default
+ the new
+\family sans
+Slide
+\family default
+,
+\family sans
+Overlay
+\family default
+,
+\family sans
+Note
+\family default
+,
+\family sans
+InvisibleText
+\family default
+ or
+\family sans
+VisibleText
+\family default
+.
+
\end_layout
\begin_layout Itemize
-PAN --- camera movement
+Now move to the beginning of that paragraph.
+
\end_layout
\begin_layout Itemize
-INSERT --- cut to close-up of
-\end_layout
-
-\begin_layout Section
-Broadway
-\end_layout
-
-\begin_layout Standard
-by
-\shape smallcaps
-Garst Reese
+Next, hit
+\family sans
+Return
+\family default
+.
+
\end_layout
-\begin_layout Subsection
-Introduction
+\begin_layout Itemize
+Finally, change this new, empty paragraph to a
+\family sans
+Slide
+\family default
+,
+\family sans
+Overlay
+\family default
+,
+\family sans
+Note
+\family default
+,
+\family sans
+InvisibleText
+\family default
+ or
+\family sans
+VisibleText
+\family default
+.
+
\end_layout
\begin_layout Standard
-Broadway is for writing plays.
- The format is more decorative than Hollywood, and much less standardized.
- This format should be suitable for workshops.
+Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
+
\end_layout
\begin_layout Subsection
-Special problems
+Making a Presentation with
+\family sans
+Slide
+\family default
+,
+\family sans
+Overlay
+\family default
+ and
+\family sans
+Note
\end_layout
-\begin_layout Standard
-The same as in Hollywood.
+\begin_layout Subsubsection
+Using the
+\family sans
+Slide
+\family default
+ Environment
\end_layout
-\begin_layout Subsection
-Special features
+\begin_layout Standard
+If you're expecting this section to teach you how to actually make a presentatio
+n, you'll be sorely disappointed.
+ Naturally, I'll describe all of the ways the
+\family sans
+slides
+\family default
+ class can assist you in preparing the materials for a presentation.
+ Filling in the contents, however, is up to you.
+ [Then again, that
+\emph on
+is
+\emph default
+ the LyX philosophy.]
\end_layout
\begin_layout Standard
-Insert the
+Choosing the
\family sans
-Speaker
+Slide
\family default
- names as labels then cross-reference the label to insert the name.
- The cross-reference dialog will show the current cast of characters.
-\end_layout
+ environment [in the manner described in section
+\begin_inset space ~
+\end_inset
-\begin_layout Subsection
-Paper size and Margins
-\end_layout
-\begin_layout Standard
-USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:slideQuirk"
-\begin_layout Subsection
-Environments
-\end_layout
+\end_inset
-\begin_layout Standard
-The following environments are available.
- You can use broadway.bind to get the bind keys shown at the right.
-\end_layout
+] tells LyX to begin a new slide [duh].
+ The label for this environment/
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Itemize
+pseudo-command
+\begin_inset Quotes erd
+\end_inset
-\family sans
-Standard
-\begin_inset Newline newline
+ is an
+\begin_inset Quotes eld
+\end_inset
+
+ASCII line,
+\begin_inset Quotes erd
\end_inset
+ in cool blue, followed by the label,
+\begin_inset Quotes eld
+\end_inset
-\family default
-You should not have to use this, but it is here for anything that does not
- fit otherwise.
+NewSlide:
+\begin_inset Quotes erd
+\end_inset
+
+.
+ Any text or paragraph environments that follow this one go on the new slide.
+ It's that simple.
\end_layout
-\begin_layout Itemize
+\begin_layout Standard
+Slides are probably the only time you'll need to forcibly end pages in LyX
+ (this can be specified in the
+\family sans
+Paragraph Layout
+\family default
+ dialog).
+ In fact, you'll want to, once you finish entering the contents of one slide.
+ If you've entered more text than can physically fit on a slide, the extra
+ overflows onto a new slide.
+ I don't recommend doing this, however, since the overflow slide won't have
+ any page number on it.
+ Furthermore, it may interfere with any
+\family sans
+Overlay
+\family default
+ you've made to accompany the oversized
+\family sans
+Slide
+\family default
+.
+\end_layout
+\begin_layout Standard
+The
\family sans
-Narrative
-\begin_inset space \hfill{}
+Overlay
+\family default
+ and
+\family sans
+Note
+\family default
+ environments work the same way as the
+\family sans
+Slide
+\family default
+ environment.
+ They both create an
+\begin_inset Quotes eld
\end_inset
-M-z n
-\begin_inset Newline newline
+ASCII line
+\begin_inset Quotes erd
\end_inset
+ followed by a label [
+\begin_inset Quotes eld
+\end_inset
-\family default
-Used to describe stage setting and the action.
- First use of speaker names in all CAPs.
-\end_layout
+NewOverlay:
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Itemize
+ and
+\begin_inset Quotes eld
+\end_inset
-\family sans
-ACT
-\begin_inset space \hfill{}
+NewNote:
+\begin_inset Quotes erd
\end_inset
-M-z a
-\begin_inset Newline newline
+, respectively].
+ The color is a stunning magenta instead of blue, and the
+\begin_inset Quotes eld
+\end_inset
+
+ASCII line
+\begin_inset Quotes erd
\end_inset
+ will look different, in style and in length.
+ The label fonts of all three also differ from one another.
+\end_layout
+\begin_layout Standard
+As with a
+\family sans
+Slide
\family default
-Automatically numbered.
- On screen it will be arabic, but will print as Roman.
+, if the contents of a
+\family sans
+Note
+\family default
+ or
+\family sans
+Overlay
+\family default
+ exceed the physical size of a slide or sheet of paper, the extra will overflow
+ onto a new sheet.
+ Again, you should avoid this.
+ It defeats the whole purpose of
+\family sans
+Note
+\family default
+s and
+\family sans
+Overlay
+\family default
+s.
\end_layout
-\begin_layout Itemize
+\begin_layout Subsubsection
+Using
+\family sans
+Overlay
+\family default
+ with
+\family sans
+Slide
+\end_layout
+\begin_layout Standard
+The idea behind an
+\family sans
+Overlay
+\family default
+ is a slide that sits atop another slide.
+ Perhaps you wish to discuss a figure on the main
+\family sans
+Slide
+\family default
+ before displaying the text associated with it.
+ One way to accomplish this is tape a flap of dark paper over the part of
+ the
+\family sans
+Slide
+\family default
+ you want to display later.
+ This method fails, however, if you wish to overlap one graph with another,
+ for example.
+ You would then have to fumble while speaking to align the two separate,
+ overlapping
\family sans
-ACT*
-\begin_inset space \hfill{}
-\end_inset
-
-M-z S at
-\begin_inset Newline newline
-\end_inset
-
-
+Slide
\family default
-Subtitle for
+s to align the two graphs.
+ The use of an
\family sans
-ACT.
-
+Overlay
\family default
- It is just centered text.
+ environment in both cases makes life much easier.
\end_layout
-\begin_layout Itemize
-
+\begin_layout Standard
+Each
\family sans
-SCENE
-\begin_inset space \hfill{}
+Overlay
+\family default
+ receives the page number of its
+\begin_inset Quotes eld
\end_inset
-M-z S-S
-\begin_inset Newline newline
+parent
+\begin_inset Quotes erd
\end_inset
-
-\family default
-Not automatically numbered.
- You supply the number.
- This is because I couldn't figure out how.
-\end_layout
-
-\begin_layout Itemize
-
+
\family sans
-AT_RISE:
-\begin_inset space \hfill{}
-\end_inset
-
-M-z S-R
-\begin_inset Newline newline
+Slide
+\family default
+, appended by
+\begin_inset Quotes eld
\end_inset
+\family typewriter
+-a
\family default
-A special case of Narrative to describe the setting and action as the curtain
- rises.
-\end_layout
-
-\begin_layout Itemize
-\family sans
-Speaker
-\begin_inset space \hfill{}
+\begin_inset Quotes erd
\end_inset
-M-z s
-\begin_inset Newline newline
+.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Presumably, mutliple
+\family sans
+Overlay
+\family default
+s would have
+\begin_inset Quotes eld
\end_inset
+\family typewriter
+-a
\family default
-The speaker's (actor's) title, centered in all CAPS.
-\end_layout
-
-\begin_layout Itemize
-\family sans
-Parenthetical
-\begin_inset space \hfill{}
+\begin_inset Quotes erd
\end_inset
-M-z p
-\begin_inset Newline newline
+,
+\begin_inset Quotes eld
\end_inset
+\family typewriter
+-b
\family default
-Instructions to the speaker.
- The parentheses are automatically inserted.
- The ( will appear on screen, but both will be in the printed play.
- This environment is only used within
-\family sans
-Dialogue
-\family default
-.
-\end_layout
-
-\begin_layout Itemize
-\family sans
-Dialogue
-\begin_inset space \hfill{}
+\begin_inset Quotes erd
\end_inset
-M-z d
-\begin_inset Newline newline
+,
+\begin_inset Quotes eld
\end_inset
+\family typewriter
+-c
\family default
-What the Speaker says.
-\end_layout
-
-\begin_layout Itemize
-\family sans
-CURTAIN
-\begin_inset space \hfill{}
+\begin_inset Quotes erd
\end_inset
-M-z S-C
-\begin_inset Newline newline
+, etc.
+\begin_inset space ~
\end_inset
-
+appended to the page number of the parent
+\family sans
+Slide
\family default
-The curtain comes down.
+.
+
\end_layout
-\begin_layout Itemize
-
-\family sans
-Title
-\begin_inset space \hfill{}
\end_inset
-M-z S-T
-\end_layout
-
-\begin_layout Itemize
-
+ Clearly, you want the contents of both the
\family sans
-Author
-\begin_inset space \hfill{}
-\end_inset
-
-M-z S-A
-\end_layout
-
-\begin_layout Itemize
-
+Slide
+\family default
+ and the
\family sans
-Right_Address
-\begin_inset space \hfill{}
+Overlay
+\family default
+ to each fit on a single physical slide! You should probably consider an
+
+\family sans
+Overlay
+\family default
+ as
+\begin_inset Quotes eld
\end_inset
-M-z r
-\end_layout
-
-\begin_layout Standard
-Hello there.
-\end_layout
-
-\begin_layout Section
-RevTeX4
-\end_layout
-
-\begin_layout Standard
-by
-\noun on
-Amir Karger
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
+part of
+\begin_inset Quotes erd
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-\noindent
-The
+ a
\family sans
-Revtex
-\begin_inset space ~
-\end_inset
-
-4
+Slide
\family default
- textclass works with the American Physical Sociey's RevTeX 4.0 (the
-\begin_inset Formula $\beta$
-\end_inset
-
- release of May, 1999) class.
-\end_layout
-
-\begin_layout Standard
-LyX has a
+.
+ Indeed, the LyX
\family sans
-Revtex
+slides
\family default
- textclass, which works with RevTeX 3.1.
- However, v3.1 is basically obsolete, as it works with LaTeX 2.09.
- That means that it doesn't interact very well with LyX, which requires
- LaTeX2e, although it has been kludged to work.
- Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
- LyX with the
+ class provides a visual cue for this: the label at the start of an
\family sans
-RevTeX
-\begin_inset space ~
-\end_inset
-
-4
+Overlay
\family default
- textclass should also be pretty easy to use.
-\end_layout
-
-\begin_layout Standard
-These documents are supposed to be used in
-\emph on
-addition
-\emph default
- to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
- macros, and assume you'll know what to put in the preamble if necessary.
-\end_layout
-
-\begin_layout Subsection
-Installation
+ is shorter than that at the start of a
+\family sans
+Slide
+\family default
+.
+ Lastly, when you generate printable output, you'll find alignment markers
+ in all four corners of both the
+\family sans
+Overlay
+\family default
+ page and its parent
+\family sans
+Slide
+\family default
+.
+ These will assist you in lining up the two physical slides.
\end_layout
\begin_layout Standard
-All you need to do is install RevTeX 4, as described in the package's README
- file.
- The package can be found at The RevTeX 4 Web Site
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://publish.aps.org/revtex4/
-\end_layout
-
-\end_inset
-
+The major problem in overlaying two slides is aligning the contents of the
+ two transparencies.
+ How much space should you leave for that graph on the second slide? Worse
+ still, what if you want a graph and a sentence on second slide, but there
+ is text on the main transparency that goes in between them? You could try
+ and insert vertical space of the right size.
+ The better way is to use
+\family sans
+InvisibleText
+\family default
+ and
+\family sans
+VisibleText
+\family default
.
- Install it somewhere that LaTeX can see it.
- Test it by trying to LaTeX a short RevTeX 4 document in some random directory
- (i.e., not the directory where you installed the class file.) Then, if you
- reconfigure LyX, it will find the class file and let you use the RevTeX4
- textclass.
\end_layout
\begin_layout Standard
-Probably the easiest way to get started is either to import a RevTeX 4 document
- using
-\family typewriter
-tex2lyx
+As their names imply,
+\family sans
+InvisibleText
\family default
-, or to use the
+ and
\family sans
-Revtex
+VisibleText
+\family default
+ are two command-like paragraph environments that make all subsequent text
+ invisible and visible, respectively.
+ Note from section
\begin_inset space ~
\end_inset
-4
-\family default
- template, found in the templates directory.
-\end_layout
-\begin_layout Subsection
-Preamble Matter
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:slideQuirk"
-\begin_layout Standard
-Optional arguments to
-\family typewriter
+\end_inset
-\backslash
-documentclass
+ that you don't place anything
+\emph on
+into
+\emph default
+ these two environments, however.
+ When you create an
+\family sans
+InvisibleText
\family default
-, like
+, it inserts a centered, sky-blue label into the page reading
\begin_inset Quotes eld
\end_inset
-preprint
+<Invisible Text Follows>
\begin_inset Quotes erd
\end_inset
- and
+.
+ For paragraphs following this label, the parts of the
+\family sans
+Slide
+\family default
+ [or
+\family sans
+Overlay
+\family default
+; it doesn't matter which] where they would be contain instead blank space.
+
+\end_layout
+
+\begin_layout Standard
+For
+\family sans
+VisibleText
+\family default
+, the corresponding centered label is
\begin_inset Quotes eld
\end_inset
-aps
+<Visible Text Follows>
\begin_inset Quotes erd
\end_inset
-, go in the
+ in blazing green.
+ Paragraphs following this label behave normally.
+ Note that the beginning of a new
\family sans
-E
-\bar under
-x
-\bar default
-tra
-\begin_inset space ~
-\end_inset
-
-Options
+Slide
\family default
- field in the
+,
\family sans
-Document
-\begin_inset space ~
-\end_inset
-
-Layout
+Overlay
\family default
- dialog, as usual.
- Remember that in RevTeX, at least one optional argument is required!
-\end_layout
-
-\begin_layout Standard
-Other preamble matter, like
-\family typewriter
-
-\backslash
-draft
+, or
+\family sans
+Note
\family default
- etc.
-\begin_inset space ~
-\end_inset
-
-goes in the
+ automatically shuts off an
\family sans
-La
+InvisibleText
\family default
-T
+.
+ It's therefore not necessary to use
\family sans
-eX
-\begin_inset space ~
-\end_inset
-
-Preamble
+VisibleText
\family default
- dialog, also as usual.
-\end_layout
-
-\begin_layout Subsection
-Layouts
+ at the end of a
+\family sans
+Slide
+\family default
+.
\end_layout
\begin_layout Standard
-The layouts basically correspond to the commands in RevTeX4.0.
- For example, the Email layout corresponds to
-\family typewriter
-
-\backslash
-email{}
-\family default
-.
- Note that (at least as of RevTeX 4.0 Beta), the
+By now, it should be obvious how to create overlay transparencies using
+ the proper combination of
\family sans
-Address
+InvisibleText
\family default
and
\family sans
-Affiliation
-\family default
- layouts are exactly equivalent, so you shouldn't need to use both.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-In case you're curious, both were included so that
-\family typewriter
-tex2lyx
+VisibleText
\family default
- would be able to translate both
-\family typewriter
-
-\backslash
-address
+ on a
+\family sans
+Slide
\family default
and
-\family typewriter
-
-\backslash
-affiliation
+\family sans
+Overlay
\family default
-.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Important Notes
+:
\end_layout
-\begin_layout Standard
-There are a couple of important unique aspects of RevTeX 4 which might cause
- bugs that will be even more confusing in LyX.
+\begin_layout Enumerate
+Create a
+\family sans
+Slide
+\family default
+, including everything that will appear on it, whether on the main slide
+ or on the
+\family sans
+Overlay
+\family default
+.
\end_layout
-\begin_layout Standard
-In RevTeX, the
-\family typewriter
-
-\backslash
-thanks
+\begin_layout Enumerate
+Before each figure or paragraph that will appear only on the
+\family sans
+Overlay
\family default
- command goes
-\emph on
-outside
-\emph default
- the
-\family typewriter
-
-\backslash
-author
+, insert an
+\family sans
+InvisibleText
\family default
- command.
- The LyX equivalent is that there is a separate Thanks layout.
- Do
-\emph on
-not
-\emph default
- write footnotes in the
+ environment.
+ If necessary, insert a
+\family sans
+VisibleText
+\family default
+ environment after the
\family sans
-Author
+Overlay
\family default
- layout, or weird things may happen.
- See the RevTeX 4 documentation for more details.
+-only text.
\end_layout
-\begin_layout Standard
-Also, the
-\family sans
-Author
-\begin_inset space ~
-\end_inset
-
-Email
-\family default
-,
+\begin_layout Enumerate
+Start an
\family sans
-Author
-\begin_inset space ~
-\end_inset
-
-URL
+Overlay
\family default
-, and
+ immediately following the
\family sans
-Thanks
+Slide
\family default
- layouts must be placed
-\emph on
-in between
-\emph default
- the
+.
+\end_layout
+
+\begin_layout Enumerate
+Copy the contents of this
\family sans
-Author
+Slide
\family default
- layout and the corresponding
+ into the
\family sans
-Address
+Overlay
\family default
- (or equivalent
+.
+\end_layout
+
+\begin_layout Enumerate
+Within the
\family sans
-Affiliation
+Overlay
\family default
-) layout.
- If you put the
+, change all of the
\family sans
-Thanks
+InvisibleText
\family default
- after the
+ lines to
\family sans
-Address
+VisibleText
\family default
-, the LaTeX won't compile.
-\end_layout
-
-\begin_layout Subsection
-Drawbacks
+ and vice-versa.
\end_layout
\begin_layout Standard
-The main problem with this layout is that you can't use the optional arguments
- to layouts like Email and Title.
- (The problem is not unique to this layout; you can't use optional arguments
- to the Section layouts either.) This means that after you export that file
- to LaTeX (which you'll need to do eventually to send it in to APS), you'll
- need to edit the LaTeX file with a text editor to add the optional arguments
- to set, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g., the running title for the page headers.
- Lacking these layouts makes the
-\family typewriter
-
-\backslash
-altaffiliation
+That's it.
+ You've just made an
+\family sans
+Overlay
\family default
- (and the equivalent
-\family typewriter
+.
+\end_layout
-\backslash
-altaddress
+\begin_layout Standard
+There's one problem with the way I've designed the LyX
+\family sans
+slides
\family default
-) useless, so the corresponding layouts don't exist, and will have to be
- added by hand.
+ class: you can't make text in the middle of a paragraph invisible, nor
+ make text in the middle of an invisible paragraph visible again.
+ To accomplish this feat, you'll need to use some inlined LaTeX codes.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\emph on
-Note from JMarc:
-\emph default
- actually, LyX 1.3.0 supports some forms of optional arguments, but this layout
- has not been updated yet to take advantage of it.
-\end_layout
-
-\end_inset
-
-
+The commands of interest are:
\end_layout
-\begin_layout Section
-Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset OptArg
-status collapsed
+\begin_layout Itemize
-\begin_layout Plain Layout
-The
\family typewriter
-mw
-\family default
- Classes
-\end_layout
-
-\end_inset
-
-
+{
+\backslash
+invisible \SpecialChar \ldots{}
+ }
\end_layout
-\begin_layout Standard
-by
-\noun on
-Tomasz Luczak
-\end_layout
+\begin_layout Itemize
-\begin_layout Standard
-The LyX document classes
-\emph on
-article (mwart)
-\emph default
-,
-\emph on
-report (mwrep)
-\emph default
- and
-\emph on
-book
-\emph default
-
-\emph on
-(mwbk)
-\emph default
- correspond to the LaTeX document classes
-\family typewriter
-mwart.cls
-\family default
-,
-\family typewriter
-mwrep.cls
-\family default
- and
-\family typewriter
-mwbk.cls
-\family default
-, resp.
- They are replacements for the standard document classes
-\family typewriter
-article.cls
-\family default
-,
-\family typewriter
-report.cls
-\family default
- and
\family typewriter
-book.cls
-\family default
-, resp., and fit better to Polish typography conventions in a number of points.
-
-\end_layout
-
-\begin_layout Standard
-Basic differences:
-\end_layout
-
-\begin_layout Itemize
-Unnumbered titles (with star, eg.
-
-\family sans
-Section*
-\family default
-) are added into table of contents,
+{
+\backslash
+visible \SpecialChar \ldots{}
+ }
\end_layout
-\begin_layout Itemize
-Additional page styles:
-\end_layout
+\begin_layout Plain Layout
+\SpecialChar \ldots{}
+and need to be marked as TeX.
+ The text whose
+\begin_inset Quotes eld
+\end_inset
-\begin_deeper
-\begin_layout Description
-uheadings header with separated lines,
-\end_layout
+visibility
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Description
-myheadings custom header, contents headers via commands:
+ you wish to change goes in between the brackets [and after the
\family typewriter
\backslash
-markright
+invisible
\family default
- and
+ or
\family typewriter
\backslash
-markboth
+visible
\family default
-,
-\end_layout
-
-\begin_layout Description
-myuheadings custom header with separated lines,
-\end_layout
-
-\begin_layout Description
-outer page number is placed on outer side of page
-\end_layout
-
-\end_deeper
-\begin_layout Itemize
-Options
-\end_layout
-
-\begin_deeper
-\begin_layout Description
-rmheadings serif titles --- default,
-\end_layout
-
-\begin_layout Description
-sfheadings sansserif titles,
-\end_layout
-
-\begin_layout Description
-authortitle on title page first placed is author next title --- default,
-\end_layout
-
-\begin_layout Description
-titleauthor on title page first placed is title next author,
+ command].
+ If you don't know how to mark text as TeX, see the appropriate section
+ of the
+\emph on
+User's Guide
+\emph default
+.
\end_layout
-\begin_layout Description
-withmarginpar reserve place on page for margins.
-\end_layout
+\end_inset
-\end_deeper
-\begin_layout Section
-Elsevier Journals
-\end_layout
-\begin_layout Standard
-By
-\noun on
-Rod Pinna
\end_layout
-\begin_layout Standard
-Elsevier Science Publishers B.V.
- provides a standard LaTeX document class (
-\family typewriter
-elsart.cls
+\begin_layout Subsubsection
+Using
+\family sans
+Note
+\family default
+ with
+\family sans
+Slide
\family default
-) for submitting articles to their various journals.
- The style file can be downloaded directly from their web site:
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-http://authors.elsevier.com/
-\end_layout
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:slideNote"
\end_inset
-.
- Instructions are supplied along with the class file, which details the
- requirements of the publishers.
- LyX includes package that allows for the use of this class, by a layout
- and a template file.
- Installation of the class file is the same as for any other LaTeX package;
- instructions are provided in the Elsevier documentation.
+
\end_layout
\begin_layout Standard
-To make use of
-\family typewriter
-elsart.cls
+Like an
+\family sans
+Overlay
\family default
-, a file
-\family typewriter
-elsart.layout
+, a
+\family sans
+Note
\family default
- is supplied.
- As the Elsevier class file is based mainly on the standard article class,
- most of the normal functionality is provided.
- The Elsevier class defines a number of mathematical environments, which
- are similar to the AMS environments.
- These commands are all described in the Elsevier documentation, and are
- available in LyX.
-\end_layout
-
-\begin_layout Standard
-The easiest way to use the Elsevier style is to base documents on the included
- template file.
- It is best not to use options such as fancy headings or the geometry package,
- as elements such as these are defined by Elsevier in their style file.
- Ideally, no extra packages except those mentioned in the Elsevier documentation
- should be used.
- Essentially, Elsevier require as
+ is associated with a
\begin_inset Quotes eld
\end_inset
-clean
+parent
\begin_inset Quotes erd
\end_inset
- a LaTeX file as possible, as their intention is to take the supplied file
- and replace the class file with one for the particular journal to which
- the paper has been submitted.
- This also means that not too much time should be spent on the formating
- of the document.
- When it comes to be published, this will change anyway.
- The rest of the usage for this layout is substantially the same as for
- the normal article class.
- For details of what Elsevier do and don't allow, refer to their documentation.
-\end_layout
+
+\family sans
+Slide
+\family default
+.
+ Here, too, the LyX
+\family sans
+slides
+\family default
+ class provides visual cues.
+ The label for a
+\family sans
+Note
+\family default
+ is shorter than that of a
+\family sans
+Slide
+\family default
+ [yet longer than that of an
+\family sans
+Overlay
+\family default
+] and, like the label of an
+\family sans
+Overlay
+\family default
+ is shockingly magenta.
+ Additionally, the printed
+\family sans
+Note
+\family default
+ has the page number of its
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Section
-Memoir
-\end_layout
+parent
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-By
-\noun on
-Jürgen Spitzmüller
-\end_layout
+
+\family sans
+Slide
+\family default
+, appended by
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Subsection
-Overview
-\end_layout
-\begin_layout Standard
-Memoir is a very powerful and constantly evolving class.
- It has been designed with regard to fictional and non-fictional literature.
- Its aim is to let the user have maximum control over the typesetting of
- his document.
- Memoir is based on the standard book class, but it can also emulate the
- article class (see below).
-\end_layout
+\family typewriter
+-
+\family default
+1
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-Peter Wilson, the developer of Memoir, is known as the author of lots of
- useful packages in the LaTeX world.
- Most of them have been merged with Memoir.
- Therefore, it is much easier to layout the table of contents, appendices,
- chapter designs and such.
- LyX, though, does not support all of these goodies natively.
- Some of them might be added to forthcoming releases
-\begin_inset Foot
-status collapsed
+,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
-You are invited to send suggestions to
-\begin_inset Flex URL
-status collapsed
-\begin_layout Plain Layout
+\family typewriter
+-
+\family default
+2
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
-lyx-devel@lists.lyx.org
-\end_layout
+\family typewriter
+-
+\family default
+3
+\begin_inset Quotes erd
\end_inset
-.
+, etc.
+ You can have multiple
+\family sans
+Note
+\family default
+s associated with a single
+\family sans
+Slide
+\family default
+, and, as with
+\family sans
+Slide
+\family default
+ and
+\family sans
+Overlay
+\family default
+, you'll probably want to break up long
+\family sans
+Note
+\family default
+s so that they fit on a single sheet of paper.
\end_layout
+\begin_layout Standard
+The purpose of a
+\family sans
+Note
+\family default
+ is obvious: it contains anything additional you might want to say about
+ a
+\family sans
+Slide
+\family default
+.
+ It could also be used as a sheet of reminders for a particular
+\family sans
+Slide
+\family default
+.
+ In the case of the latter, you might want to make use of time markers.
+ Currently, the LyX
+\family sans
+slides
+\family default
+ class has no
+\begin_inset Quotes eld
\end_inset
-, lots will probably never, due to the limitations of LyX's framework.
- Of course you can still use all features with the help of some native LaTeX
- commands (ERT
-\begin_inset Foot
-status collapsed
+native
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
-Cf.
-\begin_inset ERT
-status collapsed
+ support for time markers, a
+\noun on
+Sli
+\noun default
+TeX feature.
+ So, you'll have to resort to using the LaTeX codes.
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+To use time markers, you'll need to specify the extra class option
+\begin_inset Quotes eld
+\end_inset
-\backslash
-
-\end_layout
+\family typewriter
+clock
+\family default
+\begin_inset Quotes erd
\end_inset
-section
+ [see section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Inserting-TeX-Code"
+reference "sec:slidesetup"
\end_inset
- for details.
-\end_layout
-
+].
+ This option turns on timing marks, which will appear in the lower-left-hand
+ corner of every
+\family sans
+Note
+\family default
+ you generate.
+ To set what appears in the time marker, you use the LaTeX commands
+\begin_inset Quotes eld
\end_inset
-).
- In this section, we can only list those features which are natively supported
- by LyX.
- For detailed descriptions (and for the rest of features) we are recommending
- to have a look at the detailed manual of the Memoir class
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Cf.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\family typewriter
\backslash
-
-\end_layout
+settime{}
+\family default
+\begin_inset Quotes erd
\end_inset
+ and
+\begin_inset Quotes eld
+\end_inset
-\begin_inset Flex URL
-status collapsed
-\begin_layout Plain Layout
+\family typewriter
-CTAN:/macros/latex/memoir/memman.pdf
-\end_layout
+\backslash
+addtime{}
+\family default
+\begin_inset Quotes erd
\end_inset
.
-\end_layout
-
+ The arguments of both commands are time measured in seconds.
+
+\begin_inset Quotes eld
\end_inset
-, which is not only a user guide for the class, but also both a comprehensive
- description on good typesetting and a superb example for good typesetting
- itself.
-\end_layout
-\begin_layout Subsection
-Basic features and restrictions
-\end_layout
+\family typewriter
-\begin_layout Standard
-Memoir supports basically all features of the standard book classes.
- There are, however, some differences, as follows:
-\end_layout
+\backslash
+settime{}
+\family default
-\begin_layout Description
-Font
-\begin_inset space ~
+\begin_inset Quotes erd
\end_inset
-sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14, 17
-\end_layout
+ sets the time marker to a given time.
+
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Description
-Page
-\begin_inset space ~
+
+\family typewriter
+
+\backslash
+addtime{}
+\family default
+
+\begin_inset Quotes erd
\end_inset
-style: The fancy page style is not supported, due to a command clash between
- Memoir and the fancyhdr package (they are both defining a command with
- the same name, which confuses LaTeX).
- Instead, Memoir comes with a bunch of own page styles (see
+ increments the time marker by the specified amount.
+ Using time markers and
\family sans
-Layout\SpecialChar \menuseparator
-Document\SpecialChar \menuseparator
-Page
-\begin_inset space ~
-\end_inset
+Note
+\family default
+s in this fashion, you can remind yourself how much time to spend on a particula
+r
+\family sans
+Slide
+\family default
+.
+\end_layout
-Style
+\begin_layout Standard
+There's one last feature to describe.
+ Clearly, you'd like to print out all of your
+\family sans
+Slide
+\family default
+s and
+\family sans
+Overlay
+\family default
+s on transparencies while printing all of your
+\family sans
+Note
+\family default
+s on plain paper.
+ However, a
+\family sans
+Note
\family default
-).
- If you want to use these for the chapter pages, you have to use the command
+\emph on
+must
+\emph default
+ follow the
+\family sans
+Slide
+\family default
+ with which it is associated.
+ What's a person to do?
+\end_layout
+
+\begin_layout Standard
+Luckily, there are two LaTeX commands that allow you to select what to print
+ out.
+ Both must be placed into the preamble of your document.
+ The command
+\begin_inset Quotes eld
+\end_inset
+
+
\family typewriter
\backslash
-chapterstyle
+onlyslides{
+\backslash
+slides}
\family default
- in the main text or in preamble (e.
-\begin_inset space \thinspace{}
+
+\begin_inset Quotes erd
\end_inset
-g.
-\begin_inset space ~
+ will cause the output to contain only the
+\family sans
+Slide
+\family default
+s and
+\family sans
+Overlay
+\family default
+s.
+ Correspondingly, the command
+\begin_inset Quotes eld
\end_inset
\family typewriter
\backslash
-chapterstyle{companion}
+onlynotes{
+\backslash
+notes}
\family default
-).
-\end_layout
-\begin_layout Description
-Sectioning: Sectionings (chapter, section, subsection etc.) are coming with
- an optional argument in the standard classes.
- With this, you can specify an alternative version of the title for the
- table of contents and the headers (for instance, if the title is too long).
- In LyX, you can do this via
+\begin_inset Quotes erd
+\end_inset
+
+ prevents the output of anything but
\family sans
-Insert\SpecialChar \menuseparator
-Short
-\begin_inset space ~
+Note
+\family default
+s.
+ I'd advise placing both commands in the preamble and initially comment
+ both out.
+ You can then preview your entire presentation as you write.
+ When you're done writing, you can then uncomment one of the two to select
+ what you want to print.
+ I like to uncomment
+\begin_inset Quotes eld
\end_inset
-Title
+
+\family typewriter
+
+\backslash
+onlyslides{
+\backslash
+slides}
\family default
- at the beginning of a chapter/section.
- Memoir features a second optional argument and thus separates the table
- of contents from the header.
- You can define three variants of a title with this: one for the main text,
- one for the table of contents, and one for the headers.
- Simply insert two optional arguments if you need this feature, the first
- one containing the short title for the Table of Contents, the second one
- containing an alternative short title for the headers.
-\end_layout
-\begin_layout Description
-TOC/LOT/LOF: In the standard classes (and in many other classes), the table
- of contents, the list of figures and the list of table start a new page
- automatically.
- Memoir does not follow this route.
- You have to insert a page break yourself, if you want to have one.
-\end_layout
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Description
-Titlepage: For some unknown reason, Memoir uses pagination on the title
- page (in the standard classes, title pages are
+ , print to a file with
\begin_inset Quotes eld
\end_inset
-empty
+
+\family typewriter
+-slides
+\family default
+
\begin_inset Quotes erd
\end_inset
-, i
-\begin_inset space \thinspace{}
+ in its name, comment it back out, then uncomment
+\begin_inset Quotes eld
\end_inset
-e.
-\begin_inset space ~
-\end_inset
-without pagina).
- If you want an empty title page, type
\family typewriter
\backslash
-aliaspagestyle{title}{empty}
+onlynotes{
+\backslash
+notes}
\family default
- in the preamble.
-\end_layout
-\begin_layout Description
-Article: With the class option
-\emph on
-article
-\emph default
- (to be inserted in
-\family sans
-Layout\SpecialChar \menuseparator
-Document\SpecialChar \menuseparator
-Extra
-\begin_inset space ~
+\begin_inset Quotes erd
\end_inset
-Options
-\family default
-), you can emulate article style.
- That is, counters (footnotes, figures, tables etc.) will not be reset on
- new chapters, chapters don't start a new page (but are---in contrary to
-
+ and print to a
\begin_inset Quotes eld
\end_inset
-real
+
+\family typewriter
+*-notes.ps
+\family default
+
\begin_inset Quotes erd
\end_inset
- article classes---still allowed), parts, though, use their own page, as
- in book.
+ file.
+ I can then send either file to a printer, loading transparencies or plain
+ paper as appropriate.
\end_layout
-\begin_layout Description
-Oldfontcommands: By default, Memoir does not allow the use of the deprecated
- font commands, which have been used in the old LaTeX version 2.09 (e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space ~
+\begin_layout Standard
+You can also provide other arguments to the
+\begin_inset Quotes eld
\end_inset
\family typewriter
\backslash
-rm
+onlyslides{}
\family default
-,
+
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+
\family typewriter
\backslash
-it
+onlynotes{}
\family default
-).
- It produces an error and stops LaTeX whenever such a command appears.
- The class option
-\emph on
-oldfontcommands
-\emph default
- reallows the commands and spits out warnings instead (which does at least
- not stop LaTeX).
- Since a lot of packages and particularly BibTeX style files are still using
- those commands, we have decided to use this option by default.
+
+\begin_inset Quotes erd
+\end_inset
+
+ commands.
+ See a good LaTeX book for details.
\end_layout
\begin_layout Subsection
-Extra features
+The
+\family sans
+slides
+\family default
+ Class Template File
\end_layout
\begin_layout Standard
-We will only describe the features supported by LyX (which is not much currently
-).
- Please consult the Memoir manual
-\begin_inset Foot
-status collapsed
+I have also provided a template file,
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
-Cf.
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\family typewriter
+slides.lyx
+\family default
+\begin_inset Quotes erd
+\end_inset
-\backslash
-
-\end_layout
+, with the
+\family sans
+slides
+\family default
+ class.
+ To use it, begin your new presentation with
+\family sans
+\bar under
+F
+\bar default
+ile\SpecialChar \menuseparator
+New
+\begin_inset space ~
+\end_inset
+from
+\begin_inset space ~
\end_inset
-\begin_inset Flex URL
-status collapsed
+\bar under
+T
+\bar default
+emplate
+\family default
+.
+ Your new LyX presentation file will contain an example
+\family sans
+Slide
+\family default
+ –
+\family sans
+Overlay
+\family default
+ –
+\family sans
+Note
+\family default
+ triplet.
+ The
+\family sans
+Slide
+\family default
+ and
+\family sans
+Overlay
+\family default
+ additionally contain an example of the use of
+\family sans
+InvisibleText
+\family default
+ and
+\family sans
+VisibleText
+\family default
+.
+ Lastly, the preamble will contain:
+\end_layout
-\begin_layout Plain Layout
+\begin_layout LyX-Code
+% Uncomment to print out only slides and overlays
+\end_layout
-CTAN:/macros/latex/memoir/memman.pdf
+\begin_layout LyX-Code
+%
\end_layout
+\begin_layout LyX-Code
+%
+\backslash
+onlyslides{
+\backslash
+slides}
+\begin_inset Newline newline
\end_inset
-.
+
\end_layout
-\end_inset
+\begin_layout LyX-Code
+% Uncomment to print out only notes
+\end_layout
- for details.
+\begin_layout LyX-Code
+%
\end_layout
-\begin_layout Description
-Abstract: You may wonder why an abstract is an extra feature.
- Well, it is in book class.
- Usually books don't have abstracts.
- Memoir, however, has.
- You can use it wherever and how often you like.
+\begin_layout LyX-Code
+%
+\backslash
+onlynotes{
+\backslash
+notes}
\end_layout
-\begin_layout Description
-Chapterprecis: You may know this from belletristic: The contents of a chapter
- is shortly described below the title and also in the table of contents
- (e.
-\begin_inset space \thinspace{}
+\begin_layout Standard
+One final thing: I created this class to support the LaTeX2e
+\begin_inset Quotes eld
\end_inset
-g.
+
+\noun on
+Sli
+\noun default
+TeX emulation
+\begin_inset Quotes erd
+\end_inset
+
+ class, one of the built-in LaTeX2e classes.
+ Neither I nor the rest of the LyX Team endorse or oppose the use of this
+ built-in slide class.
+ It's here if you want it or need it.
+ There exist other LaTeX2e classes for creating presentations, such as the
+
+\family sans
+Foils
+\family default
+ class [see section
\begin_inset space ~
\end_inset
-\emph on
-Our hero arrives in Troia; he loses some friends; he finds others
-\emph default
-).
- Chapterprecis does exactly this.
- It is therefore only sensible below a chapter.
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:foiltex"
+
+\end_inset
+
+] or the
+\begin_inset Quotes eld
+\end_inset
+
-\begin_layout Description
-Epigraph: An epigraph is a smart slogan or motto at the beginning of a chapter.
- The epigraph environment provides an elegant way of typesetting such a
- motto.
- The motto itself (text) and its author (source) are divided by a short
- line.
- Unfortunately, we have to fool LyX a bit here again, since the environment
- needs two arguments (text and source).
- In this case, we have to use curly brackets (in TeX mode) between the two
- arguments:
-\emph on
-<smart slogan>
-\emph default
-
\family typewriter
-}{
+seminar
\family default
-
-\emph on
-<author of the slogan>.
-\end_layout
-\begin_layout Description
-Poemtitle: Memoir has lots of possibilities to typeset poetry (up to very
- complex figurative poems).
- LyX can only support a few of them.
- One is poemtitle, which is a centered title for poems, which will also
- be added to the table of contents (verse is the standard environment for
- poems.
- Memoir has some enhanced versions of verse, but you need to use ERT, because
- they have to be nested inside regular verse environments, which is not
- possible with LyX).
+\begin_inset Quotes erd
+\end_inset
+
+ package [present on some TeX distributions].
+ The latter is not yet supported under LyX.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Perhaps you can take on the task\SpecialChar \ldots{}
+
\end_layout
-\begin_layout Description
-Poemtitle*: Same as poemtitle, but it adds no entry to the table of contents.
+\end_inset
+
+ I know nothing about these other classes.
+ Try them out to see what sort of alternative they provide.
\end_layout
\begin_layout Chapter
\family typewriter
chktex
\family default
- program installed, you'll find in the
+ program installed
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\family typewriter
+chktex
+\family default
+ is not yet available when you are using the LaTeX distribution MiKTeX.
+\end_layout
+
+\end_inset
+
+, you'll find in the
\family sans
Tools
\family default
\end_inset
e.
- g.
- is too wide spacing.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+is too wide spacing.
\end_layout
\begin_layout Itemize
\begin_layout Standard
If you have the program installed, usage is as simple as choosing
\family sans
-\bar under
-T
-\bar default
-ools\SpecialChar \menuseparator
-
-\bar under
-C
-\bar default
-heck
+Tools\SpecialChar \menuseparator
+Check
\begin_inset space ~
\end_inset
The warnings will be placed close to the point of the mistake, and you
can quickly find them by using the
\family sans
-\bar under
-N
-\bar default
-avigate\SpecialChar \menuseparator
-
-\bar under
-E
-\bar default
-rror
+Navigate\SpecialChar \menuseparator
+Error
\family default
menu item, or the shortcut key
\family sans
to get better along with you.
Another choice in the most desperate situations is to use
\family sans
-\bar under
-V
-\bar default
-iew\SpecialChar \menuseparator
-
-\bar under
-R
-\bar default
-emove
+View\SpecialChar \menuseparator
+Remove
\begin_inset space ~
\end_inset
\begin_layout Itemize
Export your document as a raw LaTeX file using
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-E
-\bar default
-xport\SpecialChar \menuseparator
-
-\bar under
-L
-\bar default
-aTeX
+File\SpecialChar \menuseparator
+Export\SpecialChar \menuseparator
+LaTeX
\family default
and run
\family typewriter
\begin_layout Standard
The implementation in LyX assumes a recent version of the GNU RCS or CVS/SVN
- package---no guarantees are made for older versions.
+ package—no guarantees are made for older versions.
+\end_layout
+
+\begin_layout Standard
+For introducing your own external commands consult vc-command in the manual
+ of LyX functions.
\end_layout
\begin_layout Subsection
The following sections describe the RCS commands supported by LyX.
You can find them in the
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
\begin_inset space ~
\end_inset
Control
\family default
submenu.
+ LyX was tested against RCS 5.7.
\end_layout
\begin_layout Subsubsection
in the menu.
And if it is under revision control, the
\family sans
-\bar under
-R
-\bar default
-egister
+Register
\family default
item is not visible.
\end_layout
\begin_layout Standard
-By doing this you lock the document so that only you can edit it.
- This will also make the document Read-Write only for you.
- You will usually continue editing for a while and when you are finished
- you check in your changes.
- The status line is changed to reflect that you have locked the file.
-
+By doing this you lock the document so that only you can edit it.
+ This will also make the document Read-Write only for you.
+ You will usually continue editing for a while and when you are finished
+ you check in your changes.
+ The status line is changed to reflect that you have locked the file.
+
+\end_layout
+
+\begin_layout Standard
+RCS command:
+\family typewriter
+co -q -l <file-name>
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Revert To Repository Version
+\end_layout
+
+\begin_layout Standard
+This will discard all changes made to the document since the last check
+ in.
+ You get a warning before changes are discarded.
+\end_layout
+
+\begin_layout Standard
+RCS command:
+\family typewriter
+co -f -u<version> <file-name>
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Undo Last Checkin
+\end_layout
+
+\begin_layout Standard
+This makes as if the last check in never happened.
+ No changes are made to the document loaded into LyX, but the last version
+ is removed from the master RCS file.
+
+\end_layout
+
+\begin_layout Standard
+RCS command:
+\family typewriter
+rcs -o<version> <file-name>
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Show History
+\end_layout
+
+\begin_layout Standard
+This show the complete history of the RCS document.
+ The output of
+\family typewriter
+rlog <file-name>
+\family default
+ is shown in a browser.
+ See
+\family typewriter
+man rlog
+\family default
+ for more info.
+\end_layout
+
+\begin_layout Subsection
+CVS commands in LyX
+\end_layout
+
+\begin_layout Standard
+CVS is now partially supported by LyX.
+ You can find the commands in the
+\family sans
+File\SpecialChar \menuseparator
+Version
+\begin_inset space ~
+\end_inset
+
+Control
+\family default
+ submenu.
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Register
+\end_layout
+
+\begin_layout Standard
+If your document is not under revision control, this is the only item shown
+ in the menu.
+ And if it is under revision control, the
+\family sans
+\bar under
+R
+\bar default
+egister
+\family default
+ item is not visible.
+
+\end_layout
+
+\begin_layout Standard
+This command registers in CVS your document ONLY in case you have already
+ the documents directory under CVS control (in particular
+\family typewriter
+CVS/Entries
+\family default
+ file exists).
+ This means you have to checkout the archive by yourself.
+
+\end_layout
+
+\begin_layout Standard
+Then you are asked interactively to supply an initial description of the
+ document.
+ Don't forget that registered file is not yet commited.
+\end_layout
+
+\begin_layout Standard
+CVS command that is run:
+\family typewriter
+cvs -q add -m
+\begin_inset Quotes erd
+\end_inset
+
+<entered message>"
+\begin_inset Quotes eld
+\end_inset
+
+<file-name>
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Read
+\family typewriter
+man svn
+\family default
+ to understand the switches.
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Check In Changes
+\end_layout
+
+\begin_layout Standard
+When you are finished editing a file, you commit your changes.
+ When you do this, you are asked for a description of the changes.
+ After that changes are commited.
\end_layout
\begin_layout Standard
-RCS command:
+CVS command:
\family typewriter
-co -q -l <file-name>
+cvs -q commit -m"<description>" "<file-name>"
\end_layout
\begin_layout Subsubsection
This will discard all changes made to the document since the last check
in.
You get a warning before changes are discarded.
+ Firstly the file is deleted, secondly CVS update command is run.
\end_layout
\begin_layout Standard
-RCS command:
+CVS command:
\family typewriter
-co -f -u<version> <file-name>
-\end_layout
-
-\begin_layout Subsubsection
+cvs update
+\begin_inset Quotes eld
+\end_inset
-\family sans
-Undo Last Checkin
-\end_layout
+<file-name>
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-This makes as if the last check in never happened.
- No changes are made to the document loaded into LyX, but the last version
- is removed from the master RCS file.
-
-\end_layout
-\begin_layout Standard
-RCS command:
-\family typewriter
-rcs -o<version> <file-name>
\end_layout
\begin_layout Subsubsection
\end_layout
\begin_layout Standard
-This show the complete history of the RCS document.
+This show the complete history of the CVS document.
The output of
\family typewriter
-rlog <file-name>
+cvs log
+\begin_inset Quotes eld
+\end_inset
+
+<file-name>
+\begin_inset Quotes erd
+\end_inset
+
+
\family default
is shown in a browser.
- See
-\family typewriter
-man rlog
-\family default
- for more info.
\end_layout
\begin_layout Subsection
-CVS commands in LyX
+SVN commands in LyX
\end_layout
\begin_layout Standard
-CVS is now partially supported by LyX.
+SVN is now partially supported by LyX.
You can find the commands in the
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
\begin_inset space ~
\end_inset
Control
\family default
submenu.
+ Please note that if you use password protected access to repository via
+ ssh, you will be asked in terminal window.
+ LyX was tested against SVN 1.4 and 1.5.
\end_layout
\begin_layout Subsubsection
\end_layout
\begin_layout Standard
-This command registers in CVS your document ONLY in case you have already
- the documents directory under CVS control (in particular
+This command registers in SVN your document ONLY in case you have already
+ the documents directory under SVN control (in particular
\family typewriter
-CVS/Entries
+.svn/entries
\family default
file exists).
This means you have to checkout the archive by yourself.
\end_layout
\begin_layout Standard
-CVS command that is run:
+SVN command that is run:
\family typewriter
-cvs -q add -m
-\begin_inset Quotes erd
-\end_inset
-
-<entered message>"
+snv add -q
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Standard
-CVS command:
+SVN command:
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+In case locking is not enabled.
+ See Section
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:SVN-File-Locking"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\family typewriter
+svn commit -q -m"<description>" <file-name>
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Check Out For Edit
+\end_layout
+
+\begin_layout Standard
+Updates the changes of this file from the repository.
+ Be sure you understand SVN merging and conflicts resolving before using
+ this function, because all conflicts has to be done manually by you!
+\end_layout
+
+\begin_layout Standard
+SVN command:
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Ditto.
+\end_layout
+
+\end_inset
+
+
\family typewriter
-cvs -q commit -m"<description>" <file-name>
+svn update
+\begin_inset Quotes eld
+\end_inset
+
+<file-name>
+\begin_inset Quotes erd
+\end_inset
+
+
\end_layout
\begin_layout Subsubsection
This will discard all changes made to the document since the last check
in.
You get a warning before changes are discarded.
- Firstly the file is deleted, secondly CVS update command is run.
+
\end_layout
\begin_layout Standard
-CVS command:
+SVN command:
\family typewriter
-cvs update
+svn revert -q
+\begin_inset Quotes eld
+\end_inset
+
+<file-name>
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Show History
+\end_layout
+
+\begin_layout Standard
+This show the complete history of the SVN document.
+ The output of
+\family typewriter
+svn log
\begin_inset Quotes eld
\end_inset
\end_inset
+\family default
+ is shown in a browser.
+\end_layout
+
+\begin_layout Subsubsection
+File Locking
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:SVN-File-Locking"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The file exchange through various revision control systems brings the problem
+ of merge conflicts in case two different users try to edit the same (parts
+ of) document.
+ When such conflict happens it needs manual resolving and one reasonable
+ alternative is to provide some kind of locking mechanism, which guarantees
+ that only one user is allowed to edit file at the given time.
+\end_layout
+
+\begin_layout Standard
+SVN has two mechanisms to provide such kind of mutual exclusivity for file
+ access - locks and automatical setting of write permissions based on
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+svn:needs-lock
+\end_layout
+
+\end_inset
+
+ file svn property.
+ In a case this property is detected for a given document LyX starts to
+ use SVN locks for document editing automatically and the whole check-in/out
+ mechanism switches to the same regimen as for RCS.
+ This in particular means there are two different modes how file is used
+ in LyX:
+\end_layout
+
+\begin_layout Itemize
+Unlocked state.
+ The loaded file is in the read-only mode.
+ For editation on needs to check-out.
+
+\emph on
+Check-out
+\emph default
+ consists of update from repository and gaining write lock.
+ If the lock is not possible to obtain, we remain in unlocked state.
+\end_layout
+
+\begin_layout Itemize
+Locked state.
+ The loaded file is in the 'normal' edit mode.
+ No other user is allowed to edit the file.
+
+\emph on
+Check-in
+\emph default
+ consists of commiting changes and releasing write-lock.
+ If no changes have been made to the document, no commit will be produced
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Don't be puzzled by the fact that you will be asked for commit message anyway.
+\end_layout
+
+\end_inset
+
+ and only the write-lock will be released.
+\end_layout
+
+\begin_layout Standard
+SVN commands:
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+Check-in:
+\family typewriter
+ svn commit -q -m"<description>" "<file-name>"
+\begin_inset Newline newline
+\end_inset
+
+svn unlock "<file-name>"
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+Check-out:
+\family typewriter
+svn update "<file-name>"
+\begin_inset Newline newline
+\end_inset
+
+svn lock "<file-name>"
+\end_layout
+
+\begin_layout Subsection
+SVN and Windows Environment
+\end_layout
+
+\begin_layout Quote
+My inclination is to say that if the user cannot figure out the command
+ line operations on their own fairly quickly, they would be well advised
+ to use TortoiseSVN.
+ ---P.
+ A.
+ Rubin
+\end_layout
+
+\begin_layout Subsubsection
+Preparation
+\end_layout
+
+\begin_layout Standard
+In addition to installing LyX, and having access to a Subversion repository,
+ the user will need to install the Subversion client program.
+ A Windows installer for the client program is available from
+\begin_inset CommandInset href
+LatexCommand href
+name "CollabNet"
+target "http://www.collab.net/nonav/downloads/subversion/"
+
+\end_inset
+
+.
+ The user may also want to install
+\begin_inset CommandInset href
+LatexCommand href
+name "TortoiseSVN"
+target "http://tortoisesvn.tigris.org/"
+
+\end_inset
+
+, which integrates Subversion operations into the context (rightclick) menu
+ of Windows Explorer.
+ Operations done outside LyX will typically be more convenient using the
+ Explorer context menu.
+ Note that TortoiseSVN is not a replacement for the client program, which
+ is what LyX itself will use.
+\end_layout
+
+\begin_layout Subsubsection
+Bringing a document under Subversion control
+\end_layout
+
+\begin_layout Standard
+Before a LyX document can be brought under version control in Subversion,
+ its parent directory needs to be under version control.
+ If the document is being added to a project already in the repository,
+ this is accomplished by checking the project out to the directory where
+ the new document will be placed.
+ If the project itself is not yet under version control (for instance, if
+ this document starts a new project), the directory must be imported into
+ the repository.
+ This is done outside LyX.
+ Both import and checkout are easily accomplished from the Explorer context
+ menu using TortoiseSVN, or alternatively can be done using the command
+ line client at a DOS prompt.
+ The procedure for importing the project using TortoiseSVN is described
+ below, assuming an existing repository and a new project being started
+ in
+\family typewriter
+C:
+\backslash
+new project
+\family default
+.
+ For information on using the Subversion client program, run
+\family typewriter
+svn --help
+\family default
+in a DOS shell.
\end_layout
-\begin_layout Subsubsection
-
-\family sans
-Show History
+\begin_layout Enumerate
+Locate
+\family typewriter
+C:
+\backslash
+new project
+\family default
+in Windows Explorer, right click it, and select
+\family typewriter
+TortoiseSVN > Repo-browser
+\family default
+.
+ If necessary, adjust the URL for the repository, then click OK.
\end_layout
-\begin_layout Standard
-This show the complete history of the CVS document.
- The output of
+\begin_layout Enumerate
+Right click the level of the repository under which you want to place the
+ new project folder (typically the top level) and click
\family typewriter
-cvs log
-\begin_inset Quotes eld
-\end_inset
-
-<file-name>
-\begin_inset Quotes erd
-\end_inset
-
+Create folder\SpecialChar \ldots{}
\family default
- is shown in a browser.
+ Supply a name for the project folder and click OK.
+ Add a message for the log file if desired, then click OK again.
+ The new project folder should appear in the repository.
+ Finally, click OK again to exit the repository browser.
\end_layout
-\begin_layout Subsection
-SVN commands in LyX
+\begin_layout Enumerate
+Once again right click
+\family typewriter
+C:
+\backslash
+new project
+\family default
+, this time selecting SVN Checkout\SpecialChar \ldots{}
+ Select the URL of the project folder
+ you just created in the repository, and set the checkout directory to
+\family typewriter
+C:
+\backslash
+new project.
+
+\family default
+ Click OK.
+ You will be warned about a non-empty folder; click OK to proceed.
+ You should now have a
+\family typewriter
+.svn
+\family default
+ directory under
+\family typewriter
+C:
+\backslash
+new project.
\end_layout
-\begin_layout Standard
-SVN is now partially supported by LyX.
- You can find the commands in the
+\begin_layout Enumerate
+Create or open your document in LyX and click
\family sans
\bar under
F
\begin_inset space ~
\end_inset
-Control
-\family default
- submenu.
- Please note that if you use password protected access to repository via
- ssh, you will be asked in terminal window.
-\end_layout
-
-\begin_layout Subsubsection
-
-\family sans
-Register
-\end_layout
+Control\SpecialChar \menuseparator
-\begin_layout Standard
-If your document is not under revision control, this is the only item shown
- in the menu.
- And if it is under revision control, the
-\family sans
\bar under
R
\bar default
-egister
-\family default
- item is not visible.
+egister.
-\end_layout
-
-\begin_layout Standard
-This command registers in SVN your document ONLY in case you have already
- the documents directory under SVN control (in particular
-\family typewriter
-.svn/entries
\family default
- file exists).
- This means you have to checkout the archive by yourself.
-
-\end_layout
-
-\begin_layout Standard
-Then you are asked interactively to supply an initial description of the
- document.
- Don't forget that registered file is not yet commited.
+Add a log message and click OK to commit the document to version control.
\end_layout
\begin_layout Standard
-SVN command that is run:
-\family typewriter
-snv add -q
-\begin_inset Quotes eld
-\end_inset
+From this point onward, you should have full functionality in the
+\family sans
+\bar under
+F
+\bar default
+ile\SpecialChar \menuseparator
-<file-name>
-\begin_inset Quotes erd
+\bar under
+V
+\bar default
+ersion
+\begin_inset space ~
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-Read
-\family typewriter
-man svn
+Control
\family default
- to understand the switches.
-
-\end_layout
-
-\begin_layout Subsubsection
-
-\family sans
-Check In Changes
-\end_layout
-
-\begin_layout Standard
-When you are finished editing a file, you commit your changes.
- When you do this, you are asked for a description of the changes.
- After that changes are commited.
-\end_layout
-
-\begin_layout Standard
-SVN command:
-\family typewriter
-svn commit -q -m"<description>" <file-name>
+ menu.
+ You also have the option of checking the document in and out, viewing its
+ history, etc.
+ using the TortoiseSVN context menu in Windows Explorer or the Subversion
+ client program from a command prompt.
\end_layout
-\begin_layout Subsubsection
-
-\family sans
-Check Out For Edit
+\begin_layout Subsection
+Further tuning
\end_layout
\begin_layout Standard
-Updates the changes of this file from the repository.
- Be sure you understand SVN merging and conflicts resolving before using
- this function, because all conflicts has to be done manually by you!
+With the recent addition of the vc-command function LyX power users are
+ allowed to create their own commands for revision control.
\end_layout
\begin_layout Standard
-SVN command:
-\family typewriter
-svn update
-\begin_inset Quotes eld
-\end_inset
-
-<file-name>
-\begin_inset Quotes erd
-\end_inset
-
-
+As an example you can see how two TortoiseSVN commands could be integrated
+ directly:
\end_layout
-\begin_layout Subsubsection
-
-\family sans
-Revert To Repository Version
-\end_layout
+\begin_layout Description
+Commit:
+\begin_inset Flex CharStyle:Code
+status collapsed
-\begin_layout Standard
-This will discard all changes made to the document since the last check
- in.
- You get a warning before changes are discarded.
-
+\begin_layout Plain Layout
+vc-command DS "." "TortoiseProc /command:commit /path:$$p"
\end_layout
-\begin_layout Standard
-SVN command:
-\family typewriter
-svn revert -q
-\begin_inset Quotes eld
-\end_inset
-
-<file-name>
-\begin_inset Quotes erd
\end_inset
\end_layout
-\begin_layout Subsubsection
+\begin_layout Description
+Revert:
+\begin_inset Flex CharStyle:Code
+status collapsed
-\family sans
-Show History
+\begin_layout Plain Layout
+vc-command DR "." "TortoiseProc /command:revert /path:$$p"
\end_layout
-\begin_layout Standard
-This show the complete history of the SVN document.
- The output of
-\family typewriter
-svn log
-\begin_inset Quotes eld
-\end_inset
-
-<file-name>
-\begin_inset Quotes erd
\end_inset
-\family default
- is shown in a browser.
\end_layout
\begin_layout Section
and documentation in a single file.
Literate programming tools then parse the file to produce either readable
documentation or compilable source.
- The WEB style of literate programming was created by D.E.
+ The WEB style of literate programming was created by D.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
Knuth during the development of his TeX typesetting software.
\end_layout
\end_layout
\begin_layout Itemize
-It has a open architecture, i.e., it is easy to plug in new filters and to
- perform special processing that you may need.
+It has a open architecture, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+it is easy to plug in new filters and to perform special processing that
+ you may need.
\end_layout
\begin_inset Quotes erd
\end_inset
- way, i.e., you will be able to use this new LyX feature with some other literate
- programming tool of your choice by just changing your LyX preferences.
+ way, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+you will be able to use this new LyX feature with some other literate programmin
+g tool of your choice by just changing your LyX preferences.
\end_layout
\begin_layout Subsubsection
\family typewriter
@
\family default
- must be taken literally, i.e., LyX should be prevented from making any special
- interpretation of what has been written.
+ must be taken literally, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+LyX should be prevented from making any special interpretation of what has
+ been written.
This is handled by a special layout named Scrap, that works like a normal
paragraph but has a free spacing capability.
\end_layout
class, and with some code and text on it.
How do I print it? The answer is simple, you select
\family sans
-\bar under
-V
-\bar default
-iew\SpecialChar \menuseparator
-
-\bar under
-D
-\bar default
-VI,
+View\SpecialChar \menuseparator
+DVI,
\family default
etc.
Just like you would do for a plain document.
\begin_layout Standard
All the Literate Programming support is configured by the
\family sans
-\bar under
-T
-\bar default
-ools\SpecialChar \menuseparator
-
-\bar under
-P
-\bar default
-references
+Tools\SpecialChar \menuseparator
+Preferences
\family default
panel in the
\begin_inset Quotes eld
It happens that you can define the editor command line invocation in ddd
by accessing the
\family sans
-\bar under
-E
-\bar default
-dit\SpecialChar \menuseparator
-
-\bar under
-P
-\bar default
-references\SpecialChar \menuseparator
-
-\bar under
-H
-\bar default
-elpers
+Edit\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Helpers
\family default
dialog and changing the "Edit Sources" entry.
\end_layout
In my toolbar I like to combine the six short cuts above with two more:
One for
\family sans
-\bar under
-V
-\bar default
-iew
+View
\family default
\SpecialChar \menuseparator
\family sans
-\bar under
-U
-\bar default
-pdate
+Update
\family default
\SpecialChar \menuseparator
\family sans
-\bar under
-D
-\bar default
-VI
+DVI
\family default
and the other for
\family sans
-\bar under
-V
-\bar default
-iew\SpecialChar \menuseparator
-
-\bar under
-D
-\bar default
-VI
+View\SpecialChar \menuseparator
+DVI
\family default
File menu entries.
Here is how it looks like:
examples/multicol.lyx
\family default
.
- --- mer
+ — mer
\end_layout
\end_inset
\begin_layout Standard
\size footnotesize
-The youth moved in the best society--had, so far as was known, no enemies
+The youth moved in the best society–had, so far as was known, no enemies
and no particular vices.
He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
had been broken off by mutual consent some months before, and there was
\begin_layout Standard
\size footnotesize
-Ronald Adair was fond of cards--playing continually, but never for such
- stakes as would hurt him.
+Ronald Adair was fond of cards–playing continually, but never for such stakes
+ as would hurt him.
He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
It was shown that, after dinner on the day of his death, he had played
a rubber of whist at the latter club.
\size default
\size footnotesize
-The evidence of those who had played with him-- Mr.
- Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
+The evidence of those who had played with him– Mr.
+ Murray, Sir John Hardy, and Colonel Moran–showed that the game was whist,
and that there was a fairly equal fall of the cards.
Adair might have lost five pounds, but not more.
His fortune was a considerable one, and such a loss could not in any way
\begin_inset Quotes erd
\end_inset
----those large capital letters which begin each new chapter or section.
+—those large capital letters which begin each new chapter or section.
Implementing them with plain LyX/LaTeX is straightforward (assuming you
know some plain TeX!) but does require a lot of work and many iterations,
as you can see by all the ugly TeX-mode stuff at the beginning of this