X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FIEEEtran.layout;h=464eb12570033b64e469f352dfa2fd7bb4ae7ded;hb=2f9bf6b92b67c8301fb8878961d258b0bde38a9e;hp=98217dea2a8cdcd3b39622ba386f7bfb50cdf548;hpb=3776958094ef04c00264bb5bbdc001c24e88c01b;p=lyx.git diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index 98217dea2a..464eb12570 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -1,6 +1,6 @@ #% Do not delete he line below; configure depends on this # \DeclareLaTeXClass{article (IEEEtran)} -# Based on Article textclass definition file. +# Based on Article textclass definition file. # # Author : Allan Rae # @@ -13,45 +13,27 @@ # IEEEtran.cls can be obtained from the www.ieee.org website -- look for # 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. -# -# Input general definitions - -Columns 1 -Sides 1 -MaxCounter Counter_Section -SecNumDepth 3 -TocDepth 3 -ClassOptions - FontSize 9|10|11|12 -End - -DefaultFont - Family Roman - Series Medium - Shape Up - Size Normal - Color None -EndFont - -# Standard style definition +Format 3 Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label End + + ## ## stdlists ## + Input stdlists.inc -# # First cut at theorem environment support. # What other theorem-like environments are needed? # How many of these should be discarded? @@ -60,235 +42,219 @@ Input stdlists.inc # IEEE Transactions. # OH! and all theorems are numbered. Is that a problem? # Tell me: rae@lyx.org -# + + # Theorem-numbered style *Template* declaration Style TheoremTemplate - Margin First_Dynamic - LatexType Environment - LabelSep M - ParIndent MM - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Static - - # label font definition - LabelFont - Shape Italic - EndFont -End - -# Proof style declaration + Margin First_Dynamic + LatexType Environment + LabelSep M + ParIndent MM + ParSep 0.4 + Align Block + AlignPossible Block, Left + LabelType Static + LabelFont + Shape Italic + EndFont +End + + Style Proof - CopyStyle TheoremTemplate - LatexName proof - LabelString "Proof:" - EndLabelType Filled_Box + CopyStyle TheoremTemplate + LatexName proof + LabelString "Proof:" + EndLabelType Filled_Box End -# Theorem-numbered style declaration + Style Theorem - CopyStyle TheoremTemplate - LatexName thm - LabelString "Theorem #:" + CopyStyle TheoremTemplate + LatexName thm + LabelString "Theorem #:" + Preamble + \newtheorem{thm}{Theorem} + EndPreamble +End - Preamble - \newtheorem{thm}{Theorem} - EndPreamble -End -# Lemma-numbered style declaration Style Lemma - CopyStyle TheoremTemplate - LatexName lemma - LabelString "Lemma #:" + CopyStyle TheoremTemplate + LatexName lemma + LabelString "Lemma #:" + Preamble + \newtheorem{lemma}{Lemma} + EndPreamble +End - Preamble - \newtheorem{lemma}{Lemma} - EndPreamble -End -# Corollary-numbered style declaration Style Corollary - CopyStyle TheoremTemplate - LatexName cor - LabelString "Corollary #:" - - Preamble - \newtheorem{cor}{Corollary} - EndPreamble + CopyStyle TheoremTemplate + LatexName cor + LabelString "Corollary #:" + Preamble + \newtheorem{cor}{Corollary} + EndPreamble End -# Proposition-numbered style declaration + Style Proposition - CopyStyle TheoremTemplate - LatexName prop - LabelString "Proposition #:" + CopyStyle TheoremTemplate + LatexName prop + LabelString "Proposition #:" + Preamble + \newtheorem{prop}{Proposition} + EndPreamble +End - Preamble - \newtheorem{prop}{Proposition} - EndPreamble -End -# Conjecture-numbered style declaration Style Conjecture - CopyStyle TheoremTemplate - LatexName conject - LabelString "Conjecture #:" + CopyStyle TheoremTemplate + LatexName conject + LabelString "Conjecture #:" + Preamble + \newtheorem{conject}{Conjecture} + EndPreamble +End - Preamble - \newtheorem{conject}{Conjecture} - EndPreamble -End -# Criterion-numbered style declaration Style Criterion - CopyStyle TheoremTemplate - LatexName criter - LabelString "Criterion #:" + CopyStyle TheoremTemplate + LatexName criter + LabelString "Criterion #:" + Preamble + \newtheorem{criter}{Criterion} + EndPreamble +End - Preamble - \newtheorem{criter}{Criterion} - EndPreamble -End -# Fact-numbered style declaration Style Fact - CopyStyle TheoremTemplate - LatexName fact - LabelString "Fact #:" + CopyStyle TheoremTemplate + LatexName fact + LabelString "Fact #:" + Preamble + \newtheorem{fact}{Fact} + EndPreamble +End - Preamble - \newtheorem{fact}{Fact} - EndPreamble -End -# Axiom-numbered style declaration Style Axiom - CopyStyle TheoremTemplate - LatexName axi - LabelString "Axiom #:" + CopyStyle TheoremTemplate + LatexName axi + LabelString "Axiom #:" + Preamble + \newtheorem{axi}{Axiom} + EndPreamble +End - Preamble - \newtheorem{axi}{Axiom} - EndPreamble -End -# Definition-numbered style declaration Style Definition - CopyStyle TheoremTemplate - LatexName definitn - LabelString "Definition #:" - - Preamble - \newtheorem{definitn}{Definition} - EndPreamble + CopyStyle TheoremTemplate + LatexName definitn + LabelString "Definition #:" + Preamble + \newtheorem{definitn}{Definition} + EndPreamble End -# Example-numbered style declaration -Style Example - CopyStyle TheoremTemplate - LatexName example - LabelString "Example #:" - Preamble - \newtheorem{example}{Example} - EndPreamble +Style Example + CopyStyle TheoremTemplate + LatexName example + LabelString "Example #:" + Preamble + \newtheorem{example}{Example} + EndPreamble End -# Condition-numbered style declaration -Style Condition - CopyStyle TheoremTemplate - LatexName condition - LabelString "Condition #:" - Preamble - \newtheorem{condition}{Condition} - EndPreamble +Style Condition + CopyStyle TheoremTemplate + LatexName condition + LabelString "Condition #:" + Preamble + \newtheorem{condition}{Condition} + EndPreamble End -# Problem-numbered style declaration -Style Problem - CopyStyle TheoremTemplate - LatexName problem - LabelString "Problem #:" - Preamble - \newtheorem{problem}{Problem} - EndPreamble +Style Problem + CopyStyle TheoremTemplate + LatexName problem + LabelString "Problem #:" + Preamble + \newtheorem{problem}{Problem} + EndPreamble End -# Exercise-numbered style declaration -Style Exercise - CopyStyle TheoremTemplate - LatexName exacise - LabelString "Exercise #:" - Preamble - \newtheorem{exacise}{Exercise} - EndPreamble +Style Exercise + CopyStyle TheoremTemplate + LatexName exacise + LabelString "Exercise #:" + Preamble + \newtheorem{exacise}{Exercise} + EndPreamble End -# Remark-numbered style declaration -Style Remark - CopyStyle TheoremTemplate - LatexName remrk - LabelString "Remark #:" - Preamble - \newtheorem{remrk}{Remark} - EndPreamble +Style Remark + CopyStyle TheoremTemplate + LatexName remrk + LabelString "Remark #:" + Preamble + \newtheorem{remrk}{Remark} + EndPreamble End -# Claim-numbered style declaration -Style Claim - CopyStyle TheoremTemplate - LatexName claim - LabelString "Claim #:" - Preamble - \newtheorem{claim}{Claim} - EndPreamble +Style Claim + CopyStyle TheoremTemplate + LatexName claim + LabelString "Claim #:" + Preamble + \newtheorem{claim}{Claim} + EndPreamble End -# Note-numbered style declaration -Style Note - CopyStyle TheoremTemplate - LatexName note - LabelString "Note #:" - Preamble - \newtheorem{note}{Note} - EndPreamble +Style Note + CopyStyle TheoremTemplate + LatexName note + LabelString "Note #:" + Preamble + \newtheorem{note}{Note} + EndPreamble End -# Notation-numbered style declaration -Style Notation - CopyStyle TheoremTemplate - LatexName notation - LabelString "Notation #:" - Preamble - \newtheorem{notation}{Notation} - EndPreamble +Style Notation + CopyStyle TheoremTemplate + LatexName notation + LabelString "Notation #:" + Preamble + \newtheorem{notation}{Notation} + EndPreamble End -# Case-numbered style declaration -Style Case - CopyStyle TheoremTemplate - LatexName case - LabelString "Case #:" - Preamble - \newtheorem{case}{Case} - EndPreamble +Style Case + CopyStyle TheoremTemplate + LatexName case + LabelString "Case #:" + Preamble + \newtheorem{case}{Case} + EndPreamble End NoStyle TheoremTemplate + + ## ## stdsections and stdstarsections ## + Input stdsections.inc Input stdstarsections.inc @@ -299,56 +265,60 @@ NoStyle Chapter* NoStyle Subparagraph NoStyle Subparagraph* -Style Section - Align Center - AlignPossible Block, Center, Left - Font - Shape Smallcaps - Size Normal - EndFont +Style Section + Align Center + AlignPossible Block, Center, Left + Font + Shape Smallcaps + Size Normal + EndFont End Style Subsection - Font - Shape Italic - Size Normal - EndFont + Font + Shape Italic + Size Normal + EndFont End + Style Subsubsection - Font - Shape Up - Size Normal - EndFont + Font + Shape Up + Size Normal + EndFont End -Style Section* - Align Center - AlignPossible Block, Center, Left - Font - Shape Smallcaps - Size Normal - EndFont +Style Section* + Align Center + AlignPossible Block, Center, Left + Font + Shape Smallcaps + Size Normal + EndFont End Style Subsection* - Font - Shape Italic - Size Normal - EndFont + Font + Shape Italic + Size Normal + EndFont End + Style Subsubsection* - Font - Shape Up - Size Normal - EndFont + Font + Shape Up + Size Normal + EndFont End + + ## ## stdstruct ## @@ -356,163 +326,166 @@ Input stdtitle.inc Input stdstruct.inc Style Abstract - Margin First_Dynamic - LeftMargin "" - RightMargin "" -# ParIndent MM - LabelSep M - LabelType Static - LabelString "Abstract---" + Margin First_Dynamic + LeftMargin "" + RightMargin "" +# ParIndent MM + LabelType Static + LabelString "Abstract---" # LabelBottomSep 0.0 + Font + Series Bold + Size Small + EndFont + LabelFont + Shape Italic + Series Medium + Size Small + EndFont +End - # standard font definition - Font - Series Bold - Size Small - EndFont - - # label font definition - LabelFont - Shape Italic - Series Medium - Size Small - EndFont -End Style Keywords - Margin Dynamic - LatexType Environment - InTitle 0 - LatexName keywords - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Keywords---" - # label font definition - TextFont - Shape Up - Size Small - EndFont - LabelFont - Shape Italic - Size Small - EndFont -End - -# Bibliography style definition + Margin Dynamic + LatexType Environment + InTitle 0 + LatexName keywords + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Left + AlignPossible Block, Left, Right, Center + LabelType Static + LabelString "Index Terms---" + TextFont + Shape Up + Size Small + EndFont + LabelFont + Shape Italic + Size Small + EndFont +End + + Style Bibliography - # label font definition - LabelFont - Shape Smallcaps - Series Medium - Size Normal - EndFont + LabelFont + Shape Smallcaps + Series Medium + Size Normal + EndFont End + Style Appendix - Margin Static - LatexType Command - InTitle 0 - LatexName appendix - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Block - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Appendix" - # label font definition - TextFont - Shape Up - Size Normal - EndFont - LabelFont - Shape Smallcaps - Size Normal - EndFont + Margin Static + LatexType Command + InTitle 0 + LatexName appendix + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Block + AlignPossible Block, Left, Right, Center + LabelType Static + LabelString "Appendix" + TextFont + Shape Up + Size Normal + EndFont + LabelFont + Shape Smallcaps + Size Normal + EndFont End + Style Appendices - Margin Static - LatexType Command - InTitle 0 - LatexName appendices - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Appendices" - # label font definition - TextFont - Shape Up - Size Small - EndFont - LabelFont - Shape Smallcaps - Size Normal - EndFont + CopyStyle Appendix + LatexName appendices + LabelString "Appendices" End + Style Biography - LaTeXType Environment - LaTeXName biography - Align Block - AlignPossible Block - TextFont - Size Small - EndFont + LaTeXType Environment + LaTeXName biography + Align Block + AlignPossible Block + TextFont + Size Small + EndFont End + +Style BiographyNoPhoto + LaTeXType Environment + LaTeXName biographynophoto + Align Block + AlignPossible Block + TextFont + Size Small + EndFont +End + + ## ## stdlayouts ## + Input stdlayouts.inc -Style Caption - LabelFont - Series Medium - EndFont -End + + Style Footernote - Margin Static - LatexType Command - InTitle 0 - LatexName footernote - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Footernote" - # label font definition - TextFont - Shape Up - Size Small - EndFont - LabelFont - Shape Italic - Size Small - EndFont + Margin Static + LatexType Command + InTitle 0 + LatexName footernote + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Center + AlignPossible Block, Left, Right, Center + LabelType Static + LabelString "Footernote" + TextFont + Shape Up + Size Small + EndFont + LabelFont + Shape Italic + Size Small + EndFont End + Style MarkBoth - LaTeXType Command - LaTeXName markboth - Align Center - AlignPossible Center + LaTeXType Command + LaTeXName markboth + Align Center + AlignPossible Center End + ## ## Others ## + Input stdfloats.inc Input stdcounters.inc Input lyxmacros.inc -Input obsolete.inc + + +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 + + +ClassOptions + FontSize 9|10|11|12 +End + +