]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4.layout
fix typo that put too many include paths for most people
[lyx.git] / lib / layouts / revtex4.layout
index 5e563dd4c11ab5c357e0f81ce13e330e7beac2ca..0f84928bc3dce9fefd2dbc51057f5408fc9a2721 100644 (file)
@@ -6,14 +6,8 @@
 # paper "testmath.tex" of January, 1995
 # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
 #          Marc Mengel (RevTeX)
-#          Amir Karger (LyX v11.34 style modifications - using changes
-#                       made by Jean-Marc Lasgouttes to amsart.layout)
-#          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...)
+#          Amir Karger (LyX v11.34 style modifications)
+#          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
 
 # General textclass parameters
 Columns                        1
@@ -106,12 +100,14 @@ Input stdlayouts.inc
 Input stdlists.inc
 
 ################ STRUCTURE OF THE DOCUMENT
+Input stdtitle.inc
 Input stdstruct.inc
 
 # Preprint style
 Style Preprint
   Margin                Right_Address_Box
   LatexType             Command
+  InTitle              1
   LatexName             preprint
   ParSkip               0.4
   BottomSep             1.5
@@ -151,40 +147,40 @@ Style Date
   EndFont
 End
 
-# Address style definition
-# (This style is same as Afilliation for Phys. Rev.)
-Style Address
+Style Affiliation
   Margin               Dynamic
   LatexType            Command
   InTitle              1
-  LatexName            address
+  LatexName            affiliation
   ParSkip              0.4
 #  BottomSep           1.5
 #  ParSep              1.5
   Align                        Center
   AlignPossible                Block, Left, Right, Center
   LabelType            Static
-  LabelString           "Address: "
+  LabelString           "Affiliation: "
 
   LabelFont
     Shape              Italic
   EndFont
 End  
 
-Style Affiliation
-  CopyStyle             Address
-  LatexName            affiliation
-  LabelString           "Affiliation: "
+# Address is exactly the same as Affiliation. We just put this in so
+# that reLyX will know what to do with it.
+Style Address
+    CopyStyle          Affiliation
+    LatexName          address
+    LabelString         "Address: "
 End
 
 Style Thanks
-  CopyStyle             Address
+  CopyStyle             Affiliation
   LatexName            thanks
   LabelString           "Thanks: "
 End
 
 Style Author_Email
-  CopyStyle             Address
+  CopyStyle             Affiliation
   LatexName             email
   LabelString           "Electronic Address: "
 
@@ -214,9 +210,29 @@ Style Abstract
   EndFont
 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
   Margin               Dynamic
   LatexType             Command
+  InTitle              1
   LatexName             pacs
   LabelType            Static
   LabelString           "PACS number: "
@@ -224,6 +240,7 @@ End
 
 Style Keywords
   CopyStyle             PACS
+  InTitle              1
   Latexname             keywords
   LabelString           "Keywords: "
 End