-\family sans
-Comment
-\layout Standard
-
-
-\begin_inset ERT
-status Inlined
-
-\layout Standard
-
-\backslash
-end{multicols}
-\end_inset
-
-
-\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,
-
-\family sans
-Foil
-\family default
-TeX provides specific commands for starting new foils and these are:
-\layout Itemize
-
-
-\family sans
-Foilhead
-\layout Itemize
-
-
-\family sans
-Rotatefoilhead
-\layout Standard
-
-LyX also provides slightly modified versions of these two environments called:
-\layout Itemize
-
-
-\family sans
-ShortFoilhead
-\layout Itemize
-
-
-\family sans
-ShortRotatefoilhead
-\layout Standard
-
-and the differences will be explained in the next section.
-\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:
-\layout Standard
-
-
-\begin_inset ERT
-status Inlined
-
-\layout Standard
-
-\backslash
-begin{multicols}{2}
-\end_inset
-
-
-\layout Itemize
-
-
-\family sans
-Theorem
-\layout Itemize
-
-
-\family sans
-Lemma
-\layout Itemize
-
-
-\family sans
-Corollary
-\layout Itemize
-
-
-\family sans
-Proposition
-\layout Itemize
-
-
-\family sans
-Definition
-\layout Itemize
-
-
-\family sans
-Proof
-\layout Itemize
-
-
-\family sans
-Theorem*
-\layout Itemize
-
-
-\family sans
-Lemma*
-\layout Itemize
-
-
-\family sans
-Corollary*
-\layout Itemize
-
-
-\family sans
-Proposition*
-\layout Itemize
-
-
-\family sans
-Definition*
-\layout Standard
-
-
-\begin_inset ERT
-status Inlined
-
-\layout Standard
-
-\backslash
-end{multicols}
-\end_inset
-
-
-\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:
-\layout Itemize
-
-
-\family sans
-TickList
-\layout Itemize
-
-
-\family sans
-CrossList
-\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,
-\emph on
-i.e.
-
-\emph default
- straight after the foilhead.
-\layout Standard
-
-For this purpose, the following command styles are provided [
-\shape smallcaps
-Martin Vermeer
-\shape default
-]:
-\layout Standard
-
-
-\begin_inset ERT
-status Inlined
-
-\layout Standard
-
-\backslash
-begin{multicols}{2}
-\end_inset
-
-
-\layout Itemize
-
-
-\family sans
-My\SpecialChar ~
-Logo
-\layout Itemize
-
-
-\family sans
-Restriction
-\layout Itemize
-
-
-\family sans
-Right\SpecialChar ~
-Footer
-\layout Itemize
-
-
-\family sans
-Right\SpecialChar ~
-Header
-\layout Itemize
-
-
-\family sans
-Left\SpecialChar ~
-Header
-\begin_deeper
-\layout Standard
-
-\SpecialChar ~
-
-\end_deeper
-\layout Standard
-
-
-\begin_inset ERT
-status Inlined
-
-\layout Standard
-
-\backslash
-end{multicols}
-\end_inset
-
-
-\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\SpecialChar ~
-
-\begin_inset LatexCommand \ref{sec:unsuppfoils}
-
-\end_inset
-
-.
-\layout Subsection
-
-Building a Set of Foils
-\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 accessible from the
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-O
-\bar default
-pen\SpecialChar \ldots{}
-
-\family default
- dialog under the
-\family sans
-Examples
-\family default
- button.
-
-\layout Subsubsection
-
-Give It a Title Page
-\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,
-\family sans
-foils
-\family default
- 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).
-\layout Subsubsection
-
-Start a New Foil
-\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
-\family sans
-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.
-\layout Standard
-
-Landscape foils are generated using the
-\family sans
-Rotatefoilhead
-\family default
- and
-\family sans
-ShortRotatefoilhead
-\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.
-
-\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 ;-)
-\layout Subsubsection
-
-Theorems, Lemmas, Proofs and more
-\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
-\end_inset
-
-
-\family typewriter
-%
-\family default
-
-\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.
-\layout Subsubsection
-
-Lists
-\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.
-
-\emph default
- If you intend to use itemized lists you might also want to read about the
-
-\family sans
-Itemize\SpecialChar ~
-Bullet\SpecialChar ~
-Selection
-\family default
- dialog described above in section\SpecialChar ~
-
-\begin_inset LatexCommand \ref{sec:bullet}
-
-\end_inset
-
-.
-\layout Standard
-
-The two new list styles,
-\family sans
-TickList
-\family default
-and
-\family sans
-CrossList
-\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
-\family sans
-Itemize
-\family default
- environment.
- They do however require that you have the
-\family typewriter
-psnfss
-\family default
- packages installed.
-\layout Subsubsection
-
-Figures and Tables
-\layout Standard
-
-
-\family sans
-Foil
-\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.
-\layout Subsubsection
-
-Page Headers and Footers
-\begin_inset LatexCommand \label{sec:foilfoot}
-
-\end_inset
-
-
-\layout Standard
-
-
-\family sans
-My\SpecialChar ~
-Logo
-\family default
- and
-\family sans
-Restriction
-\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
-
--Typeset by
-\family sans
-Foil
-\family default
-TeX-
-\begin_inset Quotes erd
-\end_inset
-
-.
- While the second is meant to provide a classification for the audience,
-
-\emph on
-e.g.
-
-\emph default
- Confidential.
- It is empty by default.
-\layout Standard
-
-The remaining page corners can be filled by
-\family sans
- Right\SpecialChar ~
-Footer
-\family default
- (which defaults to page numbers),
-\family sans
-Right\SpecialChar ~
-Header
-\family default
- (top right) and
-\family sans
-Left\SpecialChar ~
-Header
-\family default
- (top left).
-\layout Subsection
-
-Unsupported
-\family sans
-Foil
-\family default
-TeX Goodies
-\begin_inset LatexCommand \label{sec:unsuppfoils}
-
-\end_inset
-
-
-\layout Standard
-
-All the commands mentioned below need to be set in a
-\family sans
-LaTeX
-\family default
- environment or as
-\family sans
-TeX
-\family default
- within another environment.
-\layout Subsubsection
-
-Lengths
-\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
-.
-
-\layout Standard
-
-It's possible to change the spacing between a foilhead and the body of the
- foil by adjusting the length specified by
-\family typewriter
-
-\backslash
-foilheadskip
-\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:
-
-\family typewriter
-
-\backslash
-setlength{
-\backslash
-foilheadskip}{-0.5in}
-\layout Standard
-
-The spacings around floats can be adjusted by setting these lengths:
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-abovefloatskip
-\family default
-Separation between the text and the top of the float
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-abovecaptionskip
-\family default
-Separation between the float and the caption
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-belowcaptionskip
-\family default
-Separation between the caption and the following text
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-captionwidth
-\family default
- You can make the captions narrower than the surrounding text by adjusting
- this length.
- Best done relative to
-\family typewriter
-
-\backslash
-textwidth
-\family default
-.
-\layout Standard
-
-There are also several title page related lengths that you may find useful
- if you have a long title or several authors:
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-abovetitleskip
-\family default
- Separation from headers to
-\family sans
-Title
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-titleauthorskip
-\family default
- between
-\family sans
-Title
-\family default
- and
-\family sans
-Author
-\family default
- environments
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-authorauthorskip
-\family default
- between multiple
-\family sans
-Author
-\family default
- lines
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-authordateskip
-\family default
- between the
-\family sans
-Author
-\family default
- and the
-\family sans
-Date
-\layout List
-\labelwidthstring MMMMMMMMMMM
-
-
-\family typewriter
-
-\backslash
-dateabstractskip
-\family default
- between the
-\family sans
-Date
-\family default
- and the
-\family sans
-Abstract
-\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.
-\layout Subsubsection
-
-Headers and Footers
-\layout Standard
-
-The
-\family typewriter
-
-\backslash
-LogoOn
-\family default
- and
-\family typewriter
-
-\backslash
-LogoOff
-\family default
- commands control whether the logo in the
-\family sans
-MyLogo
-\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
-
-\backslash
-LogoOff
-\family default
- directly after the foilhead of that page and the
-\family typewriter
-
-\backslash
-LogoOn
-\family default
- directly after the next foilhead.
-\layout Standard
-
-If you decide to use the
-\family sans
-fancy
-\family default
- page style setting in the
-\family sans
-Document\SpecialChar ~
-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
-\family sans
-foils
-\family default
- class.
-\layout Section
-
-Latex8 (IEEE Conference Papers)
-\layout Standard
-
-by
-\noun on
-Allan Rae
-\layout Subsection
-
-Introduction
-\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
-\family sans
-latex.sty
-\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.
-\layout Subsection
-
-Getting Started
-\layout Standard
-
-[AR\SpecialChar \@.
- more to come]
-\layout Subsection
-
-Supported Environments
-\layout Itemize
-
-
-\family sans
-Standard
-\layout Itemize
-
-
-\family sans
-Title
-\layout Itemize
-
-
-\family sans
-Author
-\layout Itemize
-
-
-\family sans
-E-mail
-\layout Itemize
-
-
-\family sans
-Affiliation
-\layout Itemize
-
-
-\family sans
-Abstract
-\layout Itemize
-
-
-\family sans
-Section
-\layout Itemize
-
-
-\family sans
-SubSection
-\layout Itemize
-
-
-\family sans
-Caption
-\layout Subsection
-
-Differences Between Screen and Paper
-\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.
-\layout Section
-
-Hollywood (Hollywood spec scripts)
-\layout Standard
-
-by
-\shape smallcaps
-Garst Reese
-\layout Subsection
-
-Introduction
-\layout Standard
-
-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.
-\layout Subsection
-
-Special problems
-\layout Standard
-
-Speakers' lines should NEVER break in mid-sentence.
- If a speaker's lines continue over a page break, repeat the
-\family sans
-Speaker
-\family default
- title followed by (Cont'd).
-\layout Subsection
-
-Special features
-\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.
-\layout Subsection
-
-Paper size and Margins
-\layout Standard
-
-USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
-\layout Subsection
-
-Environments
-\layout Standard
-
-The following environments are available.
- You can use hollywood.bind to get the bind keys shown at the right.
-\layout Itemize
-
-
-\family sans
-Standard
-\newline
-
-\family default
-Used where nothing else works.
- Try to avoid it.
-\layout Itemize
-
-
-\family sans
-FADE_IN
-\family default
-:
-\hfill
-
-\family sans
-M-z S-I
-\family default
-
-\newline
-Usually followed by something like
-\begin_inset Quotes eld
-\end_inset
-
-on Sally waking up.
-\begin_inset Quotes erd
-\end_inset
-
-
-\layout Itemize
-
-
-\family sans
-INT:
-\hfill
-M-z i
-\newline
-
-\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.
-\layout Itemize
-
-
-\family sans
-EXT:
-\hfill
-M-z e
-\newline
-
-\family default
-Introduces a new EXTERIOR camera set-up.
- Everthing on this line in CAPS.
-\layout Itemize
-
-
-\family sans
-Speaker
-\hfill
-M-z s
-\newline
-
-\family default
-The character speaking.
-\layout Itemize
-
-
-\family sans
-Parenthetical
-\hfill
-M-z p
-\newline
-
-\family default
-Instructions to the speaker.
- The () are automatically inserted, but only the ( will show in LyX.
- Both will be printed.
-\layout Itemize
-
-
-\family sans
-Dialogue
-\hfill
-M-z d
-\newline
-
-\family default
-What the
-\family sans
-Speaker
-\family default
- says.
-\layout Itemize
-
-
-\family sans
-Transition
-\hfill
-M-z t
-\newline
-
-\family default
-Camera movement instruction.
- e.g.
- CUT TO:
-\layout Itemize
-
-
-\family sans
-FADE OUT:
-\hfill
-M-z S-I
-\layout Itemize
-
-
-\family sans
-Author
-\hfill
-M-z S-A
-\layout Itemize
-
-
-\family sans
-Title
-\hfill
-M-z S-T
-\layout Itemize
-
-
-\family sans
-Right_Address
-\hfill
-M-z r
-\layout Subsection
-
-Script jargon
-\layout Itemize
-
-(O.S) --- off screen
-\layout Itemize
-
-(V.0) --- voice over
-\layout Itemize
-
-b.g.
- --- background
-\layout Itemize
-
-C.U.
- --- close-up
-\layout Itemize
-
-PAN --- camera movement
-\layout Itemize
-
-INSERT --- cut to close-up of
-\layout Section
-
-Broadway
-\layout Standard
-
-by
-\shape smallcaps
-Garst Reese
-\layout Subsection
-
-Introduction
-\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.
-\layout Subsection
-
-Special problems
-\layout Standard
-
-The same as in Hollywood.
-\layout Subsection
-
-Special features
-\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.
-\layout Subsection
-
-Paper size and Margins
-\layout Standard
-
-USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
-\layout Subsection
-
-Environments
-\layout Standard
-
-The following environments are available.
- You can use broadway.bind to get the bind keys shown at the right.
-\layout Itemize
-
-
-\family sans
-Standard
-\newline
-
-\family default
-You should not have to use this, but it is here for anything that does not
- fit otherwise.
-\layout Itemize
-
-
-\family sans
-Narrative
-\hfill
-M-z n
-\newline
-
-\family default
-Used to describe stage setting and the action.
- First use of speaker names in all CAPs.
-\layout Itemize
-
-
-\family sans
-ACT
-\hfill
-M-z a
-\newline
-
-\family default
-Automatically numbered.
- On screen it will be arabic, but will print as Roman.
-\layout Itemize
-
-
-\family sans
-ACT*
-\hfill
-M-z S at
-\newline
-
-\family default
-Subtitle for
-\family sans
-ACT.
-
-\family default
-It is just centered text.
-\layout Itemize
-
-
-\family sans
-SCENE
-\hfill
-M-z S-S
-\newline
-
-\family default
-Not automatically numbered.
- You supply the number.
- This is because I couldn't figure out how.
-\layout Itemize
-
-
-\family sans
-AT_RISE:
-\hfill
-M-z S-R
-\newline
-
-\family default
-A special case of Narrative to describe the setting and action as the curtain
- rises.
-\layout Itemize
-
-
-\family sans
-Speaker
-\hfill
-M-z s
-\newline
-
-\family default
-The speaker's (actor's) title, centered in all CAPS.
-\layout Itemize
-
-
-\family sans
-Parenthetical
-\hfill
-M-z p
-\newline
-
-\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
-.
-\layout Itemize
-
-
-\family sans
-Dialogue
-\hfill
-M-z d
-\newline
-
-\family default
-What the Speaker says.
-\layout Itemize
-
-
-\family sans
-CURTAIN
-\hfill
-M-z S-C
-\newline
-
-\family default
-The curtain comes down.
-\layout Itemize
-
-
-\family sans
-Title
-\hfill
-M-z S-T
-\layout Itemize
-
-
-\family sans
-Author
-\hfill
-M-z S-A
-\layout Itemize
-
-
-\family sans
-Right_Address
-\hfill
-M-z r
-\layout Standard
-
-Hello there.
-\layout Section
-
-RevTeX4
-\layout Standard
-
-by
-\noun on
-Amir Karger
-\layout Standard
-\added_space_top bigskip \noindent
-The
-\family sans
-Revtex\SpecialChar ~
-4
-\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.
-\layout Standard
-
-LyX has a
-\family sans
-Revtex
-\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
-\family sans
-RevTeX\SpecialChar ~
-4
-\family default
- textclass should also be pretty easy to use.
-\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.
-\layout Subsection
-
-Installation
-\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
-\begin_inset LatexCommand \url[The RevTeX 4 Web Site]{http://publish.aps.org/revtex4/}
-
-\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.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.
-\layout Standard
-
-Probably the easiest way to get started is either to import a RevTeX 4 document
- using
-\family typewriter
-reLyX
-\family default
-, or to use the
-\family sans
-Revtex\SpecialChar ~
-4
-\family default
- template, found in the templates directory.
-\layout Subsection
-
-Preamble Matter
-\layout Standard
-
-Optional arguments to
-\family typewriter
-
-\backslash
-documentclass
-\family default
-, like
-\begin_inset Quotes eld
-\end_inset
-
-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\SpecialChar ~
-Options
-\family default
- field in the
-\family sans
-Document\SpecialChar ~
-Layout
-\family default
- dialog, as usual.
- Remember that in RevTeX, at least one optional argument is required!
-\layout Standard
-
-Other preamble matter, like
-\family typewriter
-
-\backslash
-draft
-\family default
- etc.
- goes in the
-\family sans
-Latex\SpecialChar ~
-Preamble
-\family default
- dialog, also as usual.
-\layout Subsection
-
-Layouts
-\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
-\family sans
-Address
-\family default
- and
-\family sans
-Affiliation
-\family default
- layouts are exactly equivalent, so you shouldn't need to use both.
-\begin_inset Foot
-collapsed true
-
-\layout Standard
-
-In case you're curious, both were included so that
-\family typewriter
-reLyX
-\family default
- would be able to translate both
-\family typewriter
-
-\backslash
-address
-\family default
- and
-\family typewriter
-
-\backslash
-affiliation
-\family default
-.
-\end_inset
-
-
-\layout Subsection
-
-Important Notes
-\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.
-\layout Standard
-
-In RevTeX, the
-\family typewriter
-
-\backslash
-thanks
-\family default
- command goes
-\emph on
-outside
-\emph default
- the
-\family typewriter
-
-\backslash
-author
-\family default
- command.
- The LyX equivalent is that there is a separate Thanks layout.
- Do
-\emph on
-not
-\emph default
- write footnotes in the
-\family sans
-Author
-\family default
- layout, or weird things may happen.
- See the RevTeX 4 documentation for more details.
-\layout Standard
-
-Also, the
-\family sans
-Author\SpecialChar ~
-Email
-\family default
-,
-\family sans
-Author\SpecialChar ~
-URL
-\family default
-, and
-\family sans
-Thanks
-\family default
- layouts must be placed
-\emph on
-in between
-\emph default
- the
-\family sans
-Author
-\family default
- layout and the corresponding
-\family sans
-Address
-\family default
- (or equivalent
-\family sans
-Affiliation
-\family default
-) layout.
- If you put the
-\family sans
-Thanks
-\family default
- after the
-\family sans
-Address
-\family default
-, the LaTeX won't compile.
-\layout Subsection
-
-Drawbacks
-\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.g., the running title for the page headers.
- Lacking these layouts makes the
-\family typewriter
-
-\backslash
-altaffiliation
-\family default
- (and the equivalent
-\family typewriter
-
-\backslash
-altaddress
-\family default
-) useless, so the corresponding layouts don't exist, and will have to be
- added by hand.
-\begin_inset Foot
-collapsed true
-
-\layout Standard
-
-
-\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_inset
-
-
-\layout Section
-
-Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset OptArg
-collapsed true
-
-\layout Standard
-
-The
-\family typewriter
-mw
-\family default
- Classes
-\end_inset
-
-
-\layout Standard
-
-by
-\noun on
-Tomasz Luczak
-\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.
-
-\layout Standard
-
-Basic differences:
-\layout Itemize
-
-Unnumbered titles (with star, eg.
-
-\family sans
-Section*
-\family default
-) are added into table of contents,
-\layout Itemize
-
-Additional page styles:
-\begin_deeper
-\layout Description
-
-uheadings header with separated lines,
-\layout Description
-
-myheadings custom header, contents headers via commands:
-\family typewriter
-
-\backslash
-markright
-\family default
- and
-\family typewriter
-
-\backslash
-markboth
-\family default
-,
-\layout Description
-
-myuheadings custom header with separated lines,
-\layout Description
-
-outer page number is placed on outer side of page
-\end_deeper
-\layout Itemize
-
-Options
-\begin_deeper
-\layout Description
-
-rmheadings serif titles --- default,
-\layout Description
-
-sfheadings sansserif titles,
-\layout Description
-
-authortitle on title page first placed is author next title --- default,
-\layout Description
-
-titleauthor on title page first placed is title next author,
-\layout Description
-
-withmarginpar reserve place on page for margins.
-\end_deeper
-\layout Section
-
-Elsevier Journals
-\layout Standard
-
-By
-\noun on
-Rod Pinna
-\layout Standard
-
-Elsevier Science Publishers B.V.
- provides a standard LaTeX document class (
-\family typewriter
-elsart.cls
-\family default
-) for submitting articles to their various journals.
- The style file can be downloaded directly from their web site:
-\begin_inset LatexCommand \url{http://authors.elsevier.com/}
-
-\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.
-\layout Standard
-
-To make use of
-\family typewriter
-elsart.cls
-\family default
-, a file
-\family typewriter
-elsart.layout
-\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.
-\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
-\begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-LaTeX
-\end_inset
-
- 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.
-\layout Section
-
-Memoir
-\layout Standard
-
-By
-\noun on
-Jürgen Spitzmüller
-\layout Subsection
-
-Overview
-\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).
-\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
-collapsed true
-
-\layout Standard
-
-You are invited to send suggestions to
-\begin_inset LatexCommand \url{lyx-devel@lists.lyx.org}
-
-\end_inset
-
-.
-\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
-collapsed true
-
-\layout Standard
-
-Cf.
-\begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-
-\end_inset
-
-section\SpecialChar ~
-
-\begin_inset LatexCommand \ref{sec:Inserting-LaTeX-Code}
-
-\end_inset
-
- for details.
-\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
-collapsed true
-
-\layout Standard
-
-Cf.
-\begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-
-\end_inset
-
-
-\begin_inset LatexCommand \url{CTAN:/macros/latex/memoir/memman.pdf}
-
-\end_inset
-
-.
-\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.
-\layout Subsection
-
-Basic features and restrictions
-\layout Standard
-
-Memoir supports basically all features of the standard book classes.
- There are, however, some differences, as follows:
-\layout Description
-
-Font\SpecialChar ~
-sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14,
- 17
-\layout Description
-
-Page\SpecialChar ~
-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
-Layout\SpecialChar \menuseparator
-Document\SpecialChar \menuseparator
-Page\SpecialChar ~
-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 ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-,
-\end_inset
-
-g.
-\begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-
-\end_inset
-
-
-\family typewriter
-
-\backslash
-chapterstyle{companion}
-\family default
-).
-\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
-Insert\SpecialChar \menuseparator
-Short\SpecialChar ~
-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.
-\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.
-\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
-
-, i.
-\begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-,
-\end_inset
-
-e.
-\begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash
-
-\end_inset
-
-without pagina).
- If you want an empty title page, type
-\family typewriter
-
-\backslash
-aliaspagestyle{title}{empty}
-\family default
-in the preamble.
-\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\SpecialChar ~
-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
-
-\begin_inset Quotes eld
-\end_inset