]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpc.layout
Categorize existing layouts
[lyx.git] / lib / layouts / ijmpc.layout
index 06edd8410d93d3f397aa7ee3e21ae67de7af06d6..1ee306395777c1b5c28879087e40363d47863f85 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ws-ijmpc]{article (IJMPC)}
+#  \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{Int. Journal of Modern Physics C}
+#  \DeclareCategory{Articles}
 #
 # Textclass definition file for ws-ijmpc.cls
 # For publications in the International Journal of Modern Physics C
 #
 # Author: Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
 #
-# Version 1  2006-04-09  -  First version, for LyX 1.4.0.
-
-Format 8
-
-Input stdclass.inc
-Input numarticle.inc
+# revised for ws-ijmpc.tex : 8-1-08
+# Author: Uwe Stöhr (uwestoehr@web.de)
+
+
+Format 36
+
+Sides          1
+Columns                1
+SecNumDepth    3
+TocDepth       3
+DefaultStyle   Standard
+
+Style Standard
+  Margin       Static
+  LatexType    Paragraph
+  LatexName    dummy
+  ParIndent    MM
+  ParSkip      0.4
+  Align                Block
+  AlignPossible        Block, Left, Right, Center
+  LabelType    No_Label
+End
+
+Input stdcounters.inc
+Input stdfloats.inc
+#Input stdlists.inc
+Input stdsections.inc
+Input stdstarsections.inc
+Input stdlayouts.inc
+Input lyxmacros.inc
+
+ProvidesModule theorems-std
+Input theorems-without-preamble.inc
+NoStyle Fact
+NoStyle Note
+NoStyle Problem
+NoStyle Solution
+NoStyle Prob
+NoStyle Sol
+NoStyle Exercise
+NoStyle Example
+NoStyle Definition
+NoStyle Case
+NoStyle Property
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 NoStyle Part
+NoCounter part
 NoStyle Verse
 
-Sides                   1
-Columns                 1
-SecNumDepth             3
-TocDepth                3
-DefaultStyle            Standard
 
-ClassOptions
-       FontSize              ""
-       PageStyle             ""
+Style MarkBoth
+  LaTeXType    Command
+  LaTeXName    markboth
+  Category     FrontMatter
+  InTitle      1
+  Align                Center
+  Font
+    Size       Small
+  EndFont
+  Preamble
+  % protect \markboth against an old bug reintroduced in babel >= 3.8g
+  \let\oldforeign@language\foreign@language
+  \DeclareRobustCommand{\foreign@language}[1]{%
+    \lowercase{\oldforeign@language{#1}}}
+  EndPreamble
+End
+
+Style Catchline
+  Margin       Dynamic
+  LatexType    Command
+  LatexName    catchline{}{}{}{}
+  LabelString  "Catchline"
+  Category     FrontMatter
+  KeepEmpty    1
+  ParSkip      0.4
+  InTitle      1
+  Align                Block
+  LabelSep     xx
+  LabelType    Static
+  LabelString  "Catchline"
+  LabelFont
+    Series     Bold
+    Color      Green
+  EndFont
 End
 
 Style Title
-       Align                 Center
-       TextFont
-         Size                Large
-       EndFont
+  Margin       Static
+  LatexType    Command
+  LatexName    title
+  Category     FrontMatter
+  InTitle      1
+  OptionalArgs 0
+  ParSkip      0.4
+  ItemSep      0
+  TopSep       0
+  BottomSep    1
+  ParSep       1
+  Align                Center
+  LabelType    No_Label
+  Font
+    Size       Largest
+  EndFont
 End
 
 Style Author
-       Align                 Center
-       TextFont
-         Series              Medium
-         Size                Normal
-       EndFont
+  Margin       Static
+  LatexType    Command
+  Category     FrontMatter
+  InTitle      1
+  OptionalArgs 1
+  LatexName    author
+  LabelSep     xxx
+  ParSkip      0.4
+  TopSep       1.3
+  BottomSep    0.7
+  ParSep       0.7
+  Align                Center
+  LabelType    No_Label
+  Font
+    Size       Large
+  EndFont
 End
 
 Style Address
-       LatexType             Command
-       InTitle               1
-       LatexName             address
-       ParSkip               0.4
-       BottomSep             0.4
-       Align                 Center
-       LabelType             No_Label
-       TextFont
-         Series              Medium
-         Shape               Italic
-         Size                Normal
-       EndFont
+  LatexType    Command
+  InTitle      1
+  LatexName    address
+  ParSkip      0.4
+  BottomSep    0.4
+  Align        Center
+  LabelType    No_Label
+  Font
+   Series      Medium
+   Shape       Italic
+   Size        Normal
+  EndFont
+End
+
+Style History
+  Margin       First_Dynamic
+  LatexType    Environment
+  LatexName    history
+  Category     FrontMatter
+  TopSep       0.7
+  BottomSep    0.7
+  ParSkip      0.4
+  Align                Center
+  Font
+    Size       Small
+  EndFont
+End
+
+InsetLayout Flex:Received
+  LyxType      custom
+  LatexType    command
+  LatexName    received
+  LabelString  "Received"
+  Font
+    Size       Small
+    Misc       No_Emph
+    Misc       No_Noun
+    Misc       No_Bar
+  EndFont
+  LabelFont
+    Color      green
+    Size       Small
+  EndFont
+End
+
+InsetLayout Flex:Revised
+  LyxType      custom
+  LatexType    command
+  LatexName    revised
+  LabelString  "Revised"
+  Font
+    Size       Small
+    Misc       No_Emph
+    Misc       No_Noun
+    Misc       No_Bar
+  EndFont
+  LabelFont
+    Color      green
+    Size       Small
+  EndFont
 End
 
 Style Abstract
-       LatexType             Environment
-       ParIndent             ""
-       Align                 Block
-       LabelType             No_Label
-       TextFont
-         Size                Small
-       EndFont
-End
-
-Style Keywords
-       CopyStyle             Abstract
-       LatexType             Command
-       LatexName             keywords
-       Margin                Dynamic
-       LabelType             Static
-       LabelString           "Keywords:"
-       LabelSep              M
-       LabelFont
-         Series              Medium
-         Shape               Italic
-         Size                Small
-       EndFont
+  Margin       First_Dynamic
+  LatexType    Environment
+  LatexName    abstract
+  Category     FrontMatter
+  TopSep       0.7
+  BottomSep    0.7
+  ParSkip      0.4
+  Font
+    Size       Small
+  EndFont
+End
+
+InsetLayout Flex:Keywords
+  LyxType      custom
+  LatexType    command
+  LatexName    keywords
+  LabelString  "Keywords"
+  Font
+    Size       Small
+    Misc       No_Emph
+    Misc       No_Noun
+    Misc       No_Bar
+  EndFont
+  LabelFont
+    Color      green
+    Size       Small
+  EndFont
 End
 
 Style Classification_Codes
-       CopyStyle             Abstract
-       LatexType             Command
-       LatexName             ccode
-       Margin                Static
-End
-
-Style Section
-       Align                 Block
-       Font
-         Size                Normal
-       EndFont
-End
-
-Style Section*
-       Align                 Block
-       Font
-         Size                Normal
-       EndFont
-End
-
-Style Subsection
-       Align                 Block
-       TextFont
-         Shape               Italic
-         Size                Normal
-       EndFont
-End
-
-Style Subsubsection
-       Align                 Block
-       LabelFont
-         Series              Medium
-       EndFont
-       TextFont
-         Series              Medium
-         Shape               Italic
-         Size                Normal
-       EndFont
-End
-
-Counter
-       Name                  definition
-End
-Style Definition
-       LatexType             Environment
-       LatexName             definition
-       Margin                First_Dynamic
-       TopSep                0.6
-       BottomSep             0.6
-       Align                 Block
-       LabelType             Counter
-       LabelCounter          definition
-       LabelString           "Definition \thedefinition."
-       LabelSep              M
-       NextNoIndent          1
-       LabelFont
-         Series              Bold
-       EndFont
-End
-
-Counter
-       Name                  step
-End
-Style Step
-        CopyStyle             Definition
-       LatexName             step
-       LabelCounter          step
-       LabelString           "Step \thestep."
-       LabelFont
-         Series              Medium
-         Shape               Italic
-       EndFont
-End
-
-Counter
-       Name                  example
-End
-Style Example
-        CopyStyle             Definition
-       LatexName             example
-       LabelCounter          example
-       LabelString           "Example \theexample."
-End
-
-Counter
-       Name                  remark
-End
-Style Remark
-        CopyStyle             Definition
-       LatexName             remark
-       LabelCounter          remark
-       LabelString           "Remark \theremark."
+  CopyStyle    Abstract
+  LatexType    Command
+  LatexName    ccode
+  Margin       Static
+End
+
+InsetLayout Flex:TableCaption
+  LyxType      custom
+  LatexType    command
+  LatexName    tbl
+  LabelString  "Table caption"
+  Font
+    Size       Small
+    Misc       No_Emph
+    Misc       No_Noun
+    Misc       No_Bar
+  EndFont
+  LabelFont
+    Color      green
+    Size       Small
+  EndFont
+End
+
+InsetLayout Flex:Refcite
+  LyxType      custom
+  LatexType    command
+  LatexName    refcite
+  LabelString  "Cite reference"
+  Font
+    Size       Small
+    Misc       No_Emph
+    Misc       No_Noun
+    Misc       No_Bar
+  EndFont
+  LabelFont
+    Color      green
+    Size       Small
+  EndFont
+End
+
+Style ItemList
+  Category     List
+  Margin       Static
+  LatexType    Item_Environment
+  LatexName    itemlist
+  NextNoIndent 1
+  LeftMargin   MMN
+  LabelSep     xx
+  ItemSep      0.2
+  TopSep       0.7
+  BottomSep    0.7
+  ParSep       0.3
+  Align                Block
+  AlignPossible        Block, Left
+  LabelType    Itemize
+  HTMLTag      ul
+  HTMLItem     li
+  HTMLLabel    NONE
+End
+
+Style RomanList
+  Category     List
+  Margin       Static
+  LatexType    Item_Environment
+  LatexName    romanlist
+  OptionalArgs 1
+  NextNoIndent 1
+  LeftMargin   MMN
+  LabelSep     xx
+  ParSkip      0.0
+  ItemSep      0.2
+  TopSep       0.7
+  BottomSep    0.7
+  ParSep       0.3
+  Align        Block
+  AlignPossible        Block, Left
+  LabelType    Enumerate
+  LabelCounter "enum"
+  HTMLTag      ol
+  HTMLItem     li
+  HTMLLabel    NONE
+  RefPrefix    enu
 End
 
-Counter
-       Name                  notation
-End
-Style Notation
-        CopyStyle             Definition
-       LatexName             notation
-       LabelCounter          notation
-       LabelString           "Notation \thenotation."
+Style Proof
+  LatexType    Environment
+  LatexName    proof
+  Category     Theorem
+  Margin       First_Dynamic
+  TopSep       0.6
+  BottomSep    0.6
+  Align        Block
+  LabelType    Static
+  LabelString  "Proof:"
+  LabelSep     M
+  LabelFont
+   Series      Bold
+  EndFont
+  LabelFont
+   Series      Bold
+  EndFont
+  EndLabelType Box
 End
 
-Counter
-       Name                  theorem
-End
 Style Theorem
-       LatexType             Environment
-       LatexName             theorem
-       Margin                First_Dynamic
-       TopSep                0.6
-       BottomSep             0.6
-       Align                 Block
-       NextNoIndent          1
-       LabelType             Counter
-       LabelCounter          theorem
-       LabelString           "Theorem \thetheorem."
-       LabelSep              M
-       LabelFont
-         Series              Bold
-         Shape               Up
-       EndFont
-       TextFont
-         Shape               Italic
-       EndFont
+  OptionalArgs 0
+  LabelString  "Theorem \thetheorem."
+  #Font
+   #Shape      Up
+  #EndFont
+  #LabelFont
+   #Series     Bold
+  #EndFont
 End
 
-Style Proof
-       LatexType             Environment
-       LatexName             proof
-       Margin                First_Dynamic
-       TopSep                0.6
-       BottomSep             0.6
-       Align                 Block
-       LabelType             Static
-       LabelString           "Proof."
-       LabelSep              M
-       LabelFont
-         Series              Bold
-       EndFont
-       EndLabelType          Box
+Style Remark
+  LabelString  "Remark \theremark."
+  LabelFont
+   Series      Bold
+   Shape       Up
+  EndFont
 End
 
-Counter
-       Name                  corollary
-End
 Style Corollary
-        CopyStyle             Theorem
-       LatexName             corollary
-       LabelCounter          corollary
-       LabelString           "Corollary \thecorollary."
+  LabelString  "Corollary \thecorollary."
 End
 
-Counter
-       Name                  lemma
-End
 Style Lemma
-        CopyStyle             Theorem
-       LatexName             lemma
-       LabelCounter          lemma
-       LabelString           "Lemma \thelemma."
+  LabelString  "Lemma \thelemma."
 End
 
-Counter
-       Name                  proposition
-End
 Style Proposition
-        CopyStyle             Theorem
-       LatexName             proposition
-       LabelCounter          proposition
-       LabelString           "Proposition \theproposition."
-End
-
-Counter
-       Name                  prop
-End
-Style Prop
-        CopyStyle             Definition
-       LatexName             prop
-       LabelCounter          prop
-       LabelString           "Prop \theprop."
+  LabelString  "Proposition \theproposition."
 End
 
-Counter
-       Name                  question
-End
 Style Question
-        CopyStyle             Definition
-       LatexName             question
-       LabelCounter          question
-       LabelString           "Question \thequestion."
+  LabelString  "Question \thequestion."
+  LabelFont
+   Series      Bold
+   Shape       Up
+  EndFont
 End
 
-Counter
-       Name                  claim
+Counter claim
+  Within       section
 End
 Style Claim
-        CopyStyle             Theorem
-       LatexName             claim
-       LabelCounter          claim
-       LabelString           "Claim \theclaim."
+  LabelCounter claim
+  LabelString  "Claim \theclaim."
+  Font
+   Shape       Italic
+  EndFont
+  LabelFont
+   Series      Bold
+   Shape       Up
+  EndFont
 End
 
-Counter
-       Name                  conjecture
-End
 Style Conjecture
-        CopyStyle             Theorem
-       LatexName             conjecture
-       LabelCounter          conjecture
-       LabelString           "Conjecture \theconjecture."
+  LabelString  "Conjecture \theconjecture."
+  Font
+   Shape       Italic
+  EndFont
+  LabelFont
+   Series      Bold
+   Shape       Up
+  EndFont
 End
 
-Style Appendices_Section
-       Margin                Static
-       LatexType             Command
-       LatexName             appendix
-       KeepEmpty             1
-       TopSep                0.6
-       BottomSep             0
-       Align                 Block
-       LabelType             Centered_Top_Environment
-       LabelString           "--- Appendices ---"
-       Font
-         Series              Bold
-         Size                Normal
-         Color               Blue
-       EndFont
+Style Prop
+  LabelFont
+   Series      Bold
+  EndFont
 End
 
-Counter
-       Name                  appendix
+Counter appendix
 End
 Style Appendix
-       LatexType             Command
-       LatexName             section
-       TopSep                0.6
-       BottomSep             0.6
-       Margin                First_Dynamic
-       Align                 Block
-       NextNoIndent          1
-       LabelType             Counter
-       LabelCounter          appendix
-       LabelString           "Appendix \Alph{appendix}."
-       LabelSep              M
-       LabelFont
-         Series              Bold
-         Shape               Up
-         Size                Normal
-       EndFont
-       TextFont
-         Series              Bold
-       EndFont
+  LatexType    Command
+  LatexName    section
+  Category     BackMatter
+  TopSep       0.6
+  BottomSep    0.6
+  Margin       First_Dynamic
+  Align        Block
+  NextNoIndent 1
+  LabelType    Counter
+  LabelCounter appendix
+  LabelString  "Appendix \Alph{appendix}."
+  LabelSep     M
+  LabelFont
+   Series      Bold
+   Shape       Up
+   Size        Normal
+  EndFont
+  Font
+   Series      Bold
+  EndFont
 End
 
 Style Bibliography
-       Align                 Block
-       LabelFont
-         Size                Normal
-       EndFont
+  Margin       First_Dynamic
+  LatexType    Bib_Environment
+  LatexName    thebibliography
+  Category     BackMatter
+  NextNoIndent 1
+  LeftMargin   MM
+  ParSkip      0.4
+  ItemSep      0
+  TopSep       0.7
+  BottomSep    0.7
+  ParSep       0.5
+  Align                Block
+  AlignPossible        Block, Left
+  LabelType    Bibliography
+  LabelString  "References"
+  LabelBottomSep       1.2
+  LabelFont
+    Series     Bold
+    Size       Larger
+  EndFont
 End