]> git.lyx.org Git - features.git/commitdiff
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
authorJohn R Hudson <j.r.hudson@virginmedia.com>
Tue, 13 Dec 2022 13:49:46 +0000 (13:49 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 13 Dec 2022 19:19:01 +0000 (20:19 +0100)
lib/doc/Additional.lyx

index e7068171853c5a820e23d0058e6feb192b1b9875..01e5f5ab5e398714e8df51273b9bf0376c1dc4d0 100644 (file)
@@ -6890,6 +6890,83 @@ Your mileage may vary.
  So, go forth and publish!
 \end_layout
 
+\begin_layout Subsection
+Rev\SpecialChar TeX
+4
+\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
+\begin_inset space ~
+\end_inset
+
+4
+\family default
+ textclass works with the American Physical Sociey's Rev\SpecialChar TeX
+ 4.0 (the 
+\begin_inset Formula $\beta$
+\end_inset
+
+ release of May, 1999) class.
+\end_layout
+
+\begin_layout Standard
+\SpecialChar LyX
+ has a 
+\family sans
+Revtex
+\family default
+ textclass, which works with Rev\SpecialChar TeX
+ 3.1.
+ However, v3.1 is basically obsolete, as it works with \SpecialChar LaTeX
+ 2.09.
+ That means that it doesn't interact very well with \SpecialChar LyX
+, which requires \SpecialChar LaTeX2e
+, although
+ it has been kludged to work.
+ Since Rev\SpecialChar TeX
+ 4.0 has been designed to work much more cleanly with \SpecialChar LaTeX2e
+, \SpecialChar LyX
+ with the
+\family sans
+Rev\SpecialChar TeX
+
+\begin_inset space ~
+\end_inset
+
+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 Rev\SpecialChar TeX
+ 4.0 documents, so we don't describe any of the special Rev\SpecialChar TeX
+ macros,
+ and assume you'll know what to put in the preamble if necessary.
+\end_layout
+
 \begin_layout Section
 
 \change_inserted 564990737 1670439560
@@ -9498,104 +9575,379 @@ INSERT — cut to close-up of
 \end_layout
 
 \begin_layout Chapter
-Supplemental Tools
+Installation
 \end_layout
 
-\begin_layout Section
-Customizing Bibliographies with Bib\SpecialChar TeX
- or Biblatex
+\begin_layout Standard
+All you need to do is install Rev\SpecialChar TeX
+ 4, as described in the package's README
+ file.
+ The package can be found at The Rev\SpecialChar TeX
+ 4 Web Site 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://publish.aps.org/revtex4/
+\end_layout
+
+\end_inset
+
+.
+ Install it somewhere that \SpecialChar LaTeX
+ can see it.
+ Test it by trying to \SpecialChar LaTeX
+ a short Rev\SpecialChar TeX
+ 4 document in some random directory (i.
+\begin_inset space \thinspace{}
+\end_inset
+
+e.
+\begin_inset space \space{}
+\end_inset
+
+not the directory where you installed the class file.) Then, if you reconfigure
+ \SpecialChar LyX
+, it will find the class file and let you use the Rev\SpecialChar TeX
+4 textclass.
 \end_layout
 
 \begin_layout Standard
-The most basic information about how to use Bib\SpecialChar TeX
- or 
+Probably the easiest way to get started is either to import a Rev\SpecialChar TeX
+ 4 document
+ using 
+\family typewriter
+tex2lyx
+\family default
+, or to use the 
 \family sans
-Biblatex
+Revtex
+\begin_inset space ~
+\end_inset
+
+4
 \family default
- with \SpecialChar LyX
- is contained in the section 
-\emph on
-Bibliography databases
-\emph default
- of the 
-\emph on
-User's Guide
-\emph default
-.
- The following subsections explain special bibliography features supported
- by \SpecialChar LyX
-.
+ template, found in the templates directory.
 \end_layout
 
-\begin_layout Subsection
-Alternative Citation Styles
+\begin_layout Chapter
+Preamble Matter
 \end_layout
 
 \begin_layout Standard
-Standard Bib\SpecialChar TeX
- uses numbers (e.
-\begin_inset space \thinspace{}
-\end_inset
+Optional arguments to 
+\family typewriter
 
-g.
-\begin_inset space \space{}
+\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
 
-[12]
+aps
 \begin_inset Quotes erd
 \end_inset
 
-) to refer to a cited work.
- However, in many scientific disciplines, other citation styles are in use.
- The most common one is the author-year style (e.
-\begin_inset space \thinspace{}
+, go in the 
+\family sans
+Extra
+\begin_inset space ~
 \end_inset
 
-g.
-\begin_inset space \space{}
+Options
+\family default
+ field in the 
+\family sans
+Document
+\begin_inset space ~
 \end_inset
 
+Layout
+\family default
+ dialog, as usual.
+ Remember that in Rev\SpecialChar TeX
+, at least one optional argument is required! 
+\end_layout
 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+Other preamble matter, like 
+\family typewriter
 
-Knuth 1984a
-\begin_inset Quotes erd
+\backslash
+draft
+\family default
+ etc.
+\begin_inset space ~
 \end_inset
 
-).
- \SpecialChar LyX
- supports three packages that provide this style, 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-biblatex
-\end_layout
+goes in the 
+\family sans
+\SpecialChar LaTeX
 
+\begin_inset space ~
 \end_inset
 
-, 
-\begin_inset Flex Code
-status collapsed
+Preamble
+\family default
+ dialog, also as usual.
+\end_layout
 
-\begin_layout Plain Layout
-natbib
+\begin_layout Chapter
+Layouts
 \end_layout
 
-\end_inset
+\begin_layout Standard
+The layouts basically correspond to the commands in Rev\SpecialChar TeX
+4.0.
+ For example, the Email layout corresponds to 
+\family typewriter
 
-, and 
-\begin_inset Flex Code
+\backslash
+email{}
+\family default
+.
+ Note that (at least as of Rev\SpecialChar TeX
+ 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 Plain Layout
-jurabib
-\end_layout
+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
+
+
+\end_layout
+
+\begin_layout Chapter
+Important Notes
+\end_layout
+
+\begin_layout Standard
+There are a couple of important unique aspects of Rev\SpecialChar TeX
+ 4 which might cause
+ bugs that will be even more confusing in \SpecialChar LyX
+.
+\end_layout
+
+\begin_layout Standard
+In Rev\SpecialChar TeX
+, the 
+\family typewriter
+
+\backslash
+thanks
+\family default
+ command goes 
+\emph on
+outside
+\emph default
+ the 
+\family typewriter
+
+\backslash
+author
+\family default
+ command.
+ The \SpecialChar 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 Rev\SpecialChar TeX
+ 4 documentation for more details.
+\end_layout
+
+\begin_layout Standard
+Also, the 
+\family sans
+Author
+\begin_inset space ~
+\end_inset
+
+Email
+\family default
+, 
+\family sans
+Author
+\begin_inset space ~
+\end_inset
+
+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 \SpecialChar LaTeX
+ won't compile.
+\end_layout
+
+\begin_layout Chapter
+Supplemental Tools
+\end_layout
+
+\begin_layout Section
+Customizing Bibliographies with Bib\SpecialChar TeX
+ or Biblatex
+\end_layout
+
+\begin_layout Standard
+The most basic information about how to use Bib\SpecialChar TeX
+ or 
+\family sans
+Biblatex
+\family default
+ with \SpecialChar LyX
+ is contained in the section 
+\emph on
+Bibliography databases
+\emph default
+ of the 
+\emph on
+User's Guide
+\emph default
+.
+ The following subsections explain special bibliography features supported
+ by \SpecialChar LyX
+.
+\end_layout
+
+\begin_layout Subsection
+Alternative Citation Styles
+\end_layout
+
+\begin_layout Standard
+Standard Bib\SpecialChar TeX
+ uses numbers (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+[12]
+\begin_inset Quotes erd
+\end_inset
+
+) to refer to a cited work.
+ However, in many scientific disciplines, other citation styles are in use.
+ The most common one is the author-year style (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Knuth 1984a
+\begin_inset Quotes erd
+\end_inset
+
+).
+ \SpecialChar LyX
+ supports three packages that provide this style, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+biblatex
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+natbib
+\end_layout
+
+\end_inset
+
+, and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+jurabib
+\end_layout
 
 \end_inset
 
@@ -17762,358 +18114,6 @@ article
  sans serif sections, headings, and more.
 \end_layout
 
-\begin_layout Section
-Rev\SpecialChar TeX
-4
-\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
-\begin_inset space ~
-\end_inset
-
-4
-\family default
- textclass works with the American Physical Sociey's Rev\SpecialChar TeX
- 4.0 (the 
-\begin_inset Formula $\beta$
-\end_inset
-
- release of May, 1999) class.
-\end_layout
-
-\begin_layout Standard
-\SpecialChar LyX
- has a 
-\family sans
-Revtex
-\family default
- textclass, which works with Rev\SpecialChar TeX
- 3.1.
- However, v3.1 is basically obsolete, as it works with \SpecialChar LaTeX
- 2.09.
- That means that it doesn't interact very well with \SpecialChar LyX
-, which requires \SpecialChar LaTeX2e
-, although
- it has been kludged to work.
- Since Rev\SpecialChar TeX
- 4.0 has been designed to work much more cleanly with \SpecialChar LaTeX2e
-, \SpecialChar LyX
- with the
-\family sans
-Rev\SpecialChar TeX
-
-\begin_inset space ~
-\end_inset
-
-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 Rev\SpecialChar TeX
- 4.0 documents, so we don't describe any of the special Rev\SpecialChar TeX
- 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 Rev\SpecialChar TeX
- 4, as described in the package's README
- file.
- The package can be found at The Rev\SpecialChar TeX
- 4 Web Site 
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://publish.aps.org/revtex4/
-\end_layout
-
-\end_inset
-
-.
- Install it somewhere that \SpecialChar LaTeX
- can see it.
- Test it by trying to \SpecialChar LaTeX
- a short Rev\SpecialChar TeX
- 4 document in some random directory (i.
-\begin_inset space \thinspace{}
-\end_inset
-
-e.
-\begin_inset space \space{}
-\end_inset
-
-not the directory where you installed the class file.) Then, if you reconfigure
- \SpecialChar LyX
-, it will find the class file and let you use the Rev\SpecialChar TeX
-4 textclass.
-\end_layout
-
-\begin_layout Standard
-Probably the easiest way to get started is either to import a Rev\SpecialChar TeX
- 4 document
- using 
-\family typewriter
-tex2lyx
-\family default
-, or to use the 
-\family sans
-Revtex
-\begin_inset space ~
-\end_inset
-
-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
-Extra
-\begin_inset space ~
-\end_inset
-
-Options
-\family default
- field in the 
-\family sans
-Document
-\begin_inset space ~
-\end_inset
-
-Layout
-\family default
- dialog, as usual.
- Remember that in Rev\SpecialChar TeX
-, at least one optional argument is required! 
-\end_layout
-
-\begin_layout Standard
-Other preamble matter, like 
-\family typewriter
-
-\backslash
-draft
-\family default
- etc.
-\begin_inset space ~
-\end_inset
-
-goes in the 
-\family sans
-\SpecialChar LaTeX
-
-\begin_inset space ~
-\end_inset
-
-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 Rev\SpecialChar TeX
-4.0.
- For example, the Email layout corresponds to 
-\family typewriter
-
-\backslash
-email{}
-\family default
-.
- Note that (at least as of Rev\SpecialChar TeX
- 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 Plain Layout
-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
-
-
-\end_layout
-
-\begin_layout Subsection
-Important Notes
-\end_layout
-
-\begin_layout Standard
-There are a couple of important unique aspects of Rev\SpecialChar TeX
- 4 which might cause
- bugs that will be even more confusing in \SpecialChar LyX
-.
-\end_layout
-
-\begin_layout Standard
-In Rev\SpecialChar TeX
-, the 
-\family typewriter
-
-\backslash
-thanks
-\family default
- command goes 
-\emph on
-outside
-\emph default
- the 
-\family typewriter
-
-\backslash
-author
-\family default
- command.
- The \SpecialChar 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 Rev\SpecialChar TeX
- 4 documentation for more details.
-\end_layout
-
-\begin_layout Standard
-Also, the 
-\family sans
-Author
-\begin_inset space ~
-\end_inset
-
-Email
-\family default
-, 
-\family sans
-Author
-\begin_inset space ~
-\end_inset
-
-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 \SpecialChar LaTeX
- won't compile.
-\end_layout
-
 \begin_layout Section
 Springer Journals (
 \family sans