lyx_mirror/lib/layouts/IEEEtran.layout
Enrico Forestieri ba5436faeb Fix IEEEtran.layout.
- The default is 2 columns, so, specifying "Columns 2" suddenly changes
  the output of old documents which are now printed in one column.
- The font shape for IEEEmembership is Italic.
- As regards abstract and keywords:
  - The margin is First_Dynamic, not Dynamic.
  - The labels are "Abstract---" and "Index Terms---" with no label separation.
  - Alignment is not centered.
  - Font is small and black


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34382 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 00:49:42 +00:00

289 lines
4.3 KiB
Plaintext

#% Do not delete he line below; configure depends on this
# \DeclareLaTeXClass{article (IEEEtran)}
# Author : Allan Rae <rae@lyx.org>
#
# revised for IEEtran version 1.7a
# Author: Uwe Stöhr (uwestoehr@web.de)
#
# IEEtran textclass definition file.
Format 26
Sides 1
SecNumDepth 3
TocDepth 3
DefaultStyle Standard
ClassOptions
FontSize 9|10|11|12
end
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Counter theorem
End
Input stdcounters.inc
Input stdfloats.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
Input stdlayouts.inc
Input theorems.inc
NoStyle Chapter
NoStyle Chapter*
Style Title
Margin Static
LatexType Command
LatexName title
Category FrontMatter
InTitle 1
OptionalArgs 0
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
LabelType No_Label
Font
Size Largest
EndFont
End
InsetLayout IEEE_membership
LyxType custom
LatexType command
LatexName IEEEmembership
LabelString "IEEE membership"
Font
Shape Italic
Size Large
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color green
Size Small
EndFont
End
InsetLayout Lowercase
CopyStyle IEEE_membership
LatexType command
LatexName MakeLowercase
LabelString "lowercase"
Font
Size Normal
EndFont
End
Style IEEE_special_paper_notice
CopyStyle Title
LatexName IEEEspecialpapernotice
InTitle 1
Font
Size Large
EndFont
End
Style IEEE_after_title_text
CopyStyle IEEE_special_paper_notice
LatexName IEEEaftertitletext
Font
Size Normal
EndFont
End
Style Author
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
OptionalArgs 1
LatexName author
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
LabelType No_Label
Font
Size Large
EndFont
End
Style MarkBoth
LaTeXType Command
LaTeXName markboth
Category FrontMatter
InTitle 1
Align 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
Style Abstract
Margin First_Dynamic
LatexType Environment
LatexName abstract
Category FrontMatter
TopSep 0.7
BottomSep 0.7
ParSkip 0.4
LabelType Static
LabelString "Abstract---"
Font
Series Bold
Size small
EndFont
LabelFont
Shape Italic
Series Bold
Size Small
EndFont
End
Style Keywords
CopyStyle Abstract
LatexName IEEEkeywords
LabelString "Index Terms---"
End
Style Appendices
Margin Dynamic
LatexType Command
LatexName appendices
Category BackMatter
KeepEmpty 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Appendices"
LabelFont
Series Bold
Color Green
EndFont
End
Style Appendix
CopyStyle Appendices
LatexName appendix
LabelString "Appendix"
OptionalArgs 1
End
Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
Category BackMatter
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 1.2
LabelFont
Series Bold
Size Larger
EndFont
End
Style Biography
LaTeXType Environment
LaTeXName IEEEbiography
Category BackMatter
OptionalArgs 1
Align Block
TextFont
Size Small
EndFont
End
Style Biography_without_photo
CopyStyle Biography
LaTeXName IEEEbiographynophoto
OptionalArgs 0
End
Style Proof
Category Theorem
Margin First_Dynamic
LatexType Environment
LatexName IEEEproof
NextNoIndent 1
OptionalArgs 1
LabelSep xx
ParIndent MMM
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Proof."
EndLabelType Filled_Box
Font
Shape Up
Size Normal
EndFont
LabelFont
Shape Italic
EndFont
End