]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/IEEEtran.layout
include intl/libintl.h that is relative to $TOP_SRCDIR/src
[lyx.git] / lib / layouts / IEEEtran.layout
index 2a987f3e39f37a02c057b03934c59cf60135cb33..20051c2199d9f490c160c3911df3c3c5f91848fe 100644 (file)
@@ -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 5
 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,7 +75,7 @@ Style Theorem
        LatexName             thm
        LabelString           "Theorem #:"
        Preamble
-         \newtheorem{thm}{Theorem}
+       \newtheorem{thm}{Theorem}
        EndPreamble
 End
 
@@ -82,7 +85,7 @@ Style Lemma
        LatexName             lemma
        LabelString           "Lemma #:"
        Preamble
-         \newtheorem{lemma}{Lemma}
+       \newtheorem{lemma}{Lemma}
        EndPreamble
 End
 
@@ -92,7 +95,7 @@ Style Corollary
        LatexName             cor
        LabelString           "Corollary #:"
        Preamble
-         \newtheorem{cor}{Corollary}
+       \newtheorem{cor}{Corollary}
        EndPreamble
 End
 
@@ -102,7 +105,7 @@ Style Proposition
        LatexName             prop
        LabelString           "Proposition #:"
        Preamble
-         \newtheorem{prop}{Proposition}
+       \newtheorem{prop}{Proposition}
        EndPreamble
 End
 
@@ -112,7 +115,7 @@ Style Conjecture
        LatexName             conject
        LabelString           "Conjecture #:"
        Preamble
-         \newtheorem{conject}{Conjecture}
+       \newtheorem{conject}{Conjecture}
        EndPreamble
 End
 
@@ -122,7 +125,7 @@ Style Criterion
        LatexName             criter
        LabelString           "Criterion #:"
        Preamble
-         \newtheorem{criter}{Criterion}
+       \newtheorem{criter}{Criterion}
        EndPreamble
 End
 
@@ -132,7 +135,7 @@ Style Fact
        LatexName             fact
        LabelString           "Fact #:"
        Preamble
-         \newtheorem{fact}{Fact}
+       \newtheorem{fact}{Fact}
        EndPreamble
 End
 
@@ -142,7 +145,7 @@ Style Axiom
        LatexName             axi
        LabelString           "Axiom #:"
        Preamble
-         \newtheorem{axi}{Axiom}
+       \newtheorem{axi}{Axiom}
        EndPreamble
 End
 
@@ -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,7 +333,6 @@ Style Abstract
        LeftMargin            ""
        RightMargin           ""
 #  ParIndent            MM
-       LabelSep              M
        LabelType             Static
        LabelString           "Abstract---"
 #  LabelBottomSep        0.0
@@ -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
@@ -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