]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/IEEEtran.layout
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[lyx.git] / lib / layouts / IEEEtran.layout
index ba2337137df20adc2a50f0cac794e5c31e9378d8..d321b3eab676c494fd47f6ee67f04a47e30f5d64 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
 
@@ -417,6 +420,17 @@ Style Biography
 End
 
 
+Style BiographyNoPhoto
+       LaTeXType             Environment
+       LaTeXName             biographynophoto
+       Align                 Block
+       AlignPossible         Block
+       TextFont
+         Size                Small
+       EndFont
+End
+
+
 ##
 ##  stdlayouts
 ##
@@ -424,11 +438,6 @@ End
 Input stdlayouts.inc
 
 
-Style Caption
-       LabelFont
-         Series              Medium
-       EndFont
-End
 
 
 Style Footernote
@@ -456,9 +465,13 @@ End
 
 Style MarkBoth
        LaTeXType             Command
-       LaTeXName             markboth
+       LaTeXName             IEEEmarkboth
        Align                 Center
        AlignPossible         Center
+       Preamble
+       % protect against redefinition of \markboth by babel >= 3.6
+       \let\IEEEmarkboth=\markboth
+       EndPreamble
 End
 
 
@@ -466,7 +479,6 @@ End
 ## Others
 ##
 
-Input numarticle.inc
 Input stdfloats.inc
 Input stdcounters.inc
 Input lyxmacros.inc