]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/IEEEtran.layout
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / IEEEtran.layout
index c4a513ba0b64d22591e1f503d3e3030ac108e75f..6a0add2032d3c24e83f58c1fcb8e46c389e2b40b 100644 (file)
@@ -1,6 +1,6 @@
 #% Do not delete he line below; configure depends on this
 #  \DeclareLaTeXClass{article (IEEEtran)}
-# Based on Article textclass definition file. 
+# Based on Article textclass definition file.
 #
 # Author : Allan Rae <rae@lyx.org>
 #
@@ -14,6 +14,7 @@
 # the author information area.  There is a LaTeX 2.09 IEEEtran.sty available
 # also but LyX doesn't support 2.09 stuff so don't get that one.
 
+Format 11
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -32,6 +33,7 @@ End
 ##
 
 Input stdlists.inc
+Input stdinsets.inc
 
 # First cut at theorem environment support.
 # What other theorem-like environments are needed?
@@ -56,6 +58,7 @@ Style TheoremTemplate
        LabelFont
          Shape               Italic
        EndFont
+       OptionalArgs          1
 End
 
 
@@ -72,9 +75,9 @@ Style Theorem
        LatexName             thm
        LabelString           "Theorem #:"
        Preamble
-         \newtheorem{thm}{Theorem}
+       \newtheorem{thm}{Theorem}
        EndPreamble
-End  
+End
 
 
 Style Lemma
@@ -82,9 +85,9 @@ Style Lemma
        LatexName             lemma
        LabelString           "Lemma #:"
        Preamble
-         \newtheorem{lemma}{Lemma}
+       \newtheorem{lemma}{Lemma}
        EndPreamble
-End  
+End
 
 
 Style Corollary
@@ -92,7 +95,7 @@ Style Corollary
        LatexName             cor
        LabelString           "Corollary #:"
        Preamble
-         \newtheorem{cor}{Corollary}
+       \newtheorem{cor}{Corollary}
        EndPreamble
 End
 
@@ -102,9 +105,9 @@ Style Proposition
        LatexName             prop
        LabelString           "Proposition #:"
        Preamble
-         \newtheorem{prop}{Proposition}
+       \newtheorem{prop}{Proposition}
        EndPreamble
-End  
+End
 
 
 Style Conjecture
@@ -112,9 +115,9 @@ Style Conjecture
        LatexName             conject
        LabelString           "Conjecture #:"
        Preamble
-         \newtheorem{conject}{Conjecture}
+       \newtheorem{conject}{Conjecture}
        EndPreamble
-End  
+End
 
 
 Style Criterion
@@ -122,9 +125,9 @@ Style Criterion
        LatexName             criter
        LabelString           "Criterion #:"
        Preamble
-         \newtheorem{criter}{Criterion}
+       \newtheorem{criter}{Criterion}
        EndPreamble
-End  
+End
 
 
 Style Fact
@@ -132,9 +135,9 @@ Style Fact
        LatexName             fact
        LabelString           "Fact #:"
        Preamble
-         \newtheorem{fact}{Fact}
+       \newtheorem{fact}{Fact}
        EndPreamble
-End  
+End
 
 
 Style Axiom
@@ -142,9 +145,9 @@ Style Axiom
        LatexName             axi
        LabelString           "Axiom #:"
        Preamble
-         \newtheorem{axi}{Axiom}
+       \newtheorem{axi}{Axiom}
        EndPreamble
-End  
+End
 
 
 Style Definition
@@ -152,7 +155,7 @@ Style Definition
        LatexName             definitn
        LabelString           "Definition #:"
        Preamble
-         \newtheorem{definitn}{Definition}
+       \newtheorem{definitn}{Definition}
        EndPreamble
 End
 
@@ -162,7 +165,7 @@ Style Example
        LatexName             example
        LabelString           "Example #:"
        Preamble
-         \newtheorem{example}{Example}
+       \newtheorem{example}{Example}
        EndPreamble
 End
 
@@ -172,7 +175,7 @@ Style Condition
        LatexName             condition
        LabelString           "Condition #:"
        Preamble
-         \newtheorem{condition}{Condition}
+       \newtheorem{condition}{Condition}
        EndPreamble
 End
 
@@ -182,7 +185,7 @@ Style Problem
        LatexName             problem
        LabelString           "Problem #:"
        Preamble
-         \newtheorem{problem}{Problem}
+       \newtheorem{problem}{Problem}
        EndPreamble
 End
 
@@ -192,7 +195,7 @@ Style Exercise
        LatexName             exacise
        LabelString           "Exercise #:"
        Preamble
-         \newtheorem{exacise}{Exercise}
+       \newtheorem{exacise}{Exercise}
        EndPreamble
 End
 
@@ -202,7 +205,7 @@ Style Remark
        LatexName             remrk
        LabelString           "Remark #:"
        Preamble
-         \newtheorem{remrk}{Remark}
+       \newtheorem{remrk}{Remark}
        EndPreamble
 End
 
@@ -212,7 +215,7 @@ Style Claim
        LatexName             claim
        LabelString           "Claim #:"
        Preamble
-         \newtheorem{claim}{Claim}
+       \newtheorem{claim}{Claim}
        EndPreamble
 End
 
@@ -222,7 +225,7 @@ Style Note
        LatexName             note
        LabelString           "Note #:"
        Preamble
-         \newtheorem{note}{Note}
+       \newtheorem{note}{Note}
        EndPreamble
 End
 
@@ -232,7 +235,7 @@ Style Notation
        LatexName             notation
        LabelString           "Notation #:"
        Preamble
-         \newtheorem{notation}{Notation}
+       \newtheorem{notation}{Notation}
        EndPreamble
 End
 
@@ -242,7 +245,7 @@ Style Case
        LatexName             case
        LabelString           "Case #:"
        Preamble
-         \newtheorem{case}{Case}
+       \newtheorem{case}{Case}
        EndPreamble
 End
 
@@ -251,9 +254,10 @@ NoStyle TheoremTemplate
 
 
 ##
-## stdsections and stdstarsections
+## stdcounters, stdsections, and stdstarsections
 ##
 
+Input stdcounters.inc
 Input stdsections.inc
 Input stdstarsections.inc
 
@@ -329,11 +333,10 @@ Style Abstract
        LeftMargin            ""
        RightMargin           ""
 #  ParIndent            MM
-       LabelSep              M
        LabelType             Static
        LabelString           "Abstract---"
 #  LabelBottomSep        0.0
-       Font 
+       Font
          Series              Bold
          Size                Small
        EndFont
@@ -342,7 +345,7 @@ Style Abstract
          Series              Medium
          Size                Small
        EndFont
-End 
+End
 
 
 Style Keywords
@@ -356,7 +359,7 @@ Style Keywords
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Keywords---"
+       LabelString           "Index Terms---"
        TextFont
          Shape               Up
          Size                Small
@@ -370,7 +373,7 @@ End
 
 Style Bibliography
        LabelFont
-         Shape               Smallcaps             
+         Shape               Smallcaps
          Series              Medium
          Size                Normal
        EndFont
@@ -411,7 +414,16 @@ Style Biography
        LaTeXType             Environment
        LaTeXName             biography
        Align                 Block
-       AlignPossible         Block
+       TextFont
+         Size                Small
+       EndFont
+End
+
+
+Style BiographyNoPhoto
+       LaTeXType             Environment
+       LaTeXName             biographynophoto
+       Align                 Block
        TextFont
          Size                Small
        EndFont
@@ -425,11 +437,6 @@ End
 Input stdlayouts.inc
 
 
-Style Caption
-       LabelFont
-         Series              Medium
-       EndFont
-End
 
 
 Style Footernote
@@ -459,7 +466,12 @@ Style MarkBoth
        LaTeXType             Command
        LaTeXName             markboth
        Align                 Center
-       AlignPossible         Center
+       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
 
 
@@ -467,9 +479,7 @@ End
 ## Others
 ##
 
-Input numarticle.inc
 Input stdfloats.inc
-Input stdcounters.inc
 Input lyxmacros.inc
 
 
@@ -481,6 +491,6 @@ TocDepth                3
 
 ClassOptions
        FontSize              9|10|11|12
-End  
+End