Minor updates to revtex4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@903 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Amir Karger 2000-07-19 18:49:25 +00:00
parent 35cf7dcb2b
commit f2ea692f6c
3 changed files with 88 additions and 44 deletions

View File

@ -889,14 +889,18 @@ CTAN:
macros/latex209/contrib/revtex/ macros/latex209/contrib/revtex/
\layout Description \layout Description
Notes: The document class Notes: This class, which used the REVTeX 3 class, has been superseded by
the
\family sans
revtex4
\family default
class, so you should use that instead.
(Old
\family sans \family sans
revtex revtex
\family default \family default
is used to write articles for the publications of the American Physical class documents should be pretty easy to change to the new class.) If you
Society (APS), American Institute of Physics (AIP), and Optical Society have to use this class for some reason, you should use the file
of America (OSA).
For better results, you should use the file
\family typewriter \family typewriter
revtex.cls revtex.cls
\family default \family default
@ -918,11 +922,13 @@ CTAN:
macros/latex/contrib/supported/revtex4-beta/ macros/latex/contrib/supported/revtex4-beta/
\layout Description \layout Description
Notes: RevTeX 4 is a class used for submitting manuscripts to journals including Notes: REVTeX 4 is a class used for submitting manuscripts to journals including
APS (Physical Review A-E and Letters, Reviews in Modern Physics, Special APS (Physical Review A-E and Letters, Reviews in Modern Physics, Special
Topics---Accelerators and Beams), the American Institute of Physics, the Topics---Accelerators and Beams), the American Institute of Physics, the
Optical Society of America, and the Society for Exploration Geophysicists. Optical Society of America, and the Society for Exploration Geophysicists.
[It is in BETA release as of September, 1999.] [It is in BETA release as of July, 2000.] Also see
\family typewriter
http://publish.aps.org/revtex4/
\layout Subsection \layout Subsection
Springer Journal of Geodesy Springer Journal of Geodesy

View File

@ -6,14 +6,8 @@
# paper "testmath.tex" of January, 1995 # paper "testmath.tex" of January, 1995
# Author : David L. Johnson <dlj0@lehigh.edu> (AMS) # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
# Marc Mengel (RevTeX) # Marc Mengel (RevTeX)
# Amir Karger (LyX v11.34 style modifications - using changes # Amir Karger (LyX v11.34 style modifications)
# made by Jean-Marc Lasgouttes to amsart.layout) # Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
# Amir Karger (RevTeX 4 beta) 9/1999
#TODO: need to make a thanks layout and write note in template not to
#put footnotes in the title matter!
#TODO: examine this issue that it seems you need to put the address last or you
#get errors (seems to happen even when not using lyx...)
# General textclass parameters # General textclass parameters
Columns 1 Columns 1
@ -152,40 +146,40 @@ Style Date
EndFont EndFont
End End
# Address style definition Style Affiliation
# (This style is same as Afilliation for Phys. Rev.)
Style Address
Margin Dynamic Margin Dynamic
LatexType Command LatexType Command
InTitle 1 InTitle 1
LatexName address LatexName affiliation
ParSkip 0.4 ParSkip 0.4
# BottomSep 1.5 # BottomSep 1.5
# ParSep 1.5 # ParSep 1.5
Align Center Align Center
AlignPossible Block, Left, Right, Center AlignPossible Block, Left, Right, Center
LabelType Static LabelType Static
LabelString "Address: " LabelString "Affiliation: "
LabelFont LabelFont
Shape Italic Shape Italic
EndFont EndFont
End End
Style Affiliation # Address is exactly the same as Affiliation. We just put this in so
CopyStyle Address # that reLyX will know what to do with it.
LatexName affiliation Style Address
LabelString "Affiliation: " CopyStyle Affiliation
LatexName address
LabelString "Address: "
End End
Style Thanks Style Thanks
CopyStyle Address CopyStyle Affiliation
LatexName thanks LatexName thanks
LabelString "Thanks: " LabelString "Thanks: "
End End
Style Author_Email Style Author_Email
CopyStyle Address CopyStyle Affiliation
LatexName email LatexName email
LabelString "Electronic Address: " LabelString "Electronic Address: "
@ -215,6 +209,25 @@ Style Abstract
EndFont EndFont
End End
Style Acknowledgments
LatexType Environment
LatexName acknowledgments
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
# label definition
LabelType Centered_Top_Environment
LabelString acknowledgments
LabelBottomSep 0.5
LabelFont
Series Medium
Shape Smallcaps
Size Large
EndFont
End
Style PACS Style PACS
Margin Dynamic Margin Dynamic
LatexType Command LatexType Command

View File

@ -1,8 +1,7 @@
#This file was created by <karger> Thu Sep 23 10:54:03 1999 #LyX 1.1 created this file. For more info see http://www.lyx.org/
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.16
\lyxformat 2.15
\textclass revtex4 \textclass revtex4
\options aps,manuscript \options aps,preprint
\layout Preprint \layout Preprint
@ -30,11 +29,11 @@ http://bar.com/~foo
Thanks to you, Mrs. Thanks to you, Mrs.
Robinson! Robinson!
\begin_inset Info Use Thanks layout instead of inserting footnotes. \begin_inset Info Use Thanks layout instead of inserting footnotes.
Footnotes in the title will do weird things in RevTeX 4! Footnotes in the title will do weird things in REVTeX 4!
\end_inset \end_inset
\layout Address \layout Affiliation
Address for author 1 Address for author 1
\layout Author \layout Author
@ -43,7 +42,7 @@ Author2
\layout Author Email \layout Author Email
bar@foo.edu bar@foo.edu
\layout Address \layout Affiliation
Address for author 2 Address for author 2
\layout Abstract \layout Abstract
@ -62,7 +61,7 @@ Insert your abstract here.
introduction introduction
\layout Standard \layout Standard
By the way, any of the style options, like Any of the style options, like
\family typewriter \family typewriter
prl prl
\family default \family default
@ -72,14 +71,12 @@ preprint
\family default \family default
should go in the should go in the
\family sans \family sans
Extra Extra\SpecialChar ~
\protected_separator
Options Options
\family default \family default
field in the field in the
\family sans \family sans
Document Document\SpecialChar ~
\protected_separator
Layout Layout
\family default \family default
popup (accessed from the popup (accessed from the
@ -87,7 +84,7 @@ Layout
Layout Layout
\family default \family default
menu). menu).
See the RevTeX 4 manual for style options, special macros, and the like. See the REVTeX 4 manual for style options, special macros, and the like.
\layout Section \layout Section
methods methods
@ -111,28 +108,56 @@ openone{}
\begin_inset Formula \( \sqrt{\overstar {a}}>b \) \begin_inset Formula \( \sqrt{\overstar {a}}>b \)
\end_inset \end_inset
, for example, which uses the RevTeX , for example, which uses the REVTeX
\family typewriter \family typewriter
\backslash \backslash
overcirc overstar
\family default \family default
command. command.
\layout Standard \layout Standard
You can do a bibliography by hand, as shown below, but it may be easier You can do a bibliography by hand, as shown below, but it may be easier
to erase that and use BibTeX. to erase that and use BibTeX---in fact, APS encourages authors to use BibTeX.
If you use BibTeX, use the RevTeX bibliography style file, If you do use BibTeX, use the REVTeX bibliography style file,
\family typewriter \family typewriter
revtex.bst revtex.bst
\family default \family default
. (i.e., just put
\begin_inset Quotes eld
\end_inset
revtex
\begin_inset Quotes erd
\end_inset
in the
\begin_inset Quotes eld
\end_inset
style
\begin_inset Quotes erd
\end_inset
box in the
\family sans
Insert\SpecialChar \menuseparator
Lists\SpecialChar ~
&\SpecialChar ~
TOC\SpecialChar \menuseparator
BibTeX\SpecialChar ~
Reference
\family default
popup).
With either method, you can cite references with the LyX citation commands With either method, you can cite references with the LyX citation commands
\begin_inset LatexCommand \cite{mycitation} \begin_inset LatexCommand \cite{mycitation}
\end_inset \end_inset
. .
\layout Acknowledgments
Thank you so much!
\layout Bibliography \layout Bibliography
\bibitem {mycitation} \bibitem {mycitation}