]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/IEEEtran.layout
Question environments, from Russ Woodroofe.
[lyx.git] / lib / layouts / IEEEtran.layout
index d321b3eab676c494fd47f6ee67f04a47e30f5d64..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 5
+Format 11
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -254,9 +254,10 @@ NoStyle TheoremTemplate
 
 
 ##
-## stdsections and stdstarsections
+## stdcounters, stdsections, and stdstarsections
 ##
 
+Input stdcounters.inc
 Input stdsections.inc
 Input stdstarsections.inc
 
@@ -413,7 +414,6 @@ Style Biography
        LaTeXType             Environment
        LaTeXName             biography
        Align                 Block
-       AlignPossible         Block
        TextFont
          Size                Small
        EndFont
@@ -424,7 +424,6 @@ Style BiographyNoPhoto
        LaTeXType             Environment
        LaTeXName             biographynophoto
        Align                 Block
-       AlignPossible         Block
        TextFont
          Size                Small
        EndFont
@@ -465,12 +464,13 @@ End
 
 Style MarkBoth
        LaTeXType             Command
-       LaTeXName             IEEEmarkboth
+       LaTeXName             markboth
        Align                 Center
-       AlignPossible         Center
        Preamble
-       % protect against redefinition of \markboth by babel >= 3.6
-       \let\IEEEmarkboth=\markboth
+       % 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
 
@@ -480,7 +480,6 @@ End
 ##
 
 Input stdfloats.inc
-Input stdcounters.inc
 Input lyxmacros.inc