X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Frevtex.layout;h=3dc2097ea2051f6bac35a8ddf2c9dfdaa0e2128e;hb=051c5f27284f00c20e95c5732bcfb04632c7cb18;hp=46d445bf1a967c74c8be3c2994b5387ba1634516;hpb=3776958094ef04c00264bb5bbdc001c24e88c01b;p=lyx.git diff --git a/lib/layouts/revtex.layout b/lib/layouts/revtex.layout index 46d445bf1a..3dc2097ea2 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{Obsolete} # 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,169 +10,145 @@ # Amir Karger (LyX v11.34 style modifications - using changes # made by Jean-Marc Lasgouttes to amsart.layout) -# General textclass parameters -Columns 1 -Sides 1 -PageStyle Headers -MaxCounter Counter_Section +Format 99 +Columns 1 +Sides 1 +PageStyle Headers -# Default textclass options. The user may need to modify this. ClassOptions - Other "aps,manuscript" + Other "aps,manuscript" End -# Standard style definition + Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + 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 + Align Center + AlignPossible Block, Center, Left + 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 + Font + Series Bold + Size Normal + EndFont + TocLevel 2 End -# Subsubsection-numbered style definition + Style Subsubsection - # standard font definition - Font - Shape Italic - Size Normal - EndFont + 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 + 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 -# Title style definition Style Title - # standard font definition - Font - Series Bold - Size Large - EndFont + 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 + Font + Size Large + Shape Smallcaps + EndFont End -# Date style definition + Style Date - LabelType Static - LabelString "Date: " - - # standard font definition - LabelFont - Shape Italic - Size Large - EndFont + LabelType Static + LabelString "Date:" + LabelFont + Shape Italic + Size Large + EndFont End -# Address style definition -Style Address - Margin Dynamic - LatexType Command - InTitle 1 - LatexName address - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Address: " - - LabelFont - Shape Italic - EndFont -End - -# Abstract style definition -Style Abstract - ItemSep 0.2 - ParSep 0.3 - - # standard font definition - Font - Size Normal - EndFont - - # label font definition - LabelFont - Size Large - EndFont -End -Input stdfloats.inc -Input stdcounters.inc +Style Address + Margin Dynamic + LatexType Command + InTitle 1 + LatexName address + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Center + AlignPossible Block, Left, Right, Center + LabelType Static + LabelSep M + LabelString "Address:" + LabelFont + Shape Italic + EndFont +End -### Finally a few obsolete definitions for compatibility -Input obsolete.inc -Style REVTEX_Title - ObsoletedBy Title +Style Abstract + ItemSep 0.2 + ParSep 0.3 + Font + Size Normal + EndFont + LabelFont + Size Large + EndFont End + + +Input stdfloats.inc +Input stdcounters.inc