]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Extended.lyx
German UserGuide.lyx: update for Hartmut
[lyx.git] / lib / doc / Extended.lyx
index 0b4ec5aea3a6abe8d5902f0251b547db78be23ce..d6eb910e222d48c1f4d489f22d2a82df8071fdd5 100644 (file)
@@ -1,12 +1,49 @@
-#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 274
+#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 313
 \begin_document
 \begin_header
 \textclass book
 \begin_preamble
 \usepackage{multicol}
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
+
+% if pdflatex is used
+\usepackage{ifpdf}
+\ifpdf
+
+% set fonts for nicer pdf view
+\IfFileExists{lmodern.sty}
+ {\usepackage{lmodern}}{}
+
+% link all cross references and URLs
+% in pdf output
+ \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
+  pdfpagelayout=OneColumn, pdfnewwindow=true,
+  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
+  pdfauthor={LyX Team}, pdftex,
+  pdftitle={LyX's Extended manual},
+  pdfsubject={LyX's extended documentation},
+  pdfkeywords={LyX, Documentation, Extended}]{hyperref}
+\else % if dvi or ps is produced
+
+ % link all cross references and URLs in DVI output
+ \usepackage[ps2pdf, colorlinks=true,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
+
+\fi % end if pdflatex is used
+
+% redefine the \LyX macro for PDF bookmarks
+\def\LyX{\texorpdfstring{%
+  L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
+  {LyX }}
 \end_preamble
+\begin_modules
+logicalmkup
+theorems-ams
+theorems-ams-extended
+\end_modules
 \language english
 \inputencoding latin1
 \font_roman default
@@ -20,6 +57,7 @@
 \graphics default
 \paperfontsize default
 \spacing single
+\use_hyperref false
 \papersize default
 \use_geometry false
 \use_amsmath 0
@@ -37,7 +75,8 @@
 \paperpagestyle headings
 \tracking_changes false
 \output_changes false
-\author "usti" 
+\author "" 
+\author "" 
 \end_header
 
 \begin_body
@@ -68,7 +107,8 @@ Principal maintainer of this file is
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand tableofcontents
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
 
 \end_inset
 
@@ -177,7 +217,8 @@ How LyX Uses LaTeX
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:lyxandlatex"
 
 \end_inset
@@ -467,6 +508,13 @@ ile
 
 \begin_layout Section
 Translating LaTeX files into LyX
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Translating-LaTeX-files"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -518,8 +566,10 @@ tex2lyx
 \end_layout
 
 \begin_layout Standard
-If you just want to put a piece of LaTeX code into a LyX file, see Section
-\begin_inset LatexCommand ref
+If you just want to put a piece of LaTeX code into a LyX file, see Section\InsetSpace ~
+
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:latexcodes"
 
 \end_inset
@@ -529,7 +579,8 @@ reference "sec:latexcodes"
 
 \begin_layout Section
 Inserting LaTeX Code into LyX Documents 
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:Inserting-LaTeX-Code"
 
 \end_inset
@@ -538,7 +589,8 @@ name "sec:Inserting-LaTeX-Code"
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:latexcodes"
 
 \end_inset
@@ -576,7 +628,7 @@ inlined
  short sections of LaTeX commands.
  
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -883,7 +935,8 @@ About the LaTeX Preamble
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:preamble"
 
 \end_inset
@@ -1371,7 +1424,8 @@ dirty tricks
 
  given in Chapter\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "cha:secrets"
 
 \end_inset
@@ -1898,7 +1952,8 @@ Supplemental Tools
 
 \begin_layout Section
 Preparing a Bibliography with BibTeX
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:Preparing-a-Bibliography"
 
 \end_inset
@@ -2197,8 +2252,13 @@ status collapsed
 
 \begin_layout Standard
 See 
-\begin_inset LatexCommand url
-target "ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
+\end_layout
 
 \end_inset
 
@@ -2216,7 +2276,8 @@ natbib
 
 \begin_layout Subsection
 Sectionated Bibliographies
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sub:Sectionated-Bibliographies"
 
 \end_inset
@@ -2253,8 +2314,13 @@ status collapsed
 
 \begin_layout Standard
 Available from 
-\begin_inset LatexCommand url
-target "ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
+\end_layout
 
 \end_inset
 
@@ -2331,7 +2397,8 @@ bibliography
 .
  Now you can insert multiple BibTeX references (as described in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:Preparing-a-Bibliography"
 
 \end_inset
@@ -2425,7 +2492,8 @@ bibtopic
  LyX (cf.\InsetSpace ~
 section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sub:Sectionated-Bibliographies"
 
 \end_inset
@@ -2434,7 +2502,8 @@ reference "sub:Sectionated-Bibliographies"
  LaTeX-Code (ERT, cf.\InsetSpace ~
 section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:Inserting-LaTeX-Code"
 
 \end_inset
@@ -2514,1615 +2583,1755 @@ every
  Also, the btUnits cannot be nested.
 \end_layout
 
+\begin_layout Standard
+
+\end_layout
+
 \begin_layout Section
-Making an Index
+Multipart Documents
 \end_layout
 
-\begin_layout Standard
-A good index is one of the hardest things to make in a lengthy document,
- but LyX helps make things a bit simpler by interfacing to the 
-\family typewriter
-makeindex
-\family default
- program which is found in most recent LaTeX distributions.
-\begin_inset Foot
-status collapsed
+\begin_layout Subsection
+General Operation
+\end_layout
 
 \begin_layout Standard
+When you are working on a large file with many sections, it is often convenient
+ to break up the document into several files, or perhaps you have something
+ where a table may change from time to time, but the preceding text does
+ not.
+ In these cases, you should seriously consider using multipart documents.
+ For example, scientific papers often have five major sections: the introduction
+, observations, results, discussion, and conclusion.
+ Each of these could be its own separate LyX file, with one 
+\begin_inset Quotes eld
+\end_inset
+
+master
+\begin_inset Quotes erd
+\end_inset
+
+ file which contains the title, authors, abstract, references, etc., plus
+ the five included files.
+ 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.
+ You may also include LaTeX files; however, these files must not have their
+ own preamble 
+\emph on
+(i.e.
 
-\family roman
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-In the
-\family default
-\series default
-\shape default
-\emph default
-\bar default
-\family sans
-\size default
-\noun default
-Outputs\SpecialChar \menuseparator
-LaT\SpecialChar \textcompwordmark{}
-eX
-\family roman
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
- section of the preferences dialog, however, you can customize the index
- command, if you prefer an alternative program like
-\family default
-\series default
-\shape default
 \emph default
-\bar default
+ everything up to and including the 
 \family typewriter
-\size default
-\noun default
-xindy
-\family roman
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-.
-\end_layout
 
-\end_inset
+\backslash
+begin{document}
+\family default
+ line as well as the 
+\family typewriter
 
- Inserting an index and marking words to include in it works much the same
- way as preparing a bibliography as mentioned in the last section.
+\backslash
+end{document}
+\family default
+ line must be deleted) or else errors will be generated when you try to
+ make a DVI file.
 \end_layout
 
 \begin_layout Standard
-First, go to the end of your file and select 
+LyX allows you to include files quite easily with 
 \family sans
 \bar under
 I
 \bar default
 nsert\SpecialChar \menuseparator
-List
-\family default
-\InsetSpace ~
-/\InsetSpace ~
-
-\family sans
-T
-\bar under
-O
-\bar default
-C\SpecialChar \menuseparator
-
+ChiI
 \bar under
-I
+d
 \bar default
-ndex
-\family default
 \InsetSpace ~
-
-\family sans
-List
+Document
 \family default
 .
- Then, for each word you would like to include in the index, go to the end
- of that word and click on 
-\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-
-\bar under
-I
-\bar default
-ndex
-\family default
-\InsetSpace ~
+ When you click on this selection a small box is inserted into the file
+ at the current cursor location.
+ Clicking on the box raises a dialog which allows you to select the file
+ to be included, and the method of its inclusion.
+\end_layout
 
-\family sans
-Entry
-\family default
-.
- This will insert a tag showing the word as it will appear in the index.
- That's all there is to it; LyX will automatically call 
-\family typewriter
-makeindex
-\family default
- for you and create the index itself.
- The text in the dialog available from right-clicking on the index button
- accepts LaTeX, so you'll need to be careful to avoid using any special
- characters.
- On the positive side, you can use the advanced options - have a look at
- the documentation which comes with your LaTeX distribution to find out
- how to do things like 
+\begin_layout Standard
+The file selection box should by now be obvious.
+ The three inclusion methods are 
 \begin_inset Quotes eld
 \end_inset
 
-nested entries
+include
 \begin_inset Quotes erd
 \end_inset
 
-, etc.
-\end_layout
-
-\begin_layout Standard
-Be careful not to put spaces between the word in the text and the index
- marker; apparently the wrong page number can be produced if this happens.
-\end_layout
-
-\begin_layout Section
-Glossaries
-\end_layout
-
-\begin_layout Standard
-by 
-\noun on
-Özgür Ug̃raş Baran
-\end_layout
-
-\begin_layout Standard
-Sometimes you need to compile a list of symbols that are mentioned in your
- document with a brief explanation of them.
- A LaTeX package named 
-\family typewriter
-nomencl
-\family default
- provides an easy way of compiling such lists.
-\family typewriter
-nomencl
-\family default
- is included in most standard Linux distributions.
- If your distribution doesn't contain it, you should download it from a
- CTAN mirror and install the package in order to use this feature of LyX.
-\end_layout
-
-\begin_layout Standard
-A glossary entry is created if you place the cursor after a symbol entry
- and then use the menu 
-\family sans
-Insert\SpecialChar \menuseparator
-Glossary\InsetSpace ~
-Entry
-\family default
-.
- A gray box labeled 
+, 
 \begin_inset Quotes eld
 \end_inset
 
-
-\family sans
-Not
-\family default
-
+input
 \begin_inset Quotes erd
 \end_inset
 
- is inserted and a window pops up asking for the glossary entry.
- A glossary entry consists of two main entries.
- The first is the symbol that you want to refer to.
- You should enter a valid LaTeX code for the corresponding field in the
- glossary dialog.
- The second is the description of the symbol.
- You should fill the corresponding field to complete the glossary entry.
-\end_layout
-
-\begin_layout Subsection
-Sort Order of Glossary Entries
-\end_layout
-
-\begin_layout Standard
-Suppose you have two glossary entries for the symbols 
-\begin_inset Formula $a$
+, and 
+\begin_inset Quotes eld
 \end_inset
 
- and 
-\begin_inset Formula $\sigma$
+verbatim
+\begin_inset Quotes erd
 \end_inset
 
 .
- The 
-\family typewriter
-nomencl
-\family default
- package automatically sorts these two entries considering the symbol entry,
- while printing the Glossary.
- However, this can lead to an undesired sort order.
- For the example given, the first entry appears as 
-\family typewriter
-$a$
-\family default
-, while the second is 
-\family typewriter
-$
-\backslash
-sigma$
-\family default
-.
- Note that, in this case 
-\begin_inset Formula $\sigma$
+ The difference between 
+\begin_inset Quotes eld
 \end_inset
 
- is located in front of the 
-\begin_inset Formula $a$
+include
+\begin_inset Quotes erd
 \end_inset
 
-, since the character 
+ and 
 \begin_inset Quotes eld
 \end_inset
 
+input
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
+ is really only meaningful to LaTeXperts, but the practical difference is
+ that files which are 
+\begin_inset Quotes eld
+\end_inset
 
+included
 \begin_inset Quotes erd
 \end_inset
 
- is considered in sorting.
- In order to control the sort order, you can edit the 
-\family sans
-Sort\InsetSpace ~
-as
-\family default
- field of the glossary dialog.
- For the given example, you can edit this field as 
-\family typewriter
-a
-\family default
- and 
-\family typewriter
-sigma
-\family default
- correspondingly.
- Then, these entries will be effective in the sort ordering and 
-\begin_inset Formula $a$
+ are typeset beginning on a new page, while files which are 
+\begin_inset Quotes eld
 \end_inset
 
- will be located before 
-\begin_inset Formula $\sigma$
+inputted
+\begin_inset Quotes erd
 \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
-This feature provides exciting ways of ordering the entries.
- For subgrouping and tips for using sort entries see the official nomencl
- documentation.
-\end_layout
+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
+\InsetSpace ~
 
-\begin_layout Subsection
-Referencing
+\family sans
+typeset
+\family default
+ button prevents this conversion.
 \end_layout
 
 \begin_layout Standard
-You can turn on referencing to the equations and pages in the glossary entries.
- For this purpose, you should add referencing options commands at the end
- of description field.
- There are six referencing options in nomencl package:
-\end_layout
-
-\begin_layout Paragraph*
-
-\backslash
-refeq:
+A 
+\begin_inset Quotes eld
+\end_inset
+
+verbatim
+\begin_inset Quotes erd
+\end_inset
+
+ included file allows you to include a file typeset exactly as it appears
+ in the file, i.e.\InsetSpace ~
+verbatim 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
+\bar under
+M
+\bar default
+ark\InsetSpace ~
+spaces\InsetSpace ~
+in\InsetSpace ~
+output
+\family default
+ checkbox typesets a mark to unambiguously define the presence of a space.
+\end_layout
+
+\begin_layout Subsection
+Cross-References Between Files
 \end_layout
 
 \begin_layout Standard
-Adds reference to the equation by adding the phrase 
+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
+ file example, where B is included in A.
+ Let's say you insert a label in A, then want to reference it in B.
+ Open the cross-reference dialog in whilst in document B, and you can select
+ the 
 \begin_inset Quotes eld
 \end_inset
 
-, see equation (#)
+buffer
 \begin_inset Quotes erd
 \end_inset
 
+ to use.
+\end_layout
 
+\begin_layout Section
+Fancy Headers and Footers
 \end_layout
 
-\begin_layout Paragraph*
+\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 
+\begin_inset Quotes eld
+\end_inset
+
+fancy
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
-refpage:
+, as mentioned in the 
+\family sans
+User\InsetSpace ~
+Guide
+\family 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.
 \end_layout
 
 \begin_layout Standard
-Adds reference to the page by adding the phrase 
+The page header is divided into three fields, not surprisingly labeled 
+\begin_inset Quotes eld
+\end_inset
+
+left
+\begin_inset Quotes erd
+\end_inset
+
+, 
 \begin_inset Quotes eld
 \end_inset
 
-, page (#)
+center
 \begin_inset Quotes erd
 \end_inset
 
+, and 
+\begin_inset Quotes eld
+\end_inset
 
-\end_layout
+right
+\begin_inset Quotes erd
+\end_inset
+
+.
+ The footer is also divided into these three fields.
+ The LaTeX commands to set these fields in the simplest manner are 
+\family typewriter
 
-\begin_layout Paragraph*
+\backslash
+lhead
+\family default
+, 
+\family typewriter
 
 \backslash
-refeqpage:
-\end_layout
+chead
+\family default
+, 
+\family typewriter
 
-\begin_layout Standard
-Is the short notation of 
 \backslash
-refeq
+rhead
+\family default
+, 
+\family typewriter
+
 \backslash
-refpage.
+lfoot
+\family default
+, etc.
+ Suppose you wish to put your name in the upper left hand corner of each
+ page.
+ Simply insert the following command in the preamble: 
 \end_layout
 
-\begin_layout Paragraph*
+\begin_layout Standard
+
+\family typewriter
 
 \backslash
-norefeq, 
-\backslash
-norefpag, 
-\backslash
-norefeqpage:
+lhead{John Q.
+ DocWriter}
 \end_layout
 
 \begin_layout Standard
-Turns off corresponding referencing options if they are turned on globally
- (see reference documentation of nomencl).
+You will now see your name in the upper left.
+ If a field has a default entry that you would like to get rid of (often
+ the page number appears in the central footer, simply include a command
+ with a blank argument, e.\InsetSpace \thinspace{}
+g.
 \end_layout
 
-\begin_layout Subsection
-Printing Glossary
+\begin_layout Standard
+
+\family typewriter
+
+\backslash
+cfoot{}
 \end_layout
 
 \begin_layout Standard
-You can insert the glossary with the menu 
-\family sans
-Insert\SpecialChar \menuseparator
-Lists\InsetSpace ~
-&TOC\SpecialChar \menuseparator
-Glossary
-\family default
-.
- A light blue box labeled 
+Let's get really fancy: lets put the section number with the word 
 \begin_inset Quotes eld
 \end_inset
 
-
-\family sans
-Glossary
-\family default
-
+Section
 \begin_inset Quotes erd
 \end_inset
 
- will show the place where the index is printed in the output.
- The index list box is not clickable like other LyX-boxes.
- In the printed output the title of the glossary appears as 
-\series bold
-Nomenclature
-\series default
-
-\begin_inset Foot
-status collapsed
+ (e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+Section 3) in the upper left, the page number (e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+Page 4) in the upper
+ right, your name in the lower left, and the date in the lower right.
+ The following commands should now appear in the preamble:
+\end_layout
 
 \begin_layout Standard
-This is translated to the document language for a small number of languages,
- amongst others French and German
+
+\family typewriter
+
+\backslash
+lhead{Section 
+\backslash
+thesection}
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
-.
- If you are not happy with the title, you can change it by re-defining the
- command 
 \family typewriter
 
 \backslash
-nomname
-\family default
- in the preamble.
- For example, in order to change the title 
-\emph on
-List of Symbols
-\emph default
- for the 
-\emph on
-Glossary
-\emph default
- add the following line to the preamble.
+chead{}
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+
+\family typewriter
 
 \backslash
-renewcommand{
+rhead{Page 
 \backslash
-nomname}{List of Symbols}
+thepage}
 \end_layout
 
 \begin_layout Standard
- If you're unhappy with the amount of space for symbols, you can alter it
- by adding following line to the preamble.
-\end_layout
 
-\begin_layout LyX-Code
+\family typewriter
 
 \backslash
-renewcommand{
-\backslash
-nomlabelwidth}{3.0cm}
+lfoot{John Q.
+ DocWriter}
 \end_layout
 
-\begin_layout Section
-Multipart Documents
-\end_layout
+\begin_layout Standard
 
-\begin_layout Subsection
-General Operation
+\family typewriter
+
+\backslash
+cfoot{}
 \end_layout
 
 \begin_layout Standard
-When you are working on a large file with many sections, it is often convenient
- to break up the document into several files, or perhaps you have something
- where a table may change from time to time, but the preceding text does
- not.
- In these cases, you should seriously consider using multipart documents.
- For example, scientific papers often have five major sections: the introduction
-, observations, results, discussion, and conclusion.
- Each of these could be its own separate LyX file, with one 
-\begin_inset Quotes eld
-\end_inset
 
-master
-\begin_inset Quotes erd
-\end_inset
+\family typewriter
 
- file which contains the title, authors, abstract, references, etc., plus
- the five included files.
- 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.
- You may also include LaTeX files; however, these files must not have their
- own preamble 
-\emph on
-(i.e.
+\backslash
+rfoot{
+\backslash
+today}
+\end_layout
 
-\emph default
- everything up to and including the 
+\begin_layout Standard
+The codes 
 \family typewriter
 
 \backslash
-begin{document}
+thesection
 \family default
- line as well as the 
+ and 
 \family typewriter
 
 \backslash
-end{document}
+thepage
 \family default
- line must be deleted) or else errors will be generated when you try to
- make a DVI file.
+ access LaTeX's section and page counters, and so print out the current
+ section and page numbers.
+\family typewriter
+
+\backslash
+today
+\family default
+ simply prints out today's date.
 \end_layout
 
 \begin_layout Standard
-LyX allows you to include files quite easily with 
-\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
-ChiI
-\bar under
-d
-\bar default
-\InsetSpace ~
-Document
-\family default
-.
- When you click on this selection a small box is inserted into the file
- at the current cursor location.
- Clicking on the box raises a dialog which allows you to select the file
- to be included, and the method of its inclusion.
+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.
+ The header rule has a default thickness of 0.4pt, the footer rule is 0pt.
+ Use the commands, e.\InsetSpace \thinspace{}
+g.
  
+\family typewriter
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{0.4pt}
+\family default
+ and 
+\family typewriter
+
+\backslash
+renewcommand{
+\backslash
+footrulewidth}{0.4pt}
+\family default
+ to set the thicknesses.
 \end_layout
 
 \begin_layout Standard
-The file selection box should by now be obvious.
- The three inclusion methods are 
-\begin_inset Quotes eld
-\end_inset
-
-include
-\begin_inset Quotes erd
-\end_inset
+You can switch the header/footer settings on and off for individual pages
+ using commands like 
+\family typewriter
 
+\backslash
+thispagestyle{empty}
+\family default
 , 
-\begin_inset Quotes eld
-\end_inset
-
-input
-\begin_inset Quotes erd
-\end_inset
+\family typewriter
 
+\backslash
+thispagestyle{plain}
+\family default
 , and 
-\begin_inset Quotes eld
-\end_inset
-
-verbatim
-\begin_inset Quotes erd
-\end_inset
+\family typewriter
 
+\backslash
+thispagestyle{fancy}
+\family default
 .
- The difference between 
-\begin_inset Quotes eld
-\end_inset
-
-include
-\begin_inset Quotes erd
-\end_inset
-
- and 
-\begin_inset Quotes eld
-\end_inset
-
-input
-\begin_inset Quotes erd
-\end_inset
+ Simply insert them in the text on the page you want changed and mark them
+ as TeX code.
+ In fact, title pages are marked as plain by default, while following pages
+ are marked fancy when using the global fancy setting.
+\end_layout
 
- is really only meaningful to LaTeXperts, but the practical difference is
- that files which are 
-\begin_inset Quotes eld
-\end_inset
+\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
+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 \-
+fancyhdr.dvi
+\family default
+.
+\end_layout
 
-included
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+As a final example, it is possible to include an Encapsulated PostScript
+ file 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
 
- are typeset beginning on a new page, while files which are 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
 
-inputted
-\begin_inset Quotes erd
-\end_inset
+\family typewriter
 
- are typeset starting on the current page.
- Perhaps the labeling in LyX will be changed someday to reflect this.
+\backslash
+lhead{
+\backslash
+resizebox{1in}{!}{
+\backslash
+includegraphics{logo.eps}}}
 \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
-\InsetSpace ~
+\noindent
+(you may need to preface this with 
+\family typewriter
 
-\family sans
-typeset
+\backslash
+usepackage{graphics}
 \family default
button prevents this conversion.
if you don't include EPS files elsewhere in your document).
 \end_layout
 
-\begin_layout Standard
-A 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Section
+Itemize Bullet Selection
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:bullet"
 
-verbatim
-\begin_inset Quotes erd
 \end_inset
 
- included file allows you to include a file typeset exactly as it appears
- in the file, i.e.\InsetSpace ~
-verbatim 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
-\bar under
-M
-\bar default
-ark\InsetSpace ~
-spaces\InsetSpace ~
-in\InsetSpace ~
-output
-\family default
- checkbox typesets a mark to unambiguously define the presence of a space.
+
+\end_layout
+
+\begin_layout Standard
+by
+\noun on
+ Allan Rae
 \end_layout
 
 \begin_layout Subsection
-Cross-References Between Files
+Introduction
 \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
- file example, where B is included in A.
- Let's say you insert a label in A, then want to reference it in B.
- Open the cross-reference dialog in whilst in document B, and you can select
- the 
-\begin_inset Quotes eld
-\end_inset
+LyX provides 216 bullet shapes that can be accessed from a simple dialog.
+ 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
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
+Well, actually you can but you'll have to do it by hand.
+\end_layout
 
-buffer
-\begin_inset Quotes erd
 \end_inset
 
- to use.
+.
 \end_layout
 
-\begin_layout Section
-Fancy Headers and Footers
+\begin_layout Subsection
+How it looks
 \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 
-\begin_inset Quotes eld
-\end_inset
-
-fancy
-\begin_inset Quotes erd
-\end_inset
+Open the dialog by selecting the 
+\family sans
+\bar under
+D
+\bar default
+ocument\SpecialChar \menuseparator
 
-, as mentioned in the 
+\bar under
+S
+\bar default
+ettings
+\family default
+ menu item and then select the 
 \family sans
-User\InsetSpace ~
-Guide
+\bar under
+B
+\bar default
+ullets
 \family 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.
+ tab.
 \end_layout
 
 \begin_layout Standard
-The page header is divided into three fields, not surprisingly labeled 
-\begin_inset Quotes eld
-\end_inset
+The dialog provides you with a table of bullet shapes.
+ A column of buttons on the left of the table provides access to the six
+ different panels of bullet shapes.
+ The row of buttons across the top is used to select which bullet depth
+ you are changing.
+ A text entry under the table shows the currently selected bullet shape's
+ LaTeX equivalent and this can be edited if desired.
+ If you do modify the text you will also need to specify any needed packages
+ in the LaTeX preamble.
+\end_layout
 
-left
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+The six panels are divided up by the packages they require.
+ The following table shows the mappings from button name to LaTeX packages.
+\end_layout
 
-, 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="7" columns="2">
+<features>
+<column alignment="center" valignment="top" leftline="true" width="0pt">
+<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
+<row topline="true" bottomline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-center
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
 
-, and 
-\begin_inset Quotes eld
-\end_inset
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Button
+\end_layout
 
-right
-\begin_inset Quotes erd
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-.
- The footer is also divided into these three fields.
- The LaTeX commands to set these fields in the simplest manner are 
-\family typewriter
+\begin_layout Standard
 
-\backslash
-lhead
-\family default
-, 
-\family typewriter
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Packages Required
+\end_layout
 
-\backslash
-chead
-\family default
-, 
-\family typewriter
+\end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-rhead
-\family default
-, 
-\family typewriter
+\begin_layout Standard
 
-\backslash
-lfoot
-\family default
-, etc.
- Suppose you wish to put your name in the upper left hand corner of each
- page.
- Simply insert the following command in the preamble: 
+\family sans
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Standard
 \end_layout
 
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-\family typewriter
+\begin_layout Standard
 
-\backslash
-lhead{John Q.
- DocWriter}
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+base LaTeX
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
-You will now see your name in the upper left.
- If a field has a default entry that you would like to get rid of (often
- the page number appears in the central footer, simply include a command
- with a blank argument, e.\InsetSpace \thinspace{}
-g.
+
+\family sans
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Maths
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
 
 \family typewriter
-
-\backslash
-cfoot{}
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+amssymb.sty
 \end_layout
 
-\begin_layout Standard
-Let's get really fancy: lets put the section number with the word 
-\begin_inset Quotes eld
 \end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-Section
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
 
- (e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-Section 3) in the upper left, the page number (e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-Page 4) in the upper
- right, your name in the lower left, and the date in the lower right.
- The following commands should now appear in the preamble:
+\family sans
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Ding1
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
 
 \family typewriter
-
-\backslash
-lhead{Section 
-\backslash
-thesection}
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+pifont.sty
 \end_layout
 
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-\family typewriter
+\begin_layout Standard
 
-\backslash
-chead{}
+\family sans
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Ding2
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
 
 \family typewriter
-
-\backslash
-rhead{Page 
-\backslash
-thepage}
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+pifont.sty
 \end_layout
 
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-\family typewriter
+\begin_layout Standard
 
-\backslash
-lfoot{John Q.
- DocWriter}
+\family sans
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Ding3
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
 
 \family typewriter
-
-\backslash
-cfoot{}
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+pifont.sty
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topline="true" bottomline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family sans
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+Ding4
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
 
 \family typewriter
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+pifont.sty
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\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
+ elsewhere.
+\end_layout
+
+\begin_layout Subsection
+How to use it
+\end_layout
+
+\begin_layout Standard
+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.
+\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_layout Standard
+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.
+ To make your own custom paragraphs you have the following options:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
 
 \backslash
-rfoot{
+let
 \backslash
-today}
+savelabelitemi=
+\backslash
+labelitemi
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-The codes 
-\family typewriter
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
 
 \backslash
-thesection
-\family default
- and 
+renewcommand
+\backslash
+labelitemi[0]{
+\backslash
+small
+\backslash
+(
+\backslash
+sharp
+\backslash
+)}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+Use the LaTeX command 
 \family typewriter
 
 \backslash
-thepage
+renewcommand{}{}
 \family default
- access LaTeX's section and page counters, and so print out the current
- section and page numbers.
+ 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.
+\newline
+
 \family typewriter
 
 \backslash
-today
+let
+\backslash
+savelabelitemi=
+\backslash
+labelitemi
 \family default
- 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.
- The header rule has a default thickness of 0.4pt, the footer rule is 0pt.
- Use the commands, e.\InsetSpace \thinspace{}
-g.
  
 \family typewriter
 
+\newline
+
 \backslash
-renewcommand{
+renewcommand
 \backslash
-headrulewidth}{0.4pt}
+labelitemi[0]{
+\backslash
+small
+\backslash
+(
+\backslash
+sharp
+\backslash
+)}
+\newline
+
 \family default
- and 
+Note that the itemize depth is specified in Roman numerals as part of the
 \family typewriter
 
 \backslash
-renewcommand{
-\backslash
-footrulewidth}{0.4pt}
+labelitem
 \family default
to set the thicknesses.
command.
 \end_layout
 
+\begin_layout Itemize
+\begin_inset ERT
+status open
+
 \begin_layout Standard
-You can switch the header/footer settings on and off for individual pages
- using commands like 
-\family typewriter
 
+[
 \backslash
-thispagestyle{empty}
-\family default
-, 
-\family typewriter
-
+(
 \backslash
-thispagestyle{plain}
-\family default
-, and 
-\family typewriter
-
+star
 \backslash
-thispagestyle{fancy}
-\family default
-.
- Simply insert them in the text on the page you want changed and mark them
- as TeX code.
- In fact, title pages are marked as plain by default, while following pages
- are marked fancy when using the global fancy setting.
+)]
 \end_layout
 
-\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
-fancyhdr
-\family default
- package documentation for more descriptions.
- For example, if you have a teTeX installation, look for 
+\end_inset
+
+ Specify each individual entry by starting each item with the bullet shape
+ enclosed in square brackets and set as TeX.
+ For example, this item was started with 
 \family typewriter
-/usr/share/texmf/doc/latex/fancyhdr/\SpecialChar \-
-fancyhdr.dvi
+[
+\backslash
+(
+\backslash
+star
+\backslash
+)]
 \family default
 .
 \end_layout
 
 \begin_layout Standard
-As a final example, it is possible to include an Encapsulated PostScript
- file 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_inset ERT
+status open
 
 \begin_layout Standard
 
-\family typewriter
 
 \backslash
-lhead{
+renewcommand
 \backslash
-resizebox{1in}{!}{
+labelitemi[0]{
 \backslash
-includegraphics{logo.eps}}}
+savelabelitemi}
 \end_layout
 
-\begin_layout Standard
-\noindent
-(you may need to preface this with 
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+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:
+\newline
+
 \family typewriter
 
 \backslash
-usepackage{graphics}
-\family default
- if you don't include EPS files elsewhere in your document).
+renewcommand
+\backslash
+labelitemi[0]{
+\backslash
+savelabelitemi}
+\end_layout
+
+\begin_layout Chapter
+Special Document Classes
 \end_layout
 
 \begin_layout Section
-Itemize Bullet Selection
-\begin_inset LatexCommand label
-name "sec:bullet"
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:AMS-LaTeX"
 
 \end_inset
 
-
+AMS LaTeX
 \end_layout
 
 \begin_layout Standard
-by
+by 
 \noun on
- Allan Rae
+David Johnson; updated by Richard Heck
 \end_layout
 
-\begin_layout Subsection
-Introduction
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-LyX provides 216 bullet shapes that can be accessed from a simple dialog.
- 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
-\begin_inset Foot
-status collapsed
+\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 Standard
-Well, actually you can but you'll have to do it by hand.
+
+http://www.ams.org
 \end_layout
 
 \end_inset
 
-.
-\end_layout
+ or by ftp at 
+\begin_inset Flex URL
+status open
 
-\begin_layout Subsection
-How it looks
+\begin_layout Standard
+
+ftp://ftp.ams.org/pub/tex/amslatex/
 \end_layout
 
-\begin_layout Standard
-Open the dialog by selecting the 
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+\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
- tab.
+.
+ These layouts are appropriate, and useful, for any mathematical writing.
 \end_layout
 
 \begin_layout Standard
-The dialog provides you with a table of bullet shapes.
- A column of buttons on the left of the table provides access to the six
- different panels of bullet shapes.
- The row of buttons across the top is used to select which bullet depth
- you are changing.
- A text entry under the table shows the currently selected bullet shape's
- LaTeX equivalent and this can be edited if desired.
- If you do modify the text you will also need to specify any needed packages
- in the LaTeX preamble.
+There are two basic AMS LaTeX layouts: 
 \end_layout
 
-\begin_layout Standard
-The six panels are divided up by the packages they require.
- The following table shows the mappings from button name to LaTeX packages.
+\begin_layout Enumerate
+amsart: The standard AMS article format.
 \end_layout
 
-\begin_layout Standard
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="7" columns="2">
-<features>
-<column alignment="center" valignment="top" leftline="true" width="0pt">
-<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
-<row topline="true" bottomline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Enumerate
+amsbook: the standard AMS book (really, monograph) format.
+\end_layout
 
 \begin_layout Standard
+These 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
 
-\family roman
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Button
+\begin_layout Standard
+Theorems (AMS)
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+ module, which you will need to load separately when you selected one of
+ the AMS classes.
+ Less commonly used environments are in the 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\family roman
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Packages Required
+\begin_layout Standard
+Theorems (AMS-Extended)
 \end_layout
 
 \end_inset
-</cell>
-</row>
-<row topline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+ module.
+\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
 
-\family sans
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Standard
+\begin_layout Standard
+Theorems (Order by Section)
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+ or, if you are using 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-base LaTeX
+\begin_layout Standard
+book (AMS)
 \end_layout
 
 \end_inset
-</cell>
-</row>
-<row topline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+, the module 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\family sans
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Maths
+\begin_layout Standard
+Theorems (Order by Chapter)
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+.
+ These will number the results as 
+\begin_inset Formula $n.m$
+\end_inset
 
-\family typewriter
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-amssymb.sty
+, 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 Standard
+Theorems (Starred)
 \end_layout
 
 \end_inset
-</cell>
-</row>
-<row topline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+ provides that option.
+\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
 
-\family sans
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Ding1
+\begin_layout Standard
+Theorems (AMS)
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+ module, and the others mentioned, with other classes, such as 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\family typewriter
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-pifont.sty
+\begin_layout Standard
+article
 \end_layout
 
 \end_inset
-</cell>
-</row>
-<row topline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+, 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
 \begin_layout Standard
+report
+\end_layout
 
-\family sans
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Ding2
+\end_inset
+
+, 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+book (KOMA-script)
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+, and so forth.
+\end_layout
 
-\family typewriter
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-pifont.sty
+\begin_layout Subsection
+What these layouts provide
 \end_layout
 
-\end_inset
-</cell>
-</row>
-<row topline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\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.
+\end_layout
 
 \begin_layout Standard
+The following environments---as well as the standard environments, such
+ as 
+\begin_inset Flex CharStyle:Noun
+status collapsed
 
-\family sans
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Ding3
+\begin_layout Standard
+section
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+, 
+\begin_inset Flex CharStyle:Noun
+status collapsed
 
-\family typewriter
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-pifont.sty
+\begin_layout Standard
+bibliography
 \end_layout
 
 \end_inset
-</cell>
-</row>
-<row topline="true" bottomline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+, 
+\begin_inset Flex CharStyle:Noun
+status collapsed
 
 \begin_layout Standard
+title
+\end_layout
 
-\family sans
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-Ding4
+\end_inset
+
+, 
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Standard
+author
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+, and 
+\begin_inset Flex CharStyle:Noun
+status collapsed
 
 \begin_layout Standard
+date
+\end_layout
 
-\family typewriter
-\series medium
-\shape up
-\size normal
-\emph off
-\bar no
-\noun off
-\color none
-pifont.sty
+\end_inset
+
+---are provided by 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+article (AMS)
 \end_layout
 
 \end_inset
-</cell>
-</row>
-</lyxtabular>
+
+ and 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+book (AMS)
+\end_layout
 
 \end_inset
 
+:
+\end_layout
 
+\begin_layout Description
+Address This should be the author's permanent address.
 \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
- elsewhere.
+\begin_layout Description
+Current\InsetSpace ~
+Address This should be the author's temporary address at the time
+ of submission, if different from the Address.
 \end_layout
 
-\begin_layout Subsection
-How to use it
+\begin_layout Description
+Email Author's e-mail address
 \end_layout
 
-\begin_layout Standard
-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.
+\begin_layout Description
+URL Author's Web address, if desired.
 \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.
+\begin_layout Description
+Keywords Key words or phrases used to identify specific topics discussed
in the paper.
 \end_layout
 
-\begin_layout Standard
-If you 
+\begin_layout Description
+Subjectclass These refer to the AMS Subject Classifications, published and
+ described in 
 \emph on
-really
+Mathematical Reviews
 \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.
- To make your own custom paragraphs you have the following options:
+.
+ 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
-\begin_inset ERT
-status inlined
+The following environments are provided by both the 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
 \begin_layout Standard
+Theorems
+\end_layout
 
+\end_inset
 
-\backslash
-let
-\backslash
-savelabelitemi=
-\backslash
-labelitemi
+ and 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+Theorems (AMS)
 \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 Standard
+Theorems (Starred)
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status inlined
+\end_inset
 
-\begin_layout Standard
+ module:
+\end_layout
 
+\begin_layout Theorem
+This is typically used for the statements of major results.
+\end_layout
 
-\backslash
-renewcommand
-\backslash
-labelitemi[0]{
-\backslash
-small
-\backslash
-(
-\backslash
-sharp
-\backslash
-)}
+\begin_layout Corollary*
+This is used for statements which follow fairly directly from previous statement
+s.
+ Again, these can be major results.
 \end_layout
 
-\end_inset
+\begin_layout Lemma
+These are smaller results needed to prove other statements.
+\end_layout
 
+\begin_layout Proposition
+These are less major results which (hopefully) add to the general theory
+ being discussed.
+\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
-Use the LaTeX command 
-\family typewriter
+\begin_layout Definition*
+Guess what this is for.
+ The font is different for this environment than for the previous ones.
+\end_layout
 
-\backslash
-renewcommand{}{}
-\family default
- 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.
-\newline
+\begin_layout Example*
+Used for examples illustrating proven results.
+\end_layout
 
-\family typewriter
+\begin_layout Problem
+It's not really known what this is for.
+ You should figure it out.
+\end_layout
 
-\backslash
-let
-\backslash
-savelabelitemi=
-\backslash
-labelitemi
-\family default
-\family typewriter
+\begin_layout Exercise*
+Write a description for this one.
+\end_layout
 
-\newline
+\begin_layout Remark
+This environment is also a type of theorem, usually a lesser sort of observation.
+\end_layout
 
-\backslash
-renewcommand
-\backslash
-labelitemi[0]{
-\backslash
-small
-\backslash
-(
-\backslash
-sharp
-\backslash
-)}
-\newline
+\begin_layout Claim*
+Often used in the course of giving a proof of a larger result.
+\end_layout
 
-\family default
-Note that the itemize depth is specified in Roman numerals as part of the
+\begin_layout Case
+Generally, these are used to break up long arguments, using specific instances
+ of some condition.
  
-\family typewriter
+\end_layout
 
-\backslash
-labelitem
-\family default
- command.
+\begin_layout Case
+The numbering scheme for cases is on its own, not together with other numbered
+ statements.
 \end_layout
 
-\begin_layout Itemize
-\begin_inset ERT
-status inlined
+\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 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Nesting"
+
+\end_inset
+
+ of the 
+\emph on
+User's Guide
+\emph default
+ for information on nesting.
+\end_layout
 
 \begin_layout Standard
+And these are provided by 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-[
-\backslash
-(
-\backslash
-star
-\backslash
-)]
+\begin_layout Standard
+Theorems (AMS-Extended)
 \end_layout
 
 \end_inset
 
- Specify each individual entry by starting each item with the bullet shape
- enclosed in square brackets and set as TeX.
- For example, this item was started with 
-\family typewriter
-[
-\backslash
-(
-\backslash
-star
-\backslash
-)]
-\family default
-.
+:
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status inlined
+\begin_layout Criterion*
+A required condition.
+\end_layout
 
-\begin_layout Standard
+\begin_layout Algorithm*
+A general procedure to be used.
+\end_layout
+
+\begin_layout Axiom*
+This is a property or statement taken as true within the system being discussed.
+\end_layout
 
+\begin_layout Condition*
+Sometimes used to state a condition assumed within the present context of
+ discussion.
+\end_layout
 
-\backslash
-renewcommand
-\backslash
-labelitemi[0]{
-\backslash
-savelabelitemi}
+\begin_layout Note*
+Similar to a Remark.
 \end_layout
 
-\end_inset
+\begin_layout Notation*
+Used for the explanation of, yes, notation.
+\end_layout
+
+\begin_layout Summary
+Do we really need to tell you? 
+\end_layout
 
+\begin_layout Acknowledgement*
+Acknowledgement.
+\end_layout
+
+\begin_layout Conclusion*
+Sometimes used at the end of a long train of argument.
+\end_layout
 
+\begin_layout Fact
+Used in a way similar to Proposition, though perhaps lower on the scale.
 \end_layout
 
 \begin_layout Standard
-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:
-\newline
+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
+Dinbrief
+\end_layout
 
+\begin_layout Standard
+The document class 
+\family sans
+dinbrief
+\family default
+ can be used to type letters according to German conventions.
+ A template file is included in 
 \family typewriter
+.../lyx/share/templates
+\family default
+ for you to use as a starting point.
+\end_layout
 
-\backslash
-renewcommand
-\backslash
-labelitemi[0]{
-\backslash
-savelabelitemi}
+\begin_layout Section
+Paper
 \end_layout
 
-\begin_layout Chapter
-Special Document Classes
+\begin_layout Standard
+The document class 
+\family sans
+paper
+\family default
+ provides an alternative to the standard 
+\family sans
+article
+\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
-AMS LaTeX
+A&A Paper
 \end_layout
 
 \begin_layout Standard
 by 
 \noun on
-David Johnson
+Peter Sütterlin
+\end_layout
+
+\begin_layout Subsection
+Introduction
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
+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 Standard
+
+http://www.edpsciences.fr/aa/
+\end_layout
+
+\end_inset
+
+) using Version 5.01 of the document class 
+\family typewriter
+aa.cls
+\family default
+.
+ This package can be downloaded from the ftp site
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
 \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 LatexCommand url
-target "http://www.ams.org"
+\align center
+\begin_inset Flex URL
+status collapsed
 
-\end_inset
+\begin_layout Standard
 
- or by ftp at 
-\begin_inset LatexCommand url
-target "ftp://ftp.ams.org/pub/tex/amslatex/"
+ftp://ftp.edpsciences.org/pub/aa/readme.html
+\end_layout
 
 \end_inset
 
-.These layouts are appropriate, and useful, for any mathematical writing.
- There are currently 4 distinct AMS LaTeX layouts: 
+
 \end_layout
 
-\begin_layout Enumerate
-amsart: The standard AMS-article format.
- All results and similar statements are numbered as 
-\begin_inset Formula $(n.m)$
+\begin_layout Standard
+\begin_inset VSpace medskip
 \end_inset
 
-, where the first number refers to the section, and the second refers to
- the total number of results (Theorems, Corollaries, Propositions, Definitions
- and Remarks, etc.) in that section.
- There are also many (but not all) environments available unnumbered, which
- is occasionally needed.
- Unnumbered environments indicated by an asterisk at the end.
-\end_layout
 
-\begin_layout Enumerate
-amsart-seq: Here, numbering for each type of statement is in its own sequence,
- with no reference to the section number.
- There are also many (but not all) environments available unnumbered, which
- is occasionally needed.
- Unnumbered environments indicated by an asterisk at the end.
 \end_layout
 
-\begin_layout Enumerate
-amsart-plain: This one is even more terse, since all the environments are
- unnumbered.
+\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.
 \end_layout
 
-\begin_layout Enumerate
-amsbook: the standard AMS book (really, monograph) format.
- Numbering is similar to the amsart layout, except that all numbering is
- by 
-\begin_inset Formula $(n.m.p)$
-\end_inset
+\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
 
-, where the first number refers to the chapter, the second to the section,
- and the third is the number of the results (Theorems, Corollaries, Propositions
-, Definitions and Remarks, etc.) in that section.
- There are also many (but not all) environments available unnumbered, which
- is occasionally needed.
- Unnumbered environments indicated by an asterisk at the end.
+\begin_layout Subsection
+Getting started
 \end_layout
 
 \begin_layout Standard
-Any AMS LyX file can be converted to either of the numbering schemes by
- simply changing the document class in the 
+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 
 \family sans
 \bar under
 D
 \bar default
 ettings
 \family default
- dialog.
+ dialog (OK, that one was obvious).
+\end_layout
+
+\begin_layout Itemize
+Don't change the option 
+\family sans
+Page\InsetSpace ~
+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.
 \end_layout
 
 \begin_layout Subsection
-What these layouts provide
+The header block
 \end_layout
 
 \begin_layout Standard
-There is a long list of included environments provided by these layouts.
- Most mathematical papers or books will set as special statements most of
- these environments, in AMS-LaTeX there is an opportunity to define an unlimited
- variety of such declarations.
- However, the AMS recommends the environments that are available in LyX.
- The list of environments (not counting the standard environments such as
-\family sans
-sections, bibliography, title, author, date
-\family default
-), is:
+First thing to enter is the header information.
+ It consists of seven entries, of which some are optional.
+ They are
 \end_layout
 
-\begin_layout Description
-Theorem This is typically used for the statements of major results.
- The word 
-\begin_inset Quotes eld
-\end_inset
-
+\begin_layout Itemize
 
 \family sans
-Theorem
+Title
 \family default
+: [required] 
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
 
- appears in bold type, along with an automatically-determined number (an
- unnumbered version, 
 \family sans
-Theorem*
+Subtitle
 \family default
-, is also available).
- The text is italicized.
+: [optional] 
 \end_layout
 
-\begin_layout Description
-Corollary This is used for statements which follow fairly directly from
- previous statements.
- Again, these can be major results.
- Unnumbered version 
+\begin_layout Itemize
+
 \family sans
-Corollary*
+Author
 \family default
- is available.
+: [required]
 \end_layout
 
-\begin_layout Description
-Lemma These are smaller results needed to prove other statements.
+\begin_layout Itemize
+
+\family sans
+Address
+\family default
+: [required]
 \end_layout
 
-\begin_layout Description
-Proposition These are less major results which (hopefully) add to the general
- theory being discussed.
+\begin_layout Itemize
+
+\family sans
+Offprints
+\family default
+: [optional] if more than one author: whom to contact for offprint requests.
 \end_layout
 
-\begin_layout Description
-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).
+\begin_layout Itemize
+
+\family sans
+Mail
+\family default
+: [optional] mail address for contacts.
 \end_layout
 
-\begin_layout Description
-Criterion A required condition.
+\begin_layout Itemize
+
+\family sans
+Date
+\family default
+: [required].
+ Suggested format is 
+\family typewriter
+Received: <date>; Accepted <date> 
 \end_layout
 
-\begin_layout Description
-Algorithm A general procedure to be used.
+\begin_layout Standard
+There is no need to issue the 
+\family typewriter
+
+\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 Description
-Axiom This is a property or statement taken as true within the system being
- discussed.
+\begin_layout Standard
+If you want to place footnotes in the header block, e.\InsetSpace \thinspace{}
+g.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
 \end_layout
 
-\begin_layout Description
-Definition Guess what this is for.
- The font, both on-screen and in the output, is different for this environment
- than for the previous ones.
- The heading (
-\begin_inset Quotes eld
 \end_inset
 
-definition
-\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
 
-) is still set in boldface, along with the number, if any, but the rest
- is set upright.
-\end_layout
+\bar under
+F
+\bar default
+ootnote.
 
-\begin_layout Description
-Example Typeset similarly to Definition.
-\end_layout
+\family default
+ LyX will automagically use the term 
+\family typewriter
 
-\begin_layout Description
-Condition
+\backslash
+thanks{}
+\family default
+ in that case.
 \end_layout
 
-\begin_layout Description
-Problem
+\begin_layout Standard
+In addition to these topics, the macros use three additional LaTeX commands
+ that have no counterpart in LyX:
 \end_layout
 
-\begin_layout Description
-Exercise
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Description
-Remark This environment is also a new type of theorem.
- This is set with the word Remark in italics, and the rest upright.
-\end_layout
+\family typewriter
 
-\begin_layout Description
-Note Set similarly to the Remark environment.
+\backslash
+and
+\family default
+ to separate different names for more than one author and institute, respectivel
+y.
 \end_layout
 
-\begin_layout Description
-Notation
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Description
-Claim
-\end_layout
+\family typewriter
 
-\begin_layout Description
-Summary
+\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
 
-\begin_layout Description
-Acknowledgement
+\begin_layout Itemize
+
+\family typewriter
+
+\backslash
+email{address}
+\family default
+ to supply an email address for fast contact.
 \end_layout
 
-\begin_layout Description
-Case Generally, these are used to break up long arguments, using specific
- instances of some condition.
- The numbering scheme for cases is on its own, not together with other numbered
- statements.
+\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
-Conclusion
+\begin_layout Subsection
+The abstract
 \end_layout
 
-\begin_layout Description
-Fact 
+\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
+
+\backslash
+keywords{}
+\family default
+ by hand and mark it as LaTeX code.
+ Refer to the example paper.
 \end_layout
 
-\begin_layout Description
-Proof The word 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Subsection
+Supported environments
+\end_layout
+
+\begin_layout Standard
+The A&A paper layout supports the following environments for structuring
+ your text:
+\end_layout
 
+\begin_layout Itemize
 
-\shape italic
-Proof
-\shape default
+\family sans
+Standard
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
 
- is set in italics, but the rest is set upright.
- At the end of this environment (other environments can be nested within
- this one, of course) a QED symbol (usually a square, but it can vary with
- different styles) is placed.
+\family sans
+Section
 \end_layout
 
-\begin_layout Description
-Address This should be the author's permanent address.
+\begin_layout Itemize
+
+\family sans
+Subsection
 \end_layout
 
-\begin_layout Description
-Current\InsetSpace ~
-Address This should be the author's temporary address at the time
- of submission, if different from the Address.
+\begin_layout Itemize
+
+\family sans
+Subsubsection
 \end_layout
 
-\begin_layout Description
-Email Author's e-mail address
+\begin_layout Itemize
+
+\family sans
+Itemize
 \end_layout
 
-\begin_layout Description
-URL Author's Web address, if desired.
+\begin_layout Itemize
+
+\family sans
+Enumerate
 \end_layout
 
-\begin_layout Description
-Keywords Key words or phrases used to identify specific topics discussed
- in the paper.
+\begin_layout Itemize
+
+\family sans
+Description
 \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 Itemize
+
+\family sans
+Caption
 \end_layout
 
-\begin_layout Description
-Thanks
+\begin_layout Itemize
+
+\family sans
+Abstract
 \end_layout
 
-\begin_layout Description
-Dedicatory
+\begin_layout Itemize
+
+\family sans
+Acknowledgment
 \end_layout
 
-\begin_layout Description
-Translator
+\begin_layout Itemize
+
+\family sans
+Bibliography
 \end_layout
 
-\begin_layout Standard
-In addition, these environments automatically provide the AMS LaTeX and
- AMS fonts packages.
- They need to be available on your system in order to use these environments.
+\begin_layout Itemize
+
+\family sans
+LaTeX
 \end_layout
 
-\begin_layout Section
-Dinbrief
+\begin_layout Subsection
+Commands not supported by LyX
 \end_layout
 
 \begin_layout Standard
-The document class 
+Some commands are not yet supported by the 
 \family sans
-dinbrief
+paper (A&A)
 \family default
- can be used to type letters according to German conventions.
- A template file is included in 
-\family typewriter
-.../lyx/share/templates
-\family default
- for you to use as a starting point.
+ layout for LyX.
+ Some have already been mentioned.
+ For the sake of completeness, they are listed all together here:
 \end_layout
 
-\begin_layout Section
-Paper
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Standard
-The document class 
-\family sans
-paper
-\family default
- provides an alternative to the standard 
-\family sans
-article
-\family default
- class.
- It provides similar functionality, but you might prefer this layout with
- sans serif sections, headings, and more.
-\end_layout
+\family typewriter
 
-\begin_layout Section
-A&A Paper
+\backslash
+and
 \end_layout
 
-\begin_layout Standard
-by 
-\noun on
-Peter Sütterlin
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Subsection
-Introduction
+\family typewriter
+
+\backslash
+email
 \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
- (
-\begin_inset LatexCommand url
-name "www.edpsciences.fr/aa/"
-target "http://www.edpsciences.fr/aa/"
+\begin_layout Itemize
 
-\end_inset
+\family typewriter
+
+\backslash
+appendix
+\end_layout
+
+\begin_layout Itemize
 
-) using Version 5.01 of the document class 
 \family typewriter
-aa.cls
-\family default
-.
- This package can be downloaded from the ftp site
+
+\backslash
+authorrunning
 \end_layout
 
-\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
+\begin_layout Itemize
 
+\family typewriter
 
+\backslash
+inst{}
 \end_layout
 
-\begin_layout Standard
-\align center
-\begin_inset LatexCommand url
-target "ftp://ftp.edpsciences.org/pub/aa/readme.html"
+\begin_layout Itemize
 
-\end_inset
+\family typewriter
+
+\backslash
+keywords{}
+\end_layout
 
+\begin_layout Itemize
+
+\family typewriter
 
+\backslash
+object{}
 \end_layout
 
-\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
+\begin_layout Itemize
 
+\family typewriter
 
+\backslash
+titlerunning{}
 \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.
+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 Subsection
+Figure and Table Floats
 \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 
+LyX provides support for the necessary float environments 
 \family sans
-article (A&A V4)
+figure, figure*, table
 \family default
-.
- Please refer to the comments in 
-\family typewriter
-LyXDir/layouts/aapaper.layout
+ and 
+\family sans
+table*
 \family default
+, therefore we won't tell much about it here.
+ Refer to the 
+\emph on
+User's\InsetSpace ~
+Guide
+\emph default
 .
-\end_layout
+ 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
 
-\begin_layout Subsection
-Getting started
+\bar under
+P
+\bar default
+aragraph\InsetSpace ~
+Settings.
 \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:
+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 Itemize
-Select 
-\family sans
-article (A&A)
-\family default
- in the 
+\begin_layout Enumerate
+Create a wide figure float: 
 \family sans
 \bar under
-D
+I
 \bar default
-ocument\SpecialChar \menuseparator
-
+nsert\SpecialChar \menuseparator
+Flo
 \bar under
-S
+a
 \bar default
-ettings
-\family default
- dialog (OK, that one was obvious).
-\end_layout
-
-\begin_layout Itemize
-Don't change the option 
-\family sans
-Page\InsetSpace ~
-style
+t\SpecialChar \menuseparator
+Figure
 \family default
-: Leave it set to 
+, then right click in the figure and select 
 \family sans
-default
+\bar under
+S
+\bar default
+pan\InsetSpace ~
+columns
 \family default
 .
- The whole layout is done by the macros, you shouldn't change anything.
-\end_layout
-
-\begin_layout Subsection
-The header block
 \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
+\begin_layout Enumerate
+Enter your caption text.
 \end_layout
 
-\begin_layout Itemize
-
+\begin_layout Enumerate
+Press 
 \family sans
-Title
+Return
 \family default
-: [required] 
+ to move the cursor above the caption.
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Enumerate
+Insert your figure
+\end_layout
 
+\begin_layout Enumerate
+Position the cursor behind the figure and insert a horizontal fill: 
 \family sans
-Subtitle
+\bar under
+I
+\bar default
+nsert\SpecialChar \menuseparator
+
+\bar under
+S
+\bar default
+pecial\InsetSpace ~
+Character
+\bar under
+\SpecialChar \menuseparator
+H
+\bar default
+orizontal\InsetSpace ~
+Fill
 \family default
-: [optional] 
+.
 \end_layout
 
-\begin_layout Itemize
-
+\begin_layout Enumerate
+Switch to LaTeX mode: 
 \family sans
-Author
+M-c\InsetSpace ~
+t
 \family default
-: [required]
+.
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Enumerate
+Enter 
+\family typewriter
 
-\family sans
-Address
+\backslash
+parbox[b]{55mm}{
 \family default
-: [required]
+.
+\series bold
+Do not close the brace!
 \end_layout
 
-\begin_layout Itemize
-
+\begin_layout Enumerate
+Position the cursor behind the caption text, switch to LaTeX mode and insert
+ the closing brace: 
 \family sans
-Offprints
+M-c\InsetSpace ~
+t
 \family default
-: [optional] if more than one author: whom to contact for offprint requests.
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Mail
+\family typewriter
+}
 \family default
-: [optional] mail address for contacts.
+.
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Standard
+Also, refer to the figures in the example paper.
+\end_layout
 
-\family sans
-Date
-\family default
-: [required].
- Suggested format is 
-\family typewriter
-Received: <date>; Accepted <date> 
+\begin_layout Subsection
+Referee layout
 \end_layout
 
 \begin_layout Standard
-There is no need to issue the 
+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
-
-\backslash
-maketitle
+referee
 \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.\InsetSpace \thinspace{}
-g.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-\end_layout
-
-\end_inset
-
-to state your present address, just use the standard footnote via 
+ to the documentclass.
+ This must be done using the extra class options field in the 
 \family sans
 \bar under
-I
+D
 \bar default
-nsert\SpecialChar \menuseparator
+ocument\SpecialChar \menuseparator
 
 \bar under
-F
+S
 \bar default
-ootnote.
-
+ettings
 \family default
- LyX will automagically use the term 
+ dialog.
+ Just enter the string 
 \family typewriter
-
-\backslash
-thanks{}
+referee
 \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:
+ there.
 \end_layout
 
-\begin_layout Itemize
-
-\family typewriter
-
-\backslash
-and
-\family default
- to separate different names for more than one author and institute, respectivel
-y.
+\begin_layout Subsection
+The example paper
 \end_layout
 
-\begin_layout Itemize
-
-\family typewriter
-
-\backslash
-inst{<nr>}
-\family default
-to mark corresponding author/institute pairs.
- The institutes are numbered sequentially as they appear in the 
+\begin_layout Standard
+The 
 \family sans
-Address
+Examples
 \family default
- field, so you have to put a marker to each author.
+ 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
-
-\family typewriter
-
-\backslash
-email{address}
-\family default
- to supply an email address for fast contact.
+\begin_layout Section
+AASTeX
 \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.
+by 
+\noun on
+Mike Ressler
 \end_layout
 
 \begin_layout Subsection
-The abstract
+Introduction
 \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
-
-\backslash
-keywords{}
-\family default
- by hand and mark it as LaTeX code.
- Refer to the example paper.
-\end_layout
-
-\begin_layout Subsection
-Supported environments
+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 Standard
-The A&A paper layout supports the following environments for structuring
- your text:
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Standard
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Section
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Subsection
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Subsubsection
-\end_layout
+\begin_inset VSpace medskip
+\end_inset
 
-\begin_layout Itemize
 
-\family sans
-Itemize
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Enumerate
-\end_layout
+\begin_layout Standard
+\align center
+\begin_inset Flex URL
+status collapsed
 
-\begin_layout Itemize
+\begin_layout Standard
 
-\family sans
-Description
+http://www.journals.uchicago.edu/AAS/AASTeX
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Caption
-\end_layout
+\end_inset
 
-\begin_layout Itemize
 
-\family sans
-Abstract
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Acknowledgment
-\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
 
-\begin_layout Itemize
 
-\family sans
-Bibliography
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-LaTeX
+\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
-Commands not supported by LyX
+Starting a New Paper
 \end_layout
 
 \begin_layout Standard
-Some commands are not yet supported by the 
+I strongly suggest that you start with the AASTeX template file.
+ Click on 
 \family sans
-paper (A&A)
+\bar under
+F
+\bar default
+ile\SpecialChar \menuseparator
+New from
 \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
-
-\family typewriter
-
-\backslash
-and
-\end_layout
-
-\begin_layout Itemize
-
-\family typewriter
-
-\backslash
-email
-\end_layout
-
-\begin_layout Itemize
-
-\family typewriter
-
-\backslash
-appendix
-\end_layout
-
-\begin_layout Itemize
-
-\family typewriter
-
-\backslash
-authorrunning
-\end_layout
-
-\begin_layout Itemize
-
+\family sans
+\bar under
+T
+\bar default
+emplate
+\family default
+, enter the new file name, then choose the 
 \family typewriter
-
-\backslash
-inst{}
-\end_layout
-
-\begin_layout Itemize
-
+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
-
-\backslash
-keywords{}
-\end_layout
-
-\begin_layout Itemize
-
+<>
+\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
-object{}
-\end_layout
-
-\begin_layout Itemize
-
+altaffilmark
+\family default
+ and 
 \family typewriter
 
 \backslash
-titlerunning{}
-\end_layout
-
-\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!
+altaffiltext
+\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
 
 \begin_layout Subsection
-Figure and Table Floats
+Finishing Your Paper
 \end_layout
 
 \begin_layout Standard
-LyX provides support for the necessary float environments 
-\family sans
-figure, figure*, table
-\family default
- and 
-\family sans
-table*
-\family default
-, therefore we won't tell much about it here.
- Refer to the 
-\emph on
-User's\InsetSpace ~
-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
+When the paper is finished to your satisfaction and previews/prints correctly,
+ there are a few 
+\begin_inset Quotes eld
+\end_inset
 
-\bar under
-P
-\bar default
-aragraph\InsetSpace ~
-Settings.
-\end_layout
+postprocessing
+\begin_inset Quotes erd
+\end_inset
 
-\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:
+ actions which need to be done before you submit it to the journals.
 \end_layout
 
 \begin_layout Enumerate
-Create a wide figure float: 
+Export your paper as a LaTeX file (
 \family sans
 \bar under
-I
+F
 \bar default
-nsert\SpecialChar \menuseparator
-Flo
+ile\SpecialChar \menuseparator
+
 \bar under
-a
+E
 \bar default
-t\SpecialChar \menuseparator
-Figure
-\family default
-, then right click in the figure and select 
-\family sans
+xport\SpecialChar \menuseparator
+
 \bar under
-S
+L
 \bar default
-pan\InsetSpace ~
-columns
+aTeX
 \family default
-.
+).
 \end_layout
 
 \begin_layout Enumerate
-Enter your caption text.
+Edit the resulting 
+\family typewriter
+.tex
+\family default
+ file with your favorite text editor
 \end_layout
 
+\begin_deeper
 \begin_layout Enumerate
-Press 
-\family sans
-Return
+remove the comment lines before the 
+\family typewriter
+
+\backslash
+documentclass
 \family default
- to move the cursor above the caption.
+ command
 \end_layout
 
 \begin_layout Enumerate
-Insert your figure
-\end_layout
+remove the 
+\family typewriter
 
-\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
+usepackage...{fontenc}
+\family default
+ line if it appears (usually just after 
+\family typewriter
 
-\bar under
-S
-\bar default
-pecial\InsetSpace ~
-Character
-\bar under
-\SpecialChar \menuseparator
-H
-\bar default
-orizontal\InsetSpace ~
-Fill
+\backslash
+documentclass
 \family default
-.
-\end_layout
+}; also remove the 
+\family typewriter
 
-\begin_layout Enumerate
-Switch to LaTeX mode: 
-\family sans
-M-c\InsetSpace ~
-t
+\backslash
+secnumdepth
 \family default
-.
+ line if it appears.
 \end_layout
 
 \begin_layout Enumerate
-Enter 
+remove everything between (and including) the 
 \family typewriter
 
 \backslash
-parbox[b]{55mm}{
+makeatletter
 \family default
-.
-\series bold
-Do not close the brace!
-\end_layout
+ and 
+\family typewriter
 
-\begin_layout Enumerate
-Position the cursor behind the caption text, switch to LaTeX mode and insert
- the closing brace: 
-\family sans
-M-c\InsetSpace ~
-t
+\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
+
+User specified LaTeX commands
+\begin_inset Quotes erd
+\end_inset
+
+ comment in the 
 \family typewriter
-}
+.tex
 \family default
-.
+ file).
 \end_layout
 
-\begin_layout Standard
-Also, refer to the figures in the example paper.
+\end_deeper
+\begin_layout Enumerate
+Run the resulting file through LaTeX to make sure it still processes correctly.
 \end_layout
 
-\begin_layout Subsection
-Referee layout
+\begin_layout Enumerate
+Reread the journal requirements to make sure your filenames and formats
+ are correct.
 \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
-\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
-
-\bar under
-S
-\bar default
-ettings
-\family default
- dialog.
- Just enter the string 
-\family typewriter
-referee
-\family default
- there.
+\begin_layout Enumerate
+Submit it.
 \end_layout
 
 \begin_layout Subsection
-The example paper
+Comments On Specific Commands
 \end_layout
 
 \begin_layout Standard
-The 
-\family sans
-Examples
+I will not describe the detailed usage of the individual AASTeX commands:
+ the AASTeX User Guide (
+\family typewriter
+aasguide.tex
 \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
-
-\begin_layout Section
-AASTeX
-\end_layout
-
-\begin_layout Standard
-by 
-\noun on
-Mike Ressler
-\end_layout
+) 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{}
 
-\begin_layout Subsection
-Introduction
 \end_layout
 
-\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
+\begin_layout Subsubsection
+Things that work as expected
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
-
-\end_layout
+\begin_inset ERT
+status open
 
 \begin_layout Standard
-\align center
-\begin_inset LatexCommand url
-target "http://www.journals.uchicago.edu/AAS/AASTeX"
-
-\end_inset
 
 
+\backslash
+begin{sloppypar}
 \end_layout
 
-\begin_layout Standard
-\begin_inset VSpace medskip
 \end_inset
 
 
 \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
+Because they work as you might expect, I simply list them and the section
+ they are found in: 
+\family typewriter
 
-\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
+\backslash
+documentclass
 \family default
-, enter the new file name, then choose the 
+ (2.1.1), 
 \family typewriter
-aastex.lyx
+
+\backslash
+begin{document}
 \family default
- template.
- This will show the most common fields found in a manuscript.
- Simply overwrite the existing text (including the brackets, 
+ (2.2), 
 \family typewriter
-<>
+
+\backslash
+title
 \family default
-) with the correct information.
- Many of the AASTeX commands and environments can be implemented directly
- in LyX, but some cannot: most noticeably 
+ (2.3), 
 \family typewriter
 
 \backslash
-altaffilmark
+author
 \family default
- and 
+ (2.3), 
 \family typewriter
 
 \backslash
-altaffiltext
+affil
 \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
-
-\begin_layout Subsection
-Finishing Your Paper
-\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
-
-postprocessing
-\begin_inset Quotes erd
-\end_inset
-
- actions which need to be done before you submit it to the journals.
-\end_layout
-
-\begin_layout Enumerate
-Export your paper as a LaTeX file (
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-E
-\bar default
-xport\SpecialChar \menuseparator
+ (2.3), 
+\family typewriter
 
-\bar under
-L
-\bar default
-aTeX
+\backslash
+abstract
 \family default
-).
-\end_layout
-
-\begin_layout Enumerate
-Edit the resulting 
+ (2.4), 
 \family typewriter
-.tex
+
+\backslash
+keywords
 \family default
- file with your favorite text editor
-\end_layout
+ (2.5), 
+\family typewriter
 
-\begin_deeper
-\begin_layout Enumerate
-remove the comment lines before the 
+\backslash
+section
+\family default
+ (2.7), 
 \family typewriter
 
 \backslash
-documentclass
+subsection
 \family default
- command
-\end_layout
+ (2.7), 
+\family typewriter
 
-\begin_layout Enumerate
-remove the 
+\backslash
+subsubsection
+\family default
+ (2.7), 
 \family typewriter
 
 \backslash
-usepackage...{fontenc}
+paragraph
 \family default
- line if it appears (usually just after 
+ (2.7), 
 \family typewriter
 
 \backslash
-documentclass
+facility
 \family default
-}; also remove the 
+ (2.10), 
 \family typewriter
 
 \backslash
-secnumdepth
+begin{displaymath}
 \family default
- line if it appears.
-\end_layout
+ (2.12), 
+\family typewriter
 
-\begin_layout Enumerate
-remove everything between (and including) the 
+\backslash
+begin{equation}
+\family default
+ (2.12), 
 \family typewriter
 
 \backslash
-makeatletter
+begin{eqnarray}
 \family default
- and 
+ (2.12), 
 \family typewriter
 
 \backslash
-makeatother
+begin{mathletters}
 \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
-
-\begin_layout Subsubsection
-Things that work as expected
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status inlined
-
-\begin_layout Standard
-
-
-\backslash
-begin{sloppypar}
-\end_layout
-
-\end_inset
-
-
-\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
-\family default
- (2.3), 
-\family typewriter
-
-\backslash
-affil
-\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
-\family default
- (2.7), 
-\family typewriter
-
-\backslash
-subsubsection
-\family default
- (2.7), 
-\family typewriter
-
-\backslash
-paragraph
-\family default
- (2.7), 
-\family typewriter
-
-\backslash
-facility
-\family default
- (2.10), 
-\family typewriter
-
-\backslash
-begin{displaymath}
-\family default
- (2.12), 
-\family typewriter
-
-\backslash
-begin{equation}
-\family default
- (2.12), 
-\family typewriter
-
-\backslash
-begin{eqnarray}
-\family default
- (2.12), 
-\family typewriter
-
-\backslash
-begin{mathletters}
-\family default
- (2.12), 
-\family typewriter
+ (2.12), 
+\family typewriter
 
 \backslash
 begin{thebibliography}
@@ -5545,7 +5386,7 @@ Document
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -5791,7 +5632,7 @@ Things not implemented, use ERT
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -5933,7 +5774,7 @@ twocolumn
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -6007,15 +5848,11 @@ Make certain that
 \family typewriter
 aastex.layout
 \family default
- appears in 
+ appears in LyX's 
 \family typewriter
-/usr/.../share/lyx/layouts
+layouts
 \family default
- or 
-\family typewriter
-~/.lyx/layouts
-\family default
-.
+ folder
 \end_layout
 
 \begin_layout Enumerate
@@ -6101,7 +5938,8 @@ lock
 
 \begin_layout Subsubsection
 References
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "cite"
 
 \end_inset
@@ -6225,7 +6063,7 @@ Your mileage may vary.
 \end_layout
 
 \begin_layout Section
-qijmpc and ijmpd
+ijmpc and ijmpd
 \end_layout
 
 \begin_layout Standard
@@ -6263,14 +6101,24 @@ ws-ijmpd.cls
 , respectively.
  These files, together with instructions for the authors, can be downloaded
  from the sites 
-\begin_inset LatexCommand url
-target "http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
+\end_layout
 
 \end_inset
 
  and 
-\begin_inset LatexCommand url
-target "http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
+\end_layout
 
 \end_inset
 
@@ -6821,8 +6669,13 @@ 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 LatexCommand url
-target "ftp://ftp.iop.org/pub/journals/latex2e"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ftp.iop.org/pub/journals/latex2e
+\end_layout
 
 \end_inset
 
@@ -6999,15 +6852,25 @@ Astrophysics and Space Science
 Solar Physics
 \emph default
 , but there are many others (see a complete list at 
-\begin_inset LatexCommand url
-target "http://www.wkap.nl/jrnllist.htm/JRNLHOME"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.wkap.nl/jrnllist.htm/JRNLHOME
+\end_layout
 
 \end_inset
 
 ).
  The Kluwer package may be downloaded from the site 
-\begin_inset LatexCommand url
-target "http://www.wkap.nl/kaphtml.htm/STYLEFILES"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.wkap.nl/kaphtml.htm/STYLEFILES
+\end_layout
 
 \end_inset
 
@@ -7028,7 +6891,8 @@ peculiar
 
  commands of the package (see\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "subsec:kluwer_peculiarities"
 
 \end_inset
@@ -7188,7 +7052,8 @@ Peculiarities
 \end_inset
 
  of the Kluwer package
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "subsec:kluwer_peculiarities"
 
 \end_inset
@@ -8095,7 +7960,7 @@ letter (koma-script)
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -8165,7 +8030,7 @@ Verse
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -9095,8 +8960,13 @@ Description
 \begin_layout Standard
 These are the layout files for some of the journal formats used by Springer
  Verlag and listed on 
-\begin_inset LatexCommand url
-target "http://www.springer.de/author/tex/help-journals.html"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.springer.de/author/tex/help-journals.html
+\end_layout
 
 \end_inset
 
@@ -9274,8 +9144,13 @@ 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 LatexCommand url
-target "ftp://ftp.agu.org/journals/latex/journals"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ftp.agu.org/journals/latex/journals
+\end_layout
 
 \end_inset
 
@@ -9487,8 +9362,13 @@ This is the layout file for the European Geophysical Society journals.
 egs.cls
 \family default
  can be downloaded from the web site of the EGS under 
-\begin_inset LatexCommand url
-target "www.copernicus.org"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+www.copernicus.org
+\end_layout
 
 \end_inset
 
@@ -9524,7 +9404,8 @@ Slides [aka
 Sli
 \noun default
 TeX]
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slitex"
 
 \end_inset
@@ -9610,7 +9491,8 @@ slides (FoilTeX)
 
 , check out section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:foiltex"
 
 \end_inset
@@ -9687,7 +9569,8 @@ slides
 
 \begin_layout Subsection
 Getting Started
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slidesetup"
 
 \end_inset
@@ -9815,7 +9698,8 @@ Note
 s.
  See section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slideNote"
 
 \end_inset
@@ -10054,7 +9938,8 @@ LaTeX magic.
 
 \begin_layout Subsubsection
 Quirks of the New Environments
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slideQuirk"
 
 \end_inset
@@ -10325,7 +10210,8 @@ Slide
 \family default
  environment [in the manner described in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slideQuirk"
 
 \end_inset
@@ -10671,7 +10557,8 @@ VisibleText
  invisible and visible, respectively.
  Note from section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slideQuirk"
 
 \end_inset
@@ -10933,7 +10820,8 @@ Note
 Slide
 \family default
 
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slideNote"
 
 \end_inset
@@ -11113,7 +11001,8 @@ clock
 
  [see section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slidesetup"
 
 \end_inset
@@ -11509,7 +11398,8 @@ Foils
 \family default
  class [see section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:foiltex"
 
 \end_inset
@@ -11551,7 +11441,8 @@ Foil
 TeX
 \noun default
 ]
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:foiltex"
 
 \end_inset
@@ -11635,7 +11526,8 @@ slides (default)
 
 , check out section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slitex"
 
 \end_inset
@@ -11791,7 +11683,8 @@ TeX provides extensive footer and header capabilities including a user-defined
  logo.
  See section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:foilfoot"
 
 \end_inset
@@ -11999,7 +11892,7 @@ TeX as well as a couple added by LyX.
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -12123,7 +12016,7 @@ Comment
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -12190,7 +12083,7 @@ TeX also provides a comprehensive box of goodies for presenting them:
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -12272,7 +12165,7 @@ Definition*
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -12329,7 +12222,7 @@ Martin Vermeer
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -12386,7 +12279,7 @@ Header
 \end_deeper
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -12408,7 +12301,8 @@ Foil
 TeX that aren't directly supported by LyX but I'll tell you what they do
  and how to use them in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:unsuppfoils"
 
 \end_inset
@@ -12589,7 +12483,8 @@ Selection
 \family default
  dialog described above in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:bullet"
 
 \end_inset
@@ -12638,7 +12533,8 @@ TeX redefines the floating tables and figures so that they appear exactly
 
 \begin_layout Subsubsection
 Page Headers and Footers
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:foilfoot"
 
 \end_inset
@@ -12707,7 +12603,8 @@ Unsupported
 Foil
 \family default
 TeX Goodies
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:unsuppfoils"
 
 \end_inset
 Garst Reese
 \end_layout
 
-\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 same as in Hollywood.
-\end_layout
-
-\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 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_layout Subsection
-Environments
-\end_layout
-
-\begin_layout Standard
-The following environments are available.
- You can use broadway.bind to get the bind keys shown at the right.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Speaker
-\hfill
-M-z s
-\newline
-
-\family default
-The speaker's (actor's) title, centered in all CAPS.
-\end_layout
-
-\begin_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
-.
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Dialogue
-\hfill
-M-z d
-\newline
-
-\family default
-What the Speaker says.
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-CURTAIN
-\hfill
-M-z S-C
-\newline
-
-\family default
-The curtain comes down.
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Title
-\hfill
-M-z S-T
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Author
-\hfill
-M-z S-A
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Right_Address
-\hfill
-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
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\noindent
-The 
-\family sans
-Revtex\InsetSpace ~
-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.
-\end_layout
-
-\begin_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\InsetSpace ~
-4
-\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
-\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 
-\begin_inset LatexCommand url
-name "The RevTeX 4 Web Site"
-target "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.
-\end_layout
-
-\begin_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\InsetSpace ~
-4
-\family default
- template, found in the templates directory.
-\end_layout
-
-\begin_layout Subsection
-Preamble Matter
-\end_layout
-
-\begin_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\InsetSpace ~
-Options
-\family default
- field in the 
-\family sans
-Document\InsetSpace ~
-Layout
-\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
-\family default
- etc.\InsetSpace ~
-goes in the 
-\family sans
-La
-\family default
-T
-\family sans
-eX\InsetSpace ~
-Preamble
-\family default
- dialog, also as usual.
-\end_layout
-
-\begin_layout Subsection
-Layouts
-\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 
-\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
-status collapsed
-
-\begin_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_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.
-\end_layout
-
-\begin_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.
-\end_layout
-
-\begin_layout Standard
-Also, the 
-\family sans
-Author\InsetSpace ~
-Email
-\family default
-, 
-\family sans
-Author\InsetSpace ~
-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.
-\end_layout
-
-\begin_layout Subsection
-Drawbacks
-\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.\InsetSpace \thinspace{}
-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
-status collapsed
-
-\begin_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_layout
-
-\end_inset
-
-\end_layout
-
-\begin_layout Section
-Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset OptArg
-status collapsed
-
-\begin_layout Standard
-The 
-\family typewriter
-mw
-\family default
- Classes
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-by 
-\noun on
-Tomasz Luczak
-\end_layout
-
-\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.
+\begin_layout Subsection
+Introduction
 \end_layout
 
 \begin_layout Standard
-Basic differences:
+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 Itemize
-Unnumbered titles (with star, eg.
-\family sans
-Section*
-\family default
-) are added into table of contents,
+\begin_layout Subsection
+Special problems
 \end_layout
 
-\begin_layout Itemize
-Additional page styles:
+\begin_layout Standard
+The same as in Hollywood.
 \end_layout
 
-\begin_deeper
-\begin_layout Description
-uheadings header with separated lines,
+\begin_layout Subsection
+Special features
 \end_layout
 
-\begin_layout Description
-myheadings custom header, contents headers via commands: 
-\family typewriter
-
-\backslash
-markright
-\family default
- and 
-\family typewriter
-
-\backslash
-markboth
+\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 Description
-myuheadings custom header with separated lines,
+\begin_layout Subsection
+Paper size and Margins
 \end_layout
 
-\begin_layout Description
-outer page number is placed on outer side of page
+\begin_layout Standard
+USLetter, left 1.6in, right 0.75in, top 0.5in, bottom 0.75in
 \end_layout
 
-\end_deeper
-\begin_layout Itemize
-Options 
+\begin_layout Subsection
+Environments
 \end_layout
 
-\begin_deeper
-\begin_layout Description
-rmheadings serif titles --- default,
+\begin_layout Standard
+The following environments are available.
+ You can use broadway.bind to get the bind keys shown at the right.
 \end_layout
 
-\begin_layout Description
-sfheadings sansserif titles,
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Description
-authortitle on title page first placed is author next title --- default,
+\family sans
+Standard
+\newline
+
+\family default
+You should not have to use this, but it is here for anything that does not
+ fit otherwise.
 \end_layout
 
-\begin_layout Description
-titleauthor on title page first placed is title next author,
+\begin_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.
 \end_layout
 
-\begin_layout Description
-withmarginpar reserve place on page for margins.
+\begin_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.
 \end_layout
 
-\end_deeper
-\begin_layout Section
-Elsevier Journals
+\begin_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.
 \end_layout
 
-\begin_layout Standard
-By 
-\noun on
-Rod Pinna
+\begin_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.
 \end_layout
 
-\begin_layout Standard
-Elsevier Science Publishers B.V.
- provides a standard LaTeX document class (
-\family typewriter
-elsart.cls
+\begin_layout Itemize
+
+\family sans
+AT_RISE:
+\hfill
+M-z S-R
+\newline
+
 \family default
-) for submitting articles to their various journals.
- The style file can be downloaded directly from their web site: 
-\begin_inset LatexCommand url
-target "http://authors.elsevier.com/"
+A special case of Narrative to describe the setting and action as the curtain
+ rises.
+\end_layout
 
-\end_inset
+\begin_layout Itemize
 
-.
- 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.
+\family sans
+Speaker
+\hfill
+M-z s
+\newline
+
+\family default
+The speaker's (actor's) title, centered in all CAPS.
 \end_layout
 
-\begin_layout Standard
-To make use of 
-\family typewriter
-elsart.cls
+\begin_layout Itemize
+
+\family sans
+Parenthetical
+\hfill
+M-z p
+\newline
+
 \family default
-, a file 
-\family typewriter
-elsart.layout
+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
- 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
+\begin_layout Itemize
 
-clean
-\begin_inset Quotes erd
-\end_inset
+\family sans
+Dialogue
+\hfill
+M-z d
+\newline
 
- a 
-\begin_inset ERT
-status collapsed
+\family default
+What the Speaker says.
+\end_layout
 
-\begin_layout Standard
+\begin_layout Itemize
 
+\family sans
+CURTAIN
+\hfill
+M-z S-C
+\newline
 
-\backslash
-LaTeX
+\family default
+The curtain comes down.
 \end_layout
 
-\end_inset
+\begin_layout Itemize
 
- 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.
+\family sans
+Title
+\hfill
+M-z S-T
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Author
+\hfill
+M-z S-A
 \end_layout
 
-\begin_layout Section
-Memoir
+\begin_layout Itemize
+
+\family sans
+Right_Address
+\hfill
+M-z r
 \end_layout
 
 \begin_layout Standard
-By 
-\noun on
-Jürgen Spitzmüller
+Hello there.
 \end_layout
 
-\begin_layout Subsection
-Overview
+\begin_layout Section
+RevTeX4
 \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).
+by 
+\noun on
+Amir Karger
 \end_layout
 
 \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_layout Standard
-You are invited to send suggestions to 
-\begin_inset LatexCommand url
-target "lyx-devel@lists.lyx.org"
-
+\begin_inset VSpace bigskip
 \end_inset
 
-.
+
 \end_layout
 
+\begin_layout Standard
+\noindent
+The 
+\family sans
+Revtex\InsetSpace ~
+4
+\family default
+ textclass works with the American Physical Sociey's RevTeX 4.0 (the 
+\begin_inset Formula $\beta$
 \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
+ release of May, 1999) class.
+\end_layout
 
 \begin_layout Standard
-Cf.
-\begin_inset ERT
-status collapsed
+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\InsetSpace ~
+4
+\family default
+ textclass should also be pretty easy to use.
+\end_layout
 
 \begin_layout Standard
-
-
-\backslash
+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
 
-\end_inset
-
-section\InsetSpace ~
+\begin_layout Subsection
+Installation
+\end_layout
 
-\begin_inset LatexCommand ref
-reference "sec:Inserting-LaTeX-Code"
+\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
 
-\end_inset
+\begin_layout Standard
 
- for details.
+http://publish.aps.org/revtex4/
 \end_layout
 
 \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
+.
+ 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
-Cf.
-\begin_inset ERT
-status collapsed
+Probably the easiest way to get started is either to import a RevTeX 4 document
+ using 
+\family typewriter
+tex2lyx
+\family default
+, or to use the 
+\family sans
+Revtex\InsetSpace ~
+4
+\family default
+ template, found in the templates directory.
+\end_layout
 
-\begin_layout Standard
+\begin_layout Subsection
+Preamble Matter
+\end_layout
 
+\begin_layout Standard
+Optional arguments to 
+\family typewriter
 
 \backslash
-\end_layout
-
+documentclass
+\family default
+, like 
+\begin_inset Quotes eld
 \end_inset
 
+preprint
+\begin_inset Quotes erd
+\end_inset
 
-\begin_inset LatexCommand url
-target "CTAN:/macros/latex/memoir/memman.pdf"
+ 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\InsetSpace ~
+Options
+\family default
+ field in the 
+\family sans
+Document\InsetSpace ~
+Layout
+\family default
+ dialog, as usual.
+ Remember that in RevTeX, at least one optional argument is required! 
 \end_layout
 
-\end_inset
+\begin_layout Standard
+Other preamble matter, like 
+\family typewriter
 
-, 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.
+\backslash
+draft
+\family default
+ etc.\InsetSpace ~
+goes in the 
+\family sans
+La
+\family default
+T
+\family sans
+eX\InsetSpace ~
+Preamble
+\family default
+ dialog, also as usual.
 \end_layout
 
 \begin_layout Subsection
-Basic features and restrictions
+Layouts
 \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\InsetSpace ~
-sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14,
- 17
-\end_layout
-
-\begin_layout Description
-Page\InsetSpace ~
-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\InsetSpace ~
-Style
-\family default
-).
- If you want to use these for the chapter pages, you have to use the command
+The layouts basically correspond to the commands in RevTeX4.0.
+ For example, the Email layout corresponds to 
 \family typewriter
 
 \backslash
-chapterstyle
+email{}
 \family default
- in the main text or in preamble (e.
-\begin_inset ERT
+.
+ 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
 status collapsed
 
 \begin_layout Standard
+In case you're curious, both were included so that 
+\family typewriter
+tex2lyx
+\family default
+ would be able to translate both 
+\family typewriter
 
+\backslash
+address
+\family default
+ and 
+\family typewriter
 
 \backslash
-,
+affiliation
+\family default
+.
 \end_layout
 
-\end_inset
-
-g.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
+\end_inset
 
 
-\backslash
 \end_layout
 
-\end_inset
+\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
 
+\begin_layout Standard
+In RevTeX, the 
 \family typewriter
 
 \backslash
-chapterstyle{companion}
+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.
 \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_layout Standard
+Also, the 
 \family sans
-Insert\SpecialChar \menuseparator
-Short\InsetSpace ~
-Title
+Author\InsetSpace ~
+Email
 \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.
+, 
+\family sans
+Author\InsetSpace ~
+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.
 \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.
+\begin_layout Subsection
+Drawbacks
 \end_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
+\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.\InsetSpace \thinspace{}
+g., the running title for the page headers.
+ Lacking these layouts makes the 
+\family typewriter
 
-empty
-\begin_inset Quotes erd
-\end_inset
+\backslash
+altaffiliation
+\family default
+ (and the equivalent 
+\family typewriter
 
-, i.
-\begin_inset ERT
+\backslash
+altaddress
+\family default
+) useless, so the corresponding layouts don't exist, and will have to be
+ added by hand.
+\begin_inset Foot
 status collapsed
 
 \begin_layout Standard
 
-
-\backslash
-,
+\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
 
-e.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
  
 \end_layout
 
-\end_inset
+\begin_layout Section
+Article (mwart), book (mwbk) and report (mwrep)
+\begin_inset OptArg
+status collapsed
 
-without pagina).
- If you want an empty title page, typ
+\begin_layout Standard
+Th
 \family typewriter
-
-\backslash
-aliaspagestyle{title}{empty}
+mw
 \family default
- in the preamble.
+ Classes
 \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\InsetSpace ~
-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
 
-real
-\begin_inset Quotes erd
-\end_inset
 
- article classes---still allowed), parts, though, use their own page, as
- in book.
 \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 ERT
-status collapsed
-
 \begin_layout Standard
-
-
-\backslash
-,
+by 
+\noun on
+Tomasz Luczak
 \end_layout
 
-\end_inset
-
-g.
-\begin_inset ERT
-status collapsed
-
 \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
 
-\backslash
+\begin_layout Itemize
+Unnumbered titles (with star, eg.
  
+\family sans
+Section*
+\family default
+) are added into table of contents,
 \end_layout
 
-\end_inset
+\begin_layout Itemize
+Additional page styles:
+\end_layout
 
+\begin_deeper
+\begin_layout Description
+uheadings header with separated lines,
+\end_layout
 
+\begin_layout Description
+myheadings custom header, contents headers via commands: 
 \family typewriter
 
 \backslash
-rm
+markright
 \family default
-, 
+ and 
 \family typewriter
 
 \backslash
-it
+markboth
 \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 Subsection
-Extra features
+\begin_layout Description
+myuheadings custom header with separated lines,
 \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
-
-\begin_layout Standard
-Cf.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
+\begin_layout Description
+outer page number is placed on outer side of page
 \end_layout
 
-\end_inset
-
-
-\begin_inset LatexCommand url
-target "CTAN:/macros/latex/memoir/memman.pdf"
-
-\end_inset
-
-.
+\end_deeper
+\begin_layout Itemize
+Options 
 \end_layout
 
-\end_inset
-
- for details.
+\begin_deeper
+\begin_layout Description
+rmheadings serif titles --- default,
 \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.
+sfheadings sansserif titles,
 \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 ERT
-status collapsed
+authortitle on title page first placed is author next title --- default,
+\end_layout
 
-\begin_layout Standard
+\begin_layout Description
+titleauthor on title page first placed is title next author,
+\end_layout
 
+\begin_layout Description
+withmarginpar reserve place on page for margins.
+\end_layout
 
-\backslash
-,
+\end_deeper
+\begin_layout Section
+Elsevier Journals
 \end_layout
 
-\end_inset
+\begin_layout Standard
+By 
+\noun on
+Rod Pinna
+\end_layout
 
-g.
-\begin_inset ERT
+\begin_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 Flex URL
 status collapsed
 
 \begin_layout Standard
 
-
-\backslash
+http://authors.elsevier.com/
 \end_layout
 
 \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.
+.
+ 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 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
+\begin_layout Standard
+To make use of 
 \family typewriter
-}{
+elsart.cls
 \family default
-\emph on
-<author of the slogan>.
+, 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.
 \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).
-\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
 
-\begin_layout Description
-Poemtitle*: Same as poemtitle, but it adds no entry to the table of contents.
-\end_layout
+clean
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Chapter
-Importing and Exporting Alternate File Formats
-\begin_inset OptArg
+ a 
+\begin_inset ERT
 status collapsed
 
 \begin_layout Standard
-Importing and Exporting
+
+
+\backslash
+LaTeX
 \end_layout
 
 \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.
 \end_layout
 
 \begin_layout Section
-Considerations
+Memoir
 \end_layout
 
 \begin_layout Standard
-Importing and exporting LyX documents from/to other formats has been touched
- on briefly in the 
-\emph on
-User Guide
-\emph default
-.
- Here we describe more of the gory details needed to understand just what
- is going on when you click on the 
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
+By 
+\noun on
+Jürgen Spitzmüller
+\end_layout
 
-\bar under
-I
-\bar default
-mport
-\family default
- and 
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-E
-\bar under
-x
-\bar default
-port
-\family default
- menu items.
+\begin_layout Subsection
+Overview
 \end_layout
 
-\begin_layout Section
-Importing Other Formats
+\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 Subsection
-LaTeX
-\end_layout
+\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_layout Standard
+You are invited to send suggestions to 
+\begin_inset Flex URL
+status collapsed
 
 \begin_layout Standard
-Translating from LaTeX into LyX is performed by a Perl script called reLyX.
- Although it is a standalone program which can be called from the command
- line, LyX will call it automatically when a LaTeX document is imported.
- See section\InsetSpace ~
 
-\begin_inset LatexCommand ref
-reference "sec:reLyX"
+lyx-devel@lists.lyx.org
+\end_layout
 
 \end_inset
 
- for a complete description.
- There are no user tunable parameters for reLyX within LyX.
+.
 \end_layout
 
-\begin_layout Subsection
-ASCII Text
-\end_layout
+\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
 
 \begin_layout Standard
-When importing plain ASCII text, there are two methods of reading the file.
- Importing 
-\begin_inset Quotes eld
-\end_inset
+Cf.
+\begin_inset ERT
+status collapsed
 
-as lines
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+
+
+\backslash
+\end_layout
 
- preserves all the linebreaks in the ASCII; to LyX, then, each line looks
- like a paragraph.
- Importing 
-\begin_inset Quotes eld
 \end_inset
 
-as paragraphs
-\begin_inset Quotes erd
+section\InsetSpace ~
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Inserting-LaTeX-Code"
+
 \end_inset
 
- assumes that consecutive lines separated by only a single linebreak form
- a single paragraph.
- Successive linebreaks with no intervening text are thus assumed to be paragraph
- delimiters.
+ for details.
 \end_layout
 
-\begin_layout Subsection
-Noweb
-\end_layout
+\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 Standard
+Cf.
+\begin_inset ERT
+status collapsed
 
-\emph on
-[Editor's note: Needs to be written, obviously - any volunteers? --- mer]
-\end_layout
+\begin_layout Standard
 
-\begin_layout Section
-Exporting Other Formats
-\end_layout
 
-\begin_layout Standard
-The output formats listed here in the following are also explained concerning
- possible graphics formats in the 
-\emph on
-Embedded Objects
-\emph default
- manual.
+\backslash
 \end_layout
 
-\begin_layout Subsection
-LaTeX
-\end_layout
+\end_inset
 
-\begin_layout Standard
-LyX generates two types of LaTeX files: stripped down versions for the normal
- processing (
-\family sans
-View DVI
-\family default
-, etc.) which one normally never sees
-\begin_inset Foot
+
+\begin_inset Flex URL
 status collapsed
 
 \begin_layout Standard
-The resulting file is a perfectly valid LaTeX file, though the preamble
- might look a bit strange since it includes some definitions used by LyX
- which wouldn't show up in most human-written files.
+
+CTAN:/macros/latex/memoir/memman.pdf
 \end_layout
 
 \end_inset
 
-, and human readable forms which are suitable for exchanging with your colleague
-s.
- The only settable option for the translation is the line length of the
- output file.
- The default is 65 characters, but it can be set in 
-\family sans
-\bar under
-T
-\bar default
-ools
-\family default
-\SpecialChar \menuseparator
+.
+\end_layout
 
-\family sans
-\bar under
-P
-\bar default
-references
-\family default
- using the 
-\family sans
-\bar under
-A
-\bar default
-scii\InsetSpace ~
-line\InsetSpace ~
-length
-\family default
- field.
+\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
-Device Independent Files
+Basic features and restrictions
 \end_layout
 
 \begin_layout Standard
-Device Independent files (DVI files) are produced by running LaTeX on your
- document.
- There are no user settable options.
+Memoir supports basically all features of the standard book classes.
+ There are, however, some differences, as follows:
 \end_layout
 
-\begin_layout Subsection
-PostScript
+\begin_layout Description
+Font\InsetSpace ~
+sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14,
+ 17
 \end_layout
 
-\begin_layout Standard
-The next step in the conversion chain is converting a DVI file into Postscript.
- You can either use 
+\begin_layout Description
+Page\InsetSpace ~
+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
-\bar under
-F
-\bar default
-ile
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Page\InsetSpace ~
+Style
 \family default
-\SpecialChar \menuseparator
+).
+ If you want to use these for the chapter pages, you have to use the command
+\family typewriter
 
-\family sans
-\bar under
-E
-\bar default
-xport
+\backslash
+chapterstyle
 \family default
-\SpecialChar \menuseparator
+ in the main text or in preamble (e.
+\begin_inset ERT
+status collapsed
 
-\family sans
-Pos
-\bar under
-t
-\bar default
-script
-\family default
- or, if you need more control on the result, 
-\family sans
-\bar under
-F
-\bar default
-ile
-\family default
-\SpecialChar \menuseparator
+\begin_layout Standard
 
-\family sans
-\bar under
-P
-\bar default
-rint
-\family default
-.
- If you use the later, note that it is possible to configure, in 
-\family sans
-\bar under
-T
-\bar default
-ools
+
+\backslash
+,
+\end_layout
+
+\end_inset
+
+g.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+\end_layout
+
+\end_inset
+
+
+\family typewriter
+
+\backslash
+chapterstyle{companion}
 \family default
-\SpecialChar \menuseparator
+).
+\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 
 \family sans
-\bar under
-P
-\bar default
-references
+Insert\SpecialChar \menuseparator
+Short\InsetSpace ~
+Title
 \family default
-, the options passed to the dvips program to achieve different effects.
+ 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 Subsection
-ASCII text
+\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 Standard
-Exporting as ASCII attempts to preserve the 
+\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
 
-shape
+empty
 \begin_inset Quotes erd
 \end_inset
 
- of the document as well as possible, but things like centering and indentation
- are thrown out; paragraphs are separated by blank lines.
- Section numbering and cross-references are done correctly, so the resulting
- text files is remarkably readable.
- The only changeable option is the length of lines, as for LaTeX output.
-\end_layout
-
-\begin_layout Subsection
-HTML
-\end_layout
+, i.
+\begin_inset ERT
+status collapsed
 
 \begin_layout Standard
-LyX documents can be converted to hypertext markup, usually by converting
- to LaTeX first, then converting that to HTML\SpecialChar \@.
- Four LaTeX
-\begin_inset Formula $\rightarrow$
-\end_inset
 
-HTML converters are currently known to LyX: 
-\family typewriter
-tth
-\family default
-, 
-\family typewriter
-latex2html
-\family default
-, 
-\family typewriter
-hevea
-\family default
- and 
-\family typewriter
-htlatex
-\family default
-.
- Though they are autodetected, you can overide the selection in preferences.
- You can also include further command line options in this dialog.
-\end_layout
 
-\begin_layout Subsection
-PDF
+\backslash
+,
 \end_layout
 
-\begin_layout Standard
-by 
-\noun on
-Dekel Tsur
-\noun default
- (mostly)
-\end_layout
+\end_inset
+
+e.
+\begin_inset ERT
+status collapsed
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
 
 
+\backslash
 \end_layout
 
-\begin_layout Standard
-The fastest way to generate a basic PDF file (no tags, links, etc.) with
- any version of LyX is to save the document as a Postscript file, then run
th
+\end_inset
+
+without pagina).
If you want an empty title page, typ
 \family typewriter
-ps2pdf
+
+\backslash
+aliaspagestyle{title}{empty}
 \family default
- command on it.
- Starting with version 1.1.6, the menu item 
+ in the preamble.
+\end_layout
+
+\begin_layout Description
+Article: With the class option 
+\emph on
+article
+\emph default
+ (to be inserted in 
 \family sans
-File->Export->PDF
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Extra\InsetSpace ~
+Options
 \family default
- will do all this for you.
- There are some issues with fonts that you need to pay attention to: see
- Section\InsetSpace ~
-
-\begin_inset LatexCommand ref
-reference "sec:badfonts"
+), 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
 
+real
+\begin_inset Quotes erd
 \end_inset
 
-.
- Also, as of version 1.1.6, there is a better method that will generate much
- more sophisticated files.
+ article classes---still allowed), parts, though, use their own page, as
+ in book.
 \end_layout
 
-\begin_layout Subsubsection
-Use pdfLaTeX
-\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 ERT
+status collapsed
 
 \begin_layout Standard
-With pdfLaTeX you cannot use pstricks.
- On the other hand, with pdfLaTeX it is possible to insert directly images
- in JPEG, PDF or PNG format, use TrueType fonts, and more.
-\end_layout
 
-\begin_layout Subsubsection
-Why does the text look so bad when viewed with Acrobat Reader?
-\begin_inset LatexCommand label
-name "sec:badfonts"
 
-\end_inset
+\backslash
+,
+\end_layout
 
+\end_inset
 
-\begin_inset OptArg
+g.
+\begin_inset ERT
 status collapsed
 
 \begin_layout Standard
-Bad Fonts in Acrobat Reader
-\end_layout
-
-\end_inset
-
 
-\end_layout
 
-\begin_layout Standard
-The problem is that bitmap fonts are displayed poorly by Acrobat Reader.
- When creating a PDF from the LyX file, you need to use outline font instead
- of the default bitmap fonts (in fact, you should also use outline fonts
- for Postscript files).
- Recent LaTeX distributions come with Postscript Type 1 version of the standard
- (Computer Modern) fonts.
- pdfLaTeX uses these font by default.
- Dvips doesn't use these fonts by default, so to make it use them, add the
- following to lines to your 
-\family typewriter
-~/.dvipsrc
-\family default
- file
+\backslash
 \end_layout
 
-\begin_layout LyX-Code
-p+ psfonts.cmz
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
-p+ psfonts.amz
-\end_layout
 
-\begin_layout Standard
-If the default LaTeX font encoding (OT1) is used, nothing else need to be
- done.
- However, if the T1 font encoding is used, then LaTeX uses the newer EC
- fonts, for which there are no Type1 version.
- The solution is to use the ae package which emulates T1 coded fonts using
- the standard CM fonts.
- This is done by adding 
 \family typewriter
 
 \backslash
-usepackage{ae,aecompl}
-\family default
- to the preamble of the LyX file.
- However, some glyphs are missing from the CM fonts (e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-eth, thorn), and
- they are taken from the EC fonts.
- Therefore you get these glyphs as bitmaps.
-\end_layout
-
-\begin_layout Standard
-Note: LyX uses by default the T1 font encoding.
- If you wish to use the default font encoding (this is not recommended,
- unless you only write English documents), clear the field 
-\family sans
-\bar under
-T
-\bar default
-eX\InsetSpace ~
-encoding
-\family default
- in preferences (tabs 
-\family sans
-Outputs
+rm
 \family default
 , 
-\family sans
-Misc
-\family default
-).
-\end_layout
+\family typewriter
 
-\begin_layout Standard
-An alternate option is to use the standard Postscript fonts instead of the
- Computer Modern fonts.
- To do that, you need to select 
-\family sans
-pslatex
+\backslash
+it
 \family default
- as the global font in the document layout dialog.
- When using the Postscript fonts, the result PDF file is smaller as the
- fonts are not saved into the file.
- Furthermore, the Postscript fonts include all T1 glyphs.
- On the other hand, the Postscript fonts have no bold symbol font, so poor
- man's bold must be used (see Section\InsetSpace ~
-
-\begin_inset LatexCommand ref
-reference "sec:pdfbold"
+).
+ 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
 
-\end_inset
+\begin_layout Subsection
+Extra features
+\end_layout
 
+\begin_layout Standard
+We will only describe the features supported by LyX (which is not much currently
 ).
- The Postscript fonts also look different from the Computer Modern fonts.
-\end_layout
+ Please consult the Memoir manual
+\begin_inset Foot
+status collapsed
 
 \begin_layout Standard
-To sum up, both the Computer Modern and the Postscript fonts gives good
- results (with few exceptions).
- The decision of which one to use is a matter of taste.
-\end_layout
+Cf.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
 
-\begin_layout Subsubsection
-Why doesn't the 
 \backslash
-boldsymbol{} command work when I use pslatex?
-\begin_inset LatexCommand label
-name "sec:pdfbold"
+\end_layout
 
 \end_inset
 
 
-\begin_inset OptArg
+\begin_inset Flex URL
 status collapsed
 
 \begin_layout Standard
 
-\family typewriter
+CTAN:/macros/latex/memoir/memman.pdf
+\end_layout
 
-\backslash
-boldsymbol{}
-\family default
- and 
-\family typewriter
-pslatex
+\end_inset
+
+.
 \end_layout
 
 \end_inset
 
+ for details.
+\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.
 \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 ERT
+status collapsed
+
 \begin_layout Standard
-The Postscript fonts do not have a bold symbol font.
- The solution is to use the 
-\family typewriter
+
 
 \backslash
-pmb{}
-\family default
- (poor man's bold) command.
+,
 \end_layout
 
+\end_inset
+
+g.
+\begin_inset ERT
+status collapsed
+
 \begin_layout Standard
-It is possible to redefine the 
-\family typewriter
 
-\backslash
-boldsymbol
-\family default
- command to use 
-\family typewriter
 
 \backslash
-pmb
-\family default
- by putting
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
 
-\backslash
-renewcommand{
-\backslash
-boldsymbol}[1]{
-\backslash
-pmb{#1}}
+
+\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 Standard
-in the preamble.
+\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 Subsubsection
-Is it possible to do write LaTeX-code which is processed only when running
- pdfLaTeX?
+\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).
+\end_layout
+
+\begin_layout Description
+Poemtitle*: Same as poemtitle, but it adds no entry to the table of contents.
+\end_layout
+
+\begin_layout Chapter
+Importing and Exporting Alternate File Formats
 \begin_inset OptArg
 status collapsed
 
 \begin_layout Standard
-Conditionals with pdfLaTeX
+Importing and Exporting
 \end_layout
 
 \end_inset
@@ -15234,591 +14601,507 @@ Conditionals with pdfLaTeX
 
 \end_layout
 
-\begin_layout Standard
-Yes you can do this with the 
-\family typewriter
-ifpdf.sty
-\family default
- package.
- Here is an example:
+\begin_layout Section
+Considerations
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+Importing and exporting LyX documents from/to other formats has been touched
+ on briefly in the 
+\emph on
+User Guide
+\emph default
+.
+ Here we describe more of the gory details needed to understand just what
+ is going on when you click on the 
+\family sans
+\bar under
+F
+\bar default
+ile\SpecialChar \menuseparator
 
+\bar under
+I
+\bar default
+mport
+\family default
+ and 
+\family sans
+\bar under
+F
+\bar default
+ile\SpecialChar \menuseparator
+E
+\bar under
+x
+\bar default
+port
+\family default
+ menu items.
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Section
+Importing Other Formats
+\end_layout
 
-\backslash
-usepackage{ifpdf}
+\begin_layout Subsection
+LaTeX
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+Translating from LaTeX into LyX is performed by a converter program called
+\family typewriter
+tex2lyx
+\family default
+.
+ Although it is a standalone program which can be called from the command
+ line, LyX will call it automatically when a LaTeX document is imported.
+ See section\InsetSpace ~
 
-\backslash
-ifpdf
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Translating-LaTeX-files"
 
-\begin_layout LyX-Code
-   
-\backslash
-pdfinfo { /Author (your name and e-mail address)
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
-      /Title (official title -- i.e., title element)
+ for a complete description.
 \end_layout
 
-\begin_layout LyX-Code
-      /Subject (one line description of the document)
+\begin_layout Subsection
+ASCII Text
 \end_layout
 
-\begin_layout LyX-Code
-   }
-\end_layout
+\begin_layout Standard
+When importing plain ASCII text, there are two methods of reading the file.
+ Importing 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout LyX-Code
-   
-\backslash
-pdfcatalog { /PageMode (/UseNone)
-\end_layout
+as lines
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout LyX-Code
-   % /OpenAction (fitbh)
-\end_layout
+ preserves all the linebreaks in the ASCII; to LyX, then, each line looks
+ like a paragraph.
+ Importing 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout LyX-Code
-   }
-\end_layout
+as paragraphs
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout LyX-Code
-   
-\backslash
-usepackage[pdftex]{hyperref}
+ assumes that consecutive lines separated by only a single linebreak form
+ a single paragraph.
+ Successive linebreaks with no intervening text are thus assumed to be paragraph
+ delimiters.
+\end_layout
+
+\begin_layout Subsection
+Noweb
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
 
-\backslash
-else
+\emph on
+[Editor's note: Needs to be written, obviously - any volunteers? --- mer]
 \end_layout
 
-\begin_layout LyX-Code
-   
-\backslash
-usepackage[ps2pdf]{hyperref}
+\begin_layout Section
+Exporting Other Formats
 \end_layout
 
-\begin_layout LyX-Code
-
-\backslash
-fi
+\begin_layout Standard
+The output formats listed here in the following are also explained concerning
+ possible graphics formats in the 
+\emph on
+Embedded Objects
+\emph default
+ manual.
 \end_layout
 
-\begin_layout Subsubsection
-How can I make URLs clickable?
+\begin_layout Subsection
+LaTeX
 \end_layout
 
 \begin_layout Standard
-See the references here:
-\end_layout
+LyX generates two types of LaTeX files: stripped down versions for the normal
+ processing (
+\family sans
+View DVI
+\family default
+, etc.) which one normally never sees
+\begin_inset Foot
+status collapsed
 
 \begin_layout Standard
-\begin_inset LatexCommand url
-target "http://wiki.lyx.org/pmwiki.php/FAQ/PDF"
+The resulting file is a perfectly valid LaTeX file, though the preamble
+ might look a bit strange since it includes some definitions used by LyX
+ which wouldn't show up in most human-written files.
+\end_layout
 
 \end_inset
 
+, and human readable forms which are suitable for exchanging with your colleague
+s.
+ The only settable option for the translation is the line length of the
+ output file.
+ The default is 65 characters, but it can be set in 
+\family sans
+\bar under
+T
+\bar default
+ools
+\family default
+\SpecialChar \menuseparator
+
+\family sans
+\bar under
+P
+\bar default
+references
+\family default
+ using the 
+\family sans
+\bar under
+A
+\bar default
+scii\InsetSpace ~
+line\InsetSpace ~
+length
+\family default
+ field.
+\end_layout
+
+\begin_layout Subsection
+Device Independent Files
+\end_layout
 
+\begin_layout Standard
+Device Independent files (DVI files) are produced by running LaTeX on your
+ document.
+ There are no user settable options.
 \end_layout
 
 \begin_layout Subsection
-Custom
+PostScript
 \end_layout
 
 \begin_layout Standard
-Custom exports are possible if you have some particularly weird format you
- wish to convert to, assuming you have the relevant converter, of course.
- The format of the 
-\emph on
-input
-\emph default
- file can be chosen in the 
+The next step in the conversion chain is converting a DVI file into Postscript.
+ You can either use 
 \family sans
 \bar under
 F
 \bar default
-ile\SpecialChar \menuseparator
+ile
+\family default
+\SpecialChar \menuseparator
 
+\family sans
 \bar under
 E
 \bar default
-xport\SpecialChar \menuseparator
+xport
+\family default
+\SpecialChar \menuseparator
 
+\family sans
+Pos
 \bar under
-C
+t
 \bar default
-ustom
+script
 \family default
- dialog; LyX will automatically convert the file to this point, then feed
- it to your custom converter.
- The possible values are all formats that LyX can produce from its own documents.
-\end_layout
-
-\begin_layout Standard
-The converter command is also specified in the dialog.
- It should be a completely qualified command line which uses the variable
-\family typewriter
-$$FName
+ or, if you need more control on the result, 
+\family sans
+\bar under
+F
+\bar default
+ile
 \family default
- to specify the name of the file.
- If this variable is not given, then the file will be sent to the standard
- input of your command.
- You may have to apply a bit of ingenuity to escape this sequence correctly
- so that it is compatible with your shell.
-\end_layout
+\SpecialChar \menuseparator
 
-\begin_layout Standard
-While it is not possible to save this command using the 
 \family sans
-Preferences
+\bar under
+P
+\bar default
+rint
 \family default
- dialog, you can manually edit your 
-\family typewriter
-.lyx/preferences
+.
+ If you use the later, note that it is possible to configure, in 
+\family sans
+\bar under
+T
+\bar default
+ools
 \family default
- to add a line like
-\end_layout
-
-\begin_layout LyX-Code
-
-\backslash
-custom_export_command "mycommand $$FName"
-\end_layout
-
-\begin_layout Chapter
-LyX Features needing Extra Software
-\end_layout
-
-\begin_layout Section
-Using LyX with SGML-Tools (aka LinuxDoc)
-\end_layout
+\SpecialChar \menuseparator
 
-\begin_layout Standard
-by 
-\noun on
-Paul Evans
+\family sans
+\bar under
+P
+\bar default
+references
+\family default
+, the options passed to the dvips program to achieve different effects.
 \end_layout
 
 \begin_layout Subsection
-Overview
-\end_layout
-
-\begin_layout Standard
-LinuxDoc is a document class available in LyX if you have the 
-\family typewriter
-sgml-tools
-\family default
- package installed.
- You can use it to produce documents in the so-called Standardized General
- Mark-up Language (SGML) in the particular format used by the Linux Documentatio
-n Project.
- That is obviously helpful if you are contributing to that project.
- You can use the SGML format with the 
-\family typewriter
-sgml-tools
-\family default
- package of scripts and programs (to produce other formats, including LaTeX,
- HTML, plain text, man pages and\SpecialChar \ldots{}
-).
- You may therefore prefer to use this document class if you want to write
- something that can be easily translated into other formats.
+ASCII text
 \end_layout
 
 \begin_layout Standard
-You will find that LinuxDoc has fewer layout options than the other text
- classes in LyX.
- This is mainly so that the translations into other formats have a chance
- of making some sense.
- In this section we describe:
-\end_layout
-
-\begin_layout Itemize
-how to setup and use a document in LinuxDoc
-\end_layout
-
-\begin_layout Itemize
-how to use the tags in LinuxDoc to layout your document
-\end_layout
+Exporting as ASCII attempts to preserve the 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Itemize
-how to use the SGML packages to produce the various formats
-\end_layout
+shape
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Itemize
-how to sort out some problems.
+ of the document as well as possible, but things like centering and indentation
+ are thrown out; paragraphs are separated by blank lines.
+ Section numbering and cross-references are done correctly, so the resulting
+ text files is remarkably readable.
+ The only changeable option is the length of lines, as for LaTeX output.
 \end_layout
 
 \begin_layout Subsection
-Preparing and using a LinuxDoc document
-\end_layout
-
-\begin_layout Subsubsection
-Getting started
+HTML
 \end_layout
 
 \begin_layout Standard
-You start by selecting the LinuxDoc class using the 
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
-
-\bar under
-S
-\bar default
-ettings
-\family default
- dialog.
- Then you will find that there are fewer paragraph environments than for
- most other classes.
- You can see them on the pull down box on the left of the tool bar.
- How to use them is described in section\InsetSpace ~
-
-\begin_inset LatexCommand ref
-reference "sec:sgmlparas"
-
+LyX documents can be converted to hypertext markup, usually by converting
+ to LaTeX first, then converting that to HTML\SpecialChar \@.
+ Four LaTeX
+\begin_inset Formula $\rightarrow$
 \end_inset
 
+HTML converters are currently known to LyX: 
+\family typewriter
+tth
+\family default
+, 
+\family typewriter
+latex2html
+\family default
+, 
+\family typewriter
+hevea
+\family default
+ and 
+\family typewriter
+htlatex
+\family default
 .
+ Though they are autodetected, you can overide the selection in preferences.
+ You can also include further command line options in this dialog.
 \end_layout
 
-\begin_layout Standard
-You 
-\emph on
-must
-\emph default
- enter a title for the document, followed by an author, marking each with
- the appropriate paragraph environment.
- If you don't do this, you will get errors when you try to print the file.
- You can then enter the date and an abstract.
- The document proper must start with a Section paragraph environment rather
- than any standard layout.
+\begin_layout Subsection
+PDF
 \end_layout
 
 \begin_layout Standard
-After that you can prepare a document as usual using the available range
- of paragraph environments.
- See section\InsetSpace ~
-
-\begin_inset LatexCommand ref
-reference "sec:sgmlparas"
+by 
+\noun on
+Dekel Tsur
+\noun default
+ (mostly)
+\end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
 
- for the full list and their uses.
-\end_layout
 
-\begin_layout Subsubsection
-Output from LinuxDoc
 \end_layout
 
 \begin_layout Standard
-You can print and save these documents in the normal way.
- To use the other features of the SGML package you need to save your document
- as LinuxDoc; this is a version in which the document is translated into
- the basic sgml tags.
- Use 
-\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-E
-\bar default
-xport\SpecialChar \menuseparator
-Linu
-\bar under
-x
-\bar default
-Doc.
-
-\family default
- You will get a file with the same name and a 
+The fastest way to generate a basic PDF file (no tags, links, etc.) with
+ any version of LyX is to save the document as a Postscript file, then run
+ the 
 \family typewriter
-.sgml
+ps2pdf
 \family default
- extension rather than a 
-\family typewriter
-.lyx
+ command on it.
+ Starting with version 1.1.6, the menu item 
+\family sans
+File->Export->PDF
 \family default
- extension.
- See\InsetSpace ~
+ will do all this for you.
+ There are some issues with fonts that you need to pay attention to: see
+ Section\InsetSpace ~
 
-\begin_inset LatexCommand ref
-reference "sec:sgmloperate"
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:badfonts"
 
 \end_inset
 
- on how you than make use of this file.
-\end_layout
-
-\begin_layout Subsection
-Using the paragraph environments in LinuxDoc
+.
+ Also, as of version 1.1.6, there is a better method that will generate much
+ more sophisticated files.
 \end_layout
 
 \begin_layout Subsubsection
-The Structure of a LinuxDoc Document
+Use pdfLaTeX
 \end_layout
 
 \begin_layout Standard
-There is a formal structure for LinuxDoc which limits how you can place
- tags.
- There are two parts to all documents: 
-\end_layout
-
-\begin_layout Description
-Header: this is everything up to the first time you insert a Section layout
- marker.
- It can include title, author, date, abstract and ToC.
- You must include the first two.
-\end_layout
-
-\begin_layout Description
-Body: from the beginning of the first section onwards.
- All other tags are allowed.
+With pdfLaTeX you cannot use pstricks.
+ On the other hand, with pdfLaTeX it is possible to insert directly images
+ in JPEG, PDF or PNG format, use TrueType fonts, and more.
 \end_layout
 
 \begin_layout Subsubsection
-The LinuxDoc Paragraph Environments
-\end_layout
-
-\begin_layout Standard
-\begin_inset LatexCommand label
-name "sec:sgmlparas"
+Why does the text look so bad when viewed with Acrobat Reader?
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:badfonts"
 
 \end_inset
 
-Here is a list of all the tags you will find listed on the layout bar in
- the order they come there, with some comments where the purpose or use
- is not obvious:
-\end_layout
 
-\begin_layout Itemize
+\begin_inset OptArg
+status collapsed
 
-\family sans
-Standard:
-\family default
-\family roman
-works as described in [cross reference]
+\begin_layout Standard
+Bad Fonts in Acrobat Reader
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Title
-\family default
-: This will appear at the top left of the document when printed, above a
- heavy horizontal rule, although you will not see this on the LyX screen.
-\end_layout
+\end_inset
 
-\begin_layout Itemize
 
-\family sans
-Section, Subsection, Subsubsection, Paragraph and Subparagraph:
-\family default
- all do what you would expect and in the usual order.
- Whether they are numbered or not is controlled by the 
-\family sans
-Section\InsetSpace ~
-number\InsetSpace ~
-depth
-\family default
- setting.
- You cannot get the equivalent number free versions in any other way; there
- is no 
-\family sans
-Section*
-\family default
- or similar
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Enumerate:
+\begin_layout Standard
+The problem is that bitmap fonts are displayed poorly by Acrobat Reader.
+ When creating a PDF from the LyX file, you need to use outline font instead
+ of the default bitmap fonts (in fact, you should also use outline fonts
+ for Postscript files).
+ Recent LaTeX distributions come with Postscript Type 1 version of the standard
+ (Computer Modern) fonts.
+ pdfLaTeX uses these font by default.
+ Dvips doesn't use these fonts by default, so to make it use them, add the
+ following to lines to your 
+\family typewriter
+~/.dvipsrc
 \family default
- As usual this produces a numbered and indented list as described in the
-\emph on
-User's Guide
-\emph default
-.
+ file
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Itemize:
-\family default
-\family roman
-Again much the same as in the other classes: see the
-\family default
-\family roman
-\emph on
-User's Guide
-\emph default
-.
+\begin_layout LyX-Code
+p+ psfonts.cmz
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Description
-\family default
-: As explained in the 
-\emph on
-User's Guide
-\emph default
-.
- Remember that if you want the bold element at the start of a description
- to be more than one word then you need to put protected spaces between
- the words.
+\begin_layout LyX-Code
+p+ psfonts.amz
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Standard
+If the default LaTeX font encoding (OT1) is used, nothing else need to be
+ done.
+ However, if the T1 font encoding is used, then LaTeX uses the newer EC
+ fonts, for which there are no Type1 version.
+ The solution is to use the ae package which emulates T1 coded fonts using
+ the standard CM fonts.
+ This is done by adding 
+\family typewriter
 
-\family sans
-Verbatim:
+\backslash
+usepackage{ae,aecompl}
 \family default
- As usual.
+ to the preamble of the LyX file.
+ However, some glyphs are missing from the CM fonts (e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+eth, thorn), and
+ they are taken from the EC fonts.
+ Therefore you get these glyphs as bitmaps.
 \end_layout
 
-\begin_layout Itemize
-
+\begin_layout Standard
+Note: LyX uses by default the T1 font encoding.
+ If you wish to use the default font encoding (this is not recommended,
+ unless you only write English documents), clear the field 
 \family sans
-Code: similar to the LyX-Code
+\bar under
+T
+\bar default
+eX\InsetSpace ~
+encoding
 \family default
-\family roman
-environment
-\end_layout
-
-\begin_layout Itemize
-
+ in preferences (tabs 
 \family sans
-Author
+Outputs
 \family default
-: Anything you mark with this will appear on the left of the heading of
- the document, under the heavy rule.
-\end_layout
-
-\begin_layout Itemize
-
+, 
 \family sans
-Date:
+Misc
 \family default
- Anything you mark with this will appear on the right of the heading under
- the rule.
- You do not have to make this a date.
- Any text can be entered, e.\InsetSpace ~
-g.
- a version number.
+).
 \end_layout
 
-\begin_layout Itemize
-
+\begin_layout Standard
+An alternate option is to use the standard Postscript fonts instead of the
+ Computer Modern fonts.
+ To do that, you need to select 
 \family sans
-Abstract
+pslatex
 \family default
-: You can use this to produce a free standing paragraph after the author
- and date, and before the first section.
- You are only allowed one such paragraph.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Standard
-
-\emph on
-Author's note.
+ as the global font in the document layout dialog.
+ When using the Postscript fonts, the result PDF file is smaller as the
+ fonts are not saved into the file.
+ Furthermore, the Postscript fonts include all T1 glyphs.
+ On the other hand, the Postscript fonts have no bold symbol font, so poor
+ man's bold must be used (see Section\InsetSpace ~
 
-\emph default
- This needs checking ---
-\emph on
-pe.
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:pdfbold"
 
 \end_inset
 
-
+).
+ The Postscript fonts also look different from the Computer Modern fonts.
 \end_layout
 
-\begin_layout Itemize
-
-\family sans
-Displaymath
-\family default
-:
-\begin_inset Foot
-status collapsed
-
 \begin_layout Standard
-
-\emph on
-Author's note:
-\emph default
- I have not yet checked this ---
-\emph on
-pe.
+To sum up, both the Computer Modern and the Postscript fonts gives good
+ results (with few exceptions).
+ The decision of which one to use is a matter of taste.
 \end_layout
 
-\end_inset
-
+\begin_layout Subsubsection
+Why doesn't the 
+\backslash
+boldsymbol{} command work when I use pslatex?
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:pdfbold"
 
-\end_layout
+\end_inset
 
-\begin_layout Subsubsection
-Other document features
-\end_layout
 
-\begin_layout Standard
-You can also use the 
-\family sans
-Layout
-\family default
- menu to set fonts or to emphasis words.
- You can also use the table of contents as usual; see the corresponding
- section of the 
-\emph on
-User's Guide
-\emph default
-.
- Although you will find some some other features on the menus e.\InsetSpace ~
-g.
- inserting footnotes.
- There is some doubt about whether these will work correctly.
-\begin_inset Foot
+\begin_inset OptArg
 status collapsed
 
 \begin_layout Standard
 
-\emph on
-Author's note:
-\emph default
- Again still checking to see whether this is my system 
-\emph on
----pe.
+\family typewriter
+
+\backslash
+boldsymbol{}
+\family default
+ and 
+\family typewriter
+pslatex
 \end_layout
 
 \end_inset
@@ -15826,218 +15109,177 @@ Author's note:
 
 \end_layout
 
-\begin_layout Subsubsection
-Cross references and HTML 
-\end_layout
-
 \begin_layout Standard
-On the 
-\family sans
-Insert
+The Postscript fonts do not have a bold symbol font.
+ The solution is to use the 
+\family typewriter
+
+\backslash
+pmb{}
 \family default
- menu you will find two new options relating to the inclusion of URL addresses.
- If you use either option you will find some highlighted TeX code inserted
- into your document in three separate blocks with spaces available between.
- The blocks will be:
+ (poor man's bold) command.
 \end_layout
 
-\begin_layout Quote
-
+\begin_layout Standard
+It is possible to redefine the 
 \family typewriter
 
 \backslash
-htmlurl{
+boldsymbol
 \family default
- or 
+ command to use 
 \family typewriter
 
 \backslash
-url{
-\family roman
-
-\hfill
-space
+pmb
 \family default
-\family typewriter
-
-\hfill
-}{
-\family roman
+ by putting
+\end_layout
 
-\hfill
-space
-\hfill
+\begin_layout LyX-Code
 
-\family typewriter
-}
+\backslash
+renewcommand{
+\backslash
+boldsymbol}[1]{
+\backslash
+pmb{#1}}
 \end_layout
 
 \begin_layout Standard
-You insert a full HTML tag between the first and second blocks.
- This can be 
-\begin_inset LatexCommand url
-target "http://any.address"
+in the preamble.
+\end_layout
 
-\end_inset
+\begin_layout Subsubsection
+Is it possible to do write LaTeX-code which is processed only when running
+ pdfLaTeX?
+\begin_inset OptArg
+status collapsed
 
- or other valid tags such as 
-\begin_inset LatexCommand url
-target "mailto:me@my.address"
+\begin_layout Standard
+Conditionals with pdfLaTeX
+\end_layout
 
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+Yes you can do this with the 
 \family typewriter
-.
-\family default
-Then y
-\family roman
-ou
+ifpdf.sty
 \family default
insert some description between the second and third blocks.
The differences are:
package.
Here is an example:
 \end_layout
 
-\begin_layout Itemize
+\begin_layout LyX-Code
 
-\family sans
-URL:
-\family default
-\family roman
-both the HTML tag and the description will appear in the document
 \end_layout
 
-\begin_layout Itemize
+\begin_layout LyX-Code
 
-\family sans
-HTML\InsetSpace ~
-URL:
-\family default
-\family roman
-only the description appears in the printed version
+\backslash
+usepackage{ifpdf}
 \end_layout
 
-\begin_layout Subsection
-Using the LinuxDoc Sgml scripts
-\begin_inset Note Note
-status collapsed
+\begin_layout LyX-Code
 
-\begin_layout Standard
-This section is completely outdated.
+\backslash
+ifpdf
 \end_layout
 
-\end_inset
+\begin_layout LyX-Code
+   
+\backslash
+pdfinfo { /Author (your name and e-mail address)
+\end_layout
 
+\begin_layout LyX-Code
+      /Title (official title -- i.e., title element)
+\end_layout
 
+\begin_layout LyX-Code
+      /Subject (one line description of the document)
 \end_layout
 
-\begin_layout Standard
-\begin_inset LatexCommand label
-name "sec:sgmloperate"
+\begin_layout LyX-Code
+   }
+\end_layout
 
-\end_inset
+\begin_layout LyX-Code
+   
+\backslash
+pdfcatalog { /PageMode (/UseNone)
+\end_layout
 
-You can use LinuxDoc as a text class without any additional scripts or programs,
- but there is not much point in doing this.
- All you will get is a document that looks like a 
-\emph on
-Linux Documentation Project Howto
-\family sans
-\emph default
-.
+\begin_layout LyX-Code
+   % /OpenAction (fitbh)
+\end_layout
 
-\family default
- To do the document translation you need to get and install the 
-\family typewriter
-sgml-tools-1.0.x.tar.gz
-\family default
- (with 
-\begin_inset Formula $x\geq3$
-\end_inset
+\begin_layout LyX-Code
+   }
+\end_layout
 
-) package from 
-\family roman
-the SGML-Tools WWW Page
-\family default
- at
+\begin_layout LyX-Code
+   
+\backslash
+usepackage[pdftex]{hyperref}
 \end_layout
 
 \begin_layout LyX-Code
 
-\family roman
-\begin_inset LatexCommand url
-target "http://pobox.com/~cg/sgmltools"
+\backslash
+else
+\end_layout
 
-\end_inset
+\begin_layout LyX-Code
+   
+\backslash
+usepackage[ps2pdf]{hyperref}
+\end_layout
 
+\begin_layout LyX-Code
 
-\family default
+\backslash
+fi
 \end_layout
 
-\begin_layout Standard
-Alternatively, you can go to the 
-\family typewriter
-sunsite
-\family default
- archive at
-\begin_inset Foot
-status collapsed
+\begin_layout Subsubsection
+How can I make URLs clickable?
+\end_layout
 
 \begin_layout Standard
-Note that, at the time of this writing (01/1998), version 1.0.3 of sgml-tools
- has not yet been made available at 
-\family typewriter
-sunsite
-\family default
-.
+See the references here:
 \end_layout
 
-\end_inset
+\begin_layout Standard
+\begin_inset Flex URL
+status collapsed
 
+\begin_layout Standard
 
+http://wiki.lyx.org/pmwiki.php/FAQ/PDF
 \end_layout
 
-\begin_layout LyX-Code
-
-\family roman
-\begin_inset LatexCommand url
-target "ftp://sunsite.unc.edu/pub/Linux/utils/text/sgml-tools-1.0.x.tar.gz"
-
 \end_inset
 
 
 \end_layout
 
-\begin_layout Standard
-
-\family roman
-The
-\family default
- file 
-\family typewriter
-sgml-tools-1.0.x.tar.gz
-\family default
- contains everything that you need to write SGML documents and convert them
- to groff, LaTeX, HTML, GNU info, LyX, and RTF\SpecialChar \@.
-
-\end_layout
-
-\begin_layout Standard
-This package was renamed from 
-\family typewriter
-linuxdoc-sgml-1.5.tar.gz
-\family default
- in January 1997.
+\begin_layout Subsection
+Custom
 \end_layout
 
 \begin_layout Standard
-Follow the instructions in that package on how to install it and how to
- use it.
- All this has to be done outside of LyX, before you can use the 
+Custom exports are possible if you have some particularly weird format you
+ wish to convert to, assuming you have the relevant converter, of course.
+ The format of the 
+\emph on
+input
+\emph default
+ file can be chosen in the 
 \family sans
 \bar under
 F
@@ -16048,28 +15290,53 @@ ile\SpecialChar \menuseparator
 E
 \bar default
 xport\SpecialChar \menuseparator
-as\InsetSpace ~
-LinuxDoc
+
+\bar under
+C
+\bar default
+ustom
 \family default
+ dialog; LyX will automatically convert the file to this point, then feed
+ it to your custom converter.
+ The possible values are all formats that LyX can produce from its own documents.
  
-\family roman
-option.
 \end_layout
 
-\begin_layout Subsection
-Troubleshooting LinuxDoc
+\begin_layout Standard
+The converter command is also specified in the dialog.
+ It should be a completely qualified command line which uses the variable
+\family typewriter
+$$FName
+\family default
+ to specify the name of the file.
+ If this variable is not given, then the file will be sent to the standard
+ input of your command.
+ You may have to apply a bit of ingenuity to escape this sequence correctly
+ so that it is compatible with your shell.
 \end_layout
 
 \begin_layout Standard
-When you print or preview a LinuxDoc document some checking is done of the
- tags before LaTeX is run.
- Some errors are trapped here, especially those concerning the structure
- of the document.
- LyX may produce an error message, but not leave an error box in the document
- for you to open.
- You may have to look at the files directly to discover what is wrong.
- Most problems seem to come from the use of options that are not fully available
- in the text class.
+While it is not possible to save this command using the 
+\family sans
+Preferences
+\family default
+ dialog, you can manually edit your 
+\family typewriter
+.lyx/preferences
+\family default
+ to add a line like
+\end_layout
+
+\begin_layout LyX-Code
+
+\backslash
+custom_export_command "mycommand $$FName"
+\end_layout
+
+\begin_layout Chapter
+LyX Features needing Extra Software
 \end_layout
 
 \begin_layout Section
@@ -16109,8 +15376,13 @@ chktex
 \family default
  program installed, and is grayed out if you don't have it.
  You can get it from your nearest CTAN mirror, or over the Web from 
-\begin_inset LatexCommand url
-target "http://www.ifi.uio.no/~jensthi/chktex/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.ifi.uio.no/~jensthi/chktex/
+\end_layout
 
 \end_inset
 
@@ -16203,7 +15475,8 @@ Space in front of labels and similar commands:
 The label should stick right
  up to the text to avoid falling to a wrong page.
  
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:chktex"
 
 \end_inset
@@ -16228,7 +15501,8 @@ In you are in bad luck,
  the text will break right between the referenced text and reference number,
  and that's a pity.
  See section 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:chktex"
 
 \end_inset
@@ -16474,7 +15748,7 @@ ChkTeX
 \family default
  installation configuration file (usually with the file 
 \family typewriter
-/usr/local/share/chktexrc
+chktexrc
 \family default
 ).
  See below to learn what warnings can be enabled and disabled on the command
@@ -17519,9 +16793,14 @@ The complete Literate Programming FAQ can be found at:
 \end_layout
 
 \begin_layout Quote
-\begin_inset LatexCommand url
-name "Literate Programming FAQ"
-target "http://shelob.ce.ttu.edu/daves/lpfaq/faq.html"
+Literate Programming FAQ 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://shelob.ce.ttu.edu/daves/lpfaq/faq.html
+\end_layout
 
 \end_inset
 
@@ -17570,9 +16849,14 @@ The Noweb web page can be found at:
 \end_layout
 
 \begin_layout Quote
-\begin_inset LatexCommand url
-name "Noweb home page"
-target "http://www.cs.virginia.edu/~nr/noweb/"
+Noweb home page 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.cs.virginia.edu/~nr/noweb/
+\end_layout
 
 \end_inset
 
@@ -17585,7 +16869,8 @@ Starting from there you can reach many other interesting links and even
 \end_layout
 
 \begin_layout Subsection
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sub:LyX-and-Literate"
 
 \end_inset
@@ -17925,7 +17210,8 @@ Conversion
 
  tab.
  See section 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sub:converters"
 
 \end_inset
@@ -18132,7 +17418,8 @@ status collapsed
 
 \begin_layout Standard
 See section 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:converters-etc"
 
 \end_inset
@@ -18723,7 +18010,8 @@ The next thing is the visible presence of the newline character in the screen.
 
 \begin_layout Chapter
 Secrets of the LaTeX Masters
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "cha:secrets"
 
 \end_inset
@@ -18864,7 +18152,7 @@ end{multicols}
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18920,7 +18208,7 @@ ty which utterly submerged my mind.
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18944,7 +18232,7 @@ The same pattern is used when you want more than two columns:
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18984,7 +18272,7 @@ It can be imagined that my close intimacy with Sherlock Holmes had interested
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19013,7 +18301,7 @@ You can even have columns inside columns:
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19039,7 +18327,7 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth,
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19070,7 +18358,7 @@ The youth moved in the best society--had, so far as was known, no enemies
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19113,7 +18401,7 @@ The evidence of those who had played with him-- Mr.
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19483,7 +18771,7 @@ vspace*{-8.4ex}
 \begin_layout Standard
 \noindent
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19513,7 +18801,7 @@ dropped capitals
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19642,7 +18930,7 @@ Mike Ressler
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -19922,7 +19210,7 @@ numlines
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard