]> 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 d09540e181c5234c8ffefee540cc4d963d29ce74..6a0add2032d3c24e83f58c1fcb8e46c389e2b40b 100644 (file)
@@ -14,7 +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 2
+Format 11
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -33,6 +33,7 @@ End
 ##
 
 Input stdlists.inc
+Input stdinsets.inc
 
 # First cut at theorem environment support.
 # What other theorem-like environments are needed?
@@ -57,6 +58,7 @@ Style TheoremTemplate
        LabelFont
          Shape               Italic
        EndFont
+       OptionalArgs          1
 End
 
 
@@ -73,7 +75,7 @@ Style Theorem
        LatexName             thm
        LabelString           "Theorem #:"
        Preamble
-         \newtheorem{thm}{Theorem}
+       \newtheorem{thm}{Theorem}
        EndPreamble
 End
 
@@ -83,7 +85,7 @@ Style Lemma
        LatexName             lemma
        LabelString           "Lemma #:"
        Preamble
-         \newtheorem{lemma}{Lemma}
+       \newtheorem{lemma}{Lemma}
        EndPreamble
 End
 
@@ -93,7 +95,7 @@ Style Corollary
        LatexName             cor
        LabelString           "Corollary #:"
        Preamble
-         \newtheorem{cor}{Corollary}
+       \newtheorem{cor}{Corollary}
        EndPreamble
 End
 
@@ -103,7 +105,7 @@ Style Proposition
        LatexName             prop
        LabelString           "Proposition #:"
        Preamble
-         \newtheorem{prop}{Proposition}
+       \newtheorem{prop}{Proposition}
        EndPreamble
 End
 
@@ -113,7 +115,7 @@ Style Conjecture
        LatexName             conject
        LabelString           "Conjecture #:"
        Preamble
-         \newtheorem{conject}{Conjecture}
+       \newtheorem{conject}{Conjecture}
        EndPreamble
 End
 
@@ -123,7 +125,7 @@ Style Criterion
        LatexName             criter
        LabelString           "Criterion #:"
        Preamble
-         \newtheorem{criter}{Criterion}
+       \newtheorem{criter}{Criterion}
        EndPreamble
 End
 
@@ -133,7 +135,7 @@ Style Fact
        LatexName             fact
        LabelString           "Fact #:"
        Preamble
-         \newtheorem{fact}{Fact}
+       \newtheorem{fact}{Fact}
        EndPreamble
 End
 
@@ -143,7 +145,7 @@ Style Axiom
        LatexName             axi
        LabelString           "Axiom #:"
        Preamble
-         \newtheorem{axi}{Axiom}
+       \newtheorem{axi}{Axiom}
        EndPreamble
 End
 
@@ -153,7 +155,7 @@ Style Definition
        LatexName             definitn
        LabelString           "Definition #:"
        Preamble
-         \newtheorem{definitn}{Definition}
+       \newtheorem{definitn}{Definition}
        EndPreamble
 End
 
@@ -163,7 +165,7 @@ Style Example
        LatexName             example
        LabelString           "Example #:"
        Preamble
-         \newtheorem{example}{Example}
+       \newtheorem{example}{Example}
        EndPreamble
 End
 
@@ -173,7 +175,7 @@ Style Condition
        LatexName             condition
        LabelString           "Condition #:"
        Preamble
-         \newtheorem{condition}{Condition}
+       \newtheorem{condition}{Condition}
        EndPreamble
 End
 
@@ -183,7 +185,7 @@ Style Problem
        LatexName             problem
        LabelString           "Problem #:"
        Preamble
-         \newtheorem{problem}{Problem}
+       \newtheorem{problem}{Problem}
        EndPreamble
 End
 
@@ -193,7 +195,7 @@ Style Exercise
        LatexName             exacise
        LabelString           "Exercise #:"
        Preamble
-         \newtheorem{exacise}{Exercise}
+       \newtheorem{exacise}{Exercise}
        EndPreamble
 End
 
@@ -203,7 +205,7 @@ Style Remark
        LatexName             remrk
        LabelString           "Remark #:"
        Preamble
-         \newtheorem{remrk}{Remark}
+       \newtheorem{remrk}{Remark}
        EndPreamble
 End
 
@@ -213,7 +215,7 @@ Style Claim
        LatexName             claim
        LabelString           "Claim #:"
        Preamble
-         \newtheorem{claim}{Claim}
+       \newtheorem{claim}{Claim}
        EndPreamble
 End
 
@@ -223,7 +225,7 @@ Style Note
        LatexName             note
        LabelString           "Note #:"
        Preamble
-         \newtheorem{note}{Note}
+       \newtheorem{note}{Note}
        EndPreamble
 End
 
@@ -233,7 +235,7 @@ Style Notation
        LatexName             notation
        LabelString           "Notation #:"
        Preamble
-         \newtheorem{notation}{Notation}
+       \newtheorem{notation}{Notation}
        EndPreamble
 End
 
@@ -243,7 +245,7 @@ Style Case
        LatexName             case
        LabelString           "Case #:"
        Preamble
-         \newtheorem{case}{Case}
+       \newtheorem{case}{Case}
        EndPreamble
 End
 
@@ -252,9 +254,10 @@ NoStyle TheoremTemplate
 
 
 ##
-## stdsections and stdstarsections
+## stdcounters, stdsections, and stdstarsections
 ##
 
+Input stdcounters.inc
 Input stdsections.inc
 Input stdstarsections.inc
 
@@ -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