X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Frevtex.layout;h=19f0a5dee2e9e77656f26f005713f9b02fa4c23b;hb=9e425a0547a2861dc41b130a32b62fc7ff7072c8;hp=ded4bb02f6cd9c4bdc19cd09f22302f2a4654cf8;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/revtex.layout b/lib/layouts/revtex.layout index ded4bb02f6..19f0a5dee2 100644 --- a/lib/layouts/revtex.layout +++ b/lib/layouts/revtex.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{article (REVTeX)} +# \DeclareLaTeXClass[revtex,revtex.sty]{REVTeX (Obsolete Version)} +# \DeclareCategory{Articles} # RevTeX textclass definition file. Based on: # AMS-Article textclass definition file. Taken from initial LyX source code # and from the Article textclass definition file, following the AMS sample @@ -9,19 +10,18 @@ # Amir Karger (LyX v11.34 style modifications - using changes # made by Jean-Marc Lasgouttes to amsart.layout) -# General textclass parameters +Format 45 Columns 1 Sides 1 PageStyle Headers -MaxCounter Counter_Section -# Default textclass options. The user may need to modify this. ClassOptions Other "aps,manuscript" End -# Standard style definition + Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -32,106 +32,93 @@ Style Standard LabelType No_Label End -############### Sections. - +Input stdinsets.inc Input stdsections.inc +Input numrevtex.inc -# Redefine some of the section styles. -# Section-numbered style definition Style Section Align Center AlignPossible Block, Center, Left - - # standard font definition Font Series Medium Shape Smallcaps Size Large EndFont + TocLevel 1 End -# Subsection-numbered style definition + Style Subsection - # standard font definition Font Series Bold Size Normal EndFont + TocLevel 2 End -# Subsubsection-numbered style definition + Style Subsubsection - # standard font definition Font Shape Italic Size Normal EndFont + TocLevel 3 End -# Paragraph-numbered style definition + Style Paragraph TopSep 0.7 ParSep 0.4 - - # standard font definition Font Shape Italic Size Normal EndFont + TocLevel 4 End + # then define the unumbered sections, based on the numbered ones. Input stdstarsections.inc # remove the layouts that do not make sense. -NoStyle Chapter -NoStyle Chapter* -NoStyle Subparagraph -NoStyle Subparagraph* +NoStyle Chapter +NoStyle Chapter* +NoStyle Subparagraph +NoStyle Subparagraph* -########### LAYOUTS quotes, etc. -Input stdlayouts.inc -########## LISTS +Input stdlayouts.inc Input stdlists.inc - -################ STRUCTURE OF THE DOCUMENT Input stdtitle.inc Input stdstruct.inc -# Title style definition Style Title - # standard font definition Font Series Bold Size Large EndFont End -# Author style definition -# Same as stdstruct.inc except the font + Style Author - # standard font definition Font Size Large Shape Smallcaps EndFont End -# Date style definition + Style Date LabelType Static - LabelString "Date: " - - # standard font definition + LabelString "Date:" LabelFont Shape Italic Size Large EndFont End -# Address style definition + Style Address Margin Dynamic LatexType Command @@ -143,35 +130,25 @@ Style Address Align Center AlignPossible Block, Left, Right, Center LabelType Static - LabelString "Address: " - + LabelSep M + LabelString "Address:" LabelFont Shape Italic EndFont -End +End + -# Abstract style definition -Style Abstract +Style Abstract ItemSep 0.2 ParSep 0.3 - - # standard font definition Font Size Normal EndFont - - # label font definition LabelFont Size Large EndFont -End +End + Input stdfloats.inc Input stdcounters.inc - -### Finally a few obsolete definitions for compatibility -Input obsolete.inc - -Style REVTEX_Title - ObsoletedBy Title -End