X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Frevtex.layout;h=19f0a5dee2e9e77656f26f005713f9b02fa4c23b;hb=9e425a0547a2861dc41b130a32b62fc7ff7072c8;hp=820021a17c72c1105d02eccd6f2a878d728296ff;hpb=28f4beaefac5839f6ba7fae615d46a6ba107486d;p=lyx.git diff --git a/lib/layouts/revtex.layout b/lib/layouts/revtex.layout index 820021a17c..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 Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -32,22 +32,20 @@ Style Standard LabelType No_Label End -############### Sections. - +Input stdinsets.inc Input stdsections.inc - -# Redefine some of the section styles. +Input numrevtex.inc Style Section Align Center AlignPossible Block, Center, Left - Font Series Medium Shape Smallcaps Size Large EndFont + TocLevel 1 End @@ -56,6 +54,7 @@ Style Subsection Series Bold Size Normal EndFont + TocLevel 2 End @@ -64,41 +63,36 @@ Style Subsubsection Shape Italic Size Normal EndFont + TocLevel 3 End Style Paragraph TopSep 0.7 ParSep 0.4 - 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 - Style Title Font Series Bold @@ -106,7 +100,7 @@ Style Title EndFont End -# Same as stdstruct.inc except the font + Style Author Font Size Large @@ -117,8 +111,7 @@ End Style Date LabelType Static - LabelString "Date: " - + LabelString "Date:" LabelFont Shape Italic Size Large @@ -137,33 +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 -Style Abstract +Style Abstract ItemSep 0.2 ParSep 0.3 - Font Size Normal EndFont - 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