home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / lyx21041.zip / XFree86 / lib / X11 / lyx / layouts / revtex4.layout < prev    next >
Text File  |  1999-09-24  |  5KB  |  237 lines

  1. #% Do not delete the line below; configure depends on this
  2. #  \DeclareLaTeXClass{article (REVTeX 4)}
  3. # RevTeX 4 textclass definition file. Based on:
  4. # AMS-Article textclass definition file. Taken from initial LyX source code
  5. # and from the Article textclass definition file, following the AMS sample
  6. # paper "testmath.tex" of January, 1995
  7. # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
  8. #          Marc Mengel (RevTeX)
  9. #          Amir Karger (LyX v11.34 style modifications - using changes
  10. #                       made by Jean-Marc Lasgouttes to amsart.layout)
  11. #          Amir Karger (RevTeX 4 beta) 9/1999
  12.  
  13. #TODO: need to make a thanks layout and write note in template not to
  14. #put footnotes in the title matter!
  15. #TODO: examine this issue that it seems you need to put the address last or you
  16. #get errors (seems to happen even when not using lyx...)
  17.  
  18. # General textclass parameters
  19. Columns            1
  20. Sides            1
  21. PageStyle        Headers
  22. MaxCounter        Counter_Section
  23.  
  24. # Default textclass options. The user may need to modify this.
  25. ClassOptions
  26.   Other            "aps,manuscript"
  27. End
  28.  
  29. # Standard style definition
  30. Style Standard
  31.   Margin          Static
  32.   LatexType         Paragraph
  33.   LatexName         dummy
  34.   ParIndent        MM
  35.   ParSkip         0.4
  36.   Align         Block
  37.   AlignPossible     Block, Left, Right, Center
  38.   LabelType         No_Label
  39. End
  40.  
  41. # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
  42. # so that they appear in a specific order in the layout dropdown menu?
  43.  
  44. ############### Sections.
  45.  
  46. Input stdsections.inc
  47.  
  48. # Redefine some of the section styles.
  49.  
  50. # Section-numbered style definition
  51. Style Section
  52.   Align            Center
  53.   AlignPossible        Block, Center, Left
  54.  
  55.   # standard font definition
  56.   Font
  57.     Series         Medium
  58.     Shape        Smallcaps
  59.     Size        Large
  60.   EndFont
  61. End
  62.  
  63. # Subsection-numbered style definition
  64. Style Subsection
  65.   # standard font definition
  66.   Font
  67.     Series         Bold
  68.     Size        Normal
  69.   EndFont
  70. End
  71.  
  72. # Subsubsection-numbered style definition
  73. Style Subsubsection
  74.   # standard font definition
  75.   Font
  76.     Shape          Italic
  77.     Size        Normal
  78.   EndFont
  79. End
  80.  
  81. # Paragraph-numbered style definition
  82. Style Paragraph
  83.   TopSep        0.7
  84.   ParSep        0.4
  85.  
  86.   # standard font definition
  87.   Font
  88.     Shape          Italic
  89.     Size        Normal
  90.   EndFont
  91. End
  92.  
  93. # then define the unumbered sections, based on the numbered ones.
  94. Input stdstarsections.inc
  95.  
  96. # remove the layouts that do not make sense.
  97. NoStyle         Chapter
  98. NoStyle         Chapter*
  99. NoStyle        Subparagraph
  100. NoStyle        Subparagraph*
  101.  
  102. ########### LAYOUTS quotes, etc.
  103. Input stdlayouts.inc
  104.  
  105. ########## LISTS
  106. Input stdlists.inc
  107.  
  108. ################ STRUCTURE OF THE DOCUMENT
  109. Input stdstruct.inc
  110.  
  111. # Preprint style
  112. Style Preprint
  113.   Margin                Right_Address_Box
  114.   LatexType             Command
  115.   LatexName             preprint
  116.   ParSkip               0.4
  117.   BottomSep             1.5
  118.   ParSep                1.5
  119.   Align                 Left
  120.   AlignPossible         Left
  121. End
  122.  
  123. # Title style definition
  124. Style Title
  125.   # standard font definition
  126.   Font
  127.     Series         Bold
  128.     Size        Large
  129.   EndFont
  130. End
  131.  
  132. # Author style definition
  133. # Same as stdstruct.inc except the font
  134. Style Author
  135.   # standard font definition
  136.   Font
  137.     Size        Large
  138.     Shape        Smallcaps
  139.   EndFont
  140. End
  141.  
  142. # Date style definition
  143. Style Date
  144.   LabelType        Static
  145.   LabelString        "Date: "
  146.  
  147.   # standard font definition
  148.   LabelFont
  149.     Shape        Italic
  150.     Size        Large
  151.   EndFont
  152. End
  153.  
  154. # Address style definition
  155. # (This style is same as Afilliation for Phys. Rev.)
  156. Style Address
  157.   Margin        Dynamic
  158.   LatexType        Command
  159.   InTitle        1
  160.   LatexName        address
  161.   ParSkip        0.4
  162. #  BottomSep        1.5
  163. #  ParSep        1.5
  164.   Align            Center
  165.   AlignPossible        Block, Left, Right, Center
  166.   LabelType        Static
  167.   LabelString           "Address: "
  168.  
  169.   LabelFont
  170.     Shape        Italic
  171.   EndFont
  172. End  
  173.  
  174. Style Affiliation
  175.   CopyStyle             Address
  176.   LatexName        affiliation
  177.   LabelString           "Affiliation: "
  178. End
  179.  
  180. Style Thanks
  181.   CopyStyle             Address
  182.   LatexName        thanks
  183.   LabelString           "Thanks: "
  184. End
  185.  
  186. Style Author_Email
  187.   CopyStyle             Address
  188.   LatexName             email
  189.   LabelString           "Electronic Address: "
  190.  
  191.   TextFont
  192.     Family              Typewriter
  193.   EndFont
  194.   LabelFont
  195. # override Typewriter
  196.     Family              Roman
  197.   EndFont
  198. End
  199.  
  200. Style Author_URL
  201.   CopyStyle             "Author Email"
  202.   LatexName             homepage
  203.   LabelString           "URL: "
  204. End
  205.  
  206. # Abstract style definition
  207. Style Abstract 
  208.   InTitle        1
  209.   ItemSep        0.2
  210.   ParSep        0.3
  211.  
  212.   LabelFont
  213.     Size        Large
  214.   EndFont
  215. End 
  216.  
  217. Style PACS
  218.   Margin        Dynamic
  219.   LatexType             Command
  220.   LatexName             pacs
  221.   LabelType        Static
  222.   LabelString           "PACS number: "
  223. End
  224.  
  225. Style Keywords
  226.   CopyStyle             PACS
  227.   Latexname             keywords
  228.   LabelString           "Keywords: "
  229. End
  230.  
  231. ### Finally a few obsolete definitions for compatibility
  232. Input obsolete.inc
  233.  
  234. Style REVTEX_Title
  235.   ObsoletedBy        Title
  236. End
  237.