X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fltugboat.layout;h=e3aeaff10349c8f9f30d2feb0c9a90a3340ed643;hb=b4dcad83b2f6e3fce28b4e04cc1abc8d654f9bfe;hp=0642a48502df179d3f858016640b03b7a4199719;hpb=78f2a7a19ed70fc077f380cf136f9aaaa40ead48;p=lyx.git diff --git a/lib/layouts/ltugboat.layout b/lib/layouts/ltugboat.layout index 0642a48502..e3aeaff103 100644 --- a/lib/layouts/ltugboat.layout +++ b/lib/layouts/ltugboat.layout @@ -1,213 +1,200 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[ltugboat]{article (tugboat)} +# \DeclareLaTeXClass{TUGboat} +# \DeclareCategory{Articles} # The tugboat journal (TUGboat) textclass definition file. # Journal of the TeX User Group http://www.tug.org # Author : Herbert Voss 2001/08/13 -# -# General textclass parameters -Columns 2 -Sides 2 -#SecNumDepth #no counting -#TocDepth -1 -MaxCounter Counter_Section -# + + +Format 60 +Columns 2 +Sides 2 +#SecNumDepth # no counting +#TocDepth -1 + + ClassOptions - FontSize default #only 11pt - PageStyle "" # controlled by class + FontSize default # only 11pt + PageStyle "" # controlled by class End -# -DefaultFont # only for screen - Family Roman - Series Medium - Shape Up - Size Normal - Color None + + +DefaultFont # only for screen + Family Roman + Series Medium + Shape Up + Size Normal + Color None EndFont -# -# -# Standard style definition -# + + Style Standard - Margin Static - LatexType Paragraph - LatexName dummy # no special latex env - ParIndent MM - ParSkip 0.5 # default - ParSep 0.5 # default - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy # no special latex env + ParIndent MM + ParSkip 0.5 # default + ParSep 0.5 # default + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label End -# -# + + Input stdlists.inc -# Section style definition Style Section - Margin Dynamic - LatexType Command - LatexName section - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Block - AlignPossible Block, Left - LabelType Counter_Section - - # standard font definition - Font - Series Bold - Size Normal - EndFont - + Category Sectioning + Margin Dynamic + LatexType Command + LatexName section + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Block + Font + Series Bold + Size Normal + EndFont + TocLevel 1 End -# Subsection style definition + Style Subsection - Margin Dynamic - LatexType Command - LatexName subsection - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.9 - BottomSep 0.5 - ParSep 0.5 - Align Block - AlignPossible Block, Left - LabelType Counter_Subsection - # standard font definition - Font - Series Bold - Size Normal - EndFont + Category Sectioning + Margin Dynamic + LatexType Command + LatexName subsection + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.9 + BottomSep 0.5 + ParSep 0.5 + Align Block + Font + Series Bold + Size Normal + EndFont + TocLevel 2 End -# Subsubsection style definition Style Subsubsection - Margin Dynamic - LatexType Command - LatexName subsubsection - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.4 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Counter_SubSubSection - - # standard font definition - Font - Series Bold - Size Normal - EndFont - + Margin Dynamic + LatexType Command + LatexName subsubsection + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.4 + ParSep 0.4 + Align Block + Font + Series Bold + Size Normal + EndFont + TocLevel 3 End -# Paragraph style definition + Style Paragraph - Margin Dynamic - LatexType Command - LatexName paragraph - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.4 - BottomSep 0 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Counter_Paragraph - - # standard font definition - Font - Series Bold - Size Normal - EndFont + Margin Dynamic + LatexType Command + LatexName paragraph + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.4 + BottomSep 0 + ParSep 0.4 + Align Block + Font + Series Bold + Size Normal + EndFont + TocLevel 4 End #Input stdstarsections.inc -# + +Input numarticle.inc Input stdstruct.inc Input stdlayouts.inc -# -# Create and Overwrite some styles -# -# Title style definition +Input stdfloats.inc +Input stdcounters.inc +Input stdinsets.inc +Input stdrefprefix.inc + + Style Title - Margin Static - LatexType Command - InTitle 1 - LatexName title - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Left - AlignPossible Left - LabelType No_Label - # standard font definition - TextFont - Series Bold - Size Normal - EndFont + Category FrontMatter + Margin Static + LatexType Command + InTitle 1 + LatexName title + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Left + LabelType No_Label + TextFont + Series Bold + Size Normal + EndFont End -# Author style definition + Style Author - Margin Static - LatexType Command - InTitle 1 - LatexName author - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - LeftMargin MM - Align Left - AlignPossible Left - LabelType No_Label + Category FrontMatter + Margin Static + LatexType Command + InTitle 1 + LatexName author + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + LeftMargin MM + Align Left + LabelType No_Label +End + + +Style Abstract + Margin Static + LatexType Environment + LatexName abstract + NextNoIndent 1 + LeftMargin "" + RightMargin "" + ParIndent "" + ItemSep 0 + TopSep 1.5 + BottomSep 1.5 + ParSep 0 + Align Block + LabelType Above + LabelString "Abstract" + LabelBottomSep 0.5 + TextFont + Size Normal + EndFont + LabelFont + Size Normal + Series Bold + EndFont End -# -# -# Abstract style definition -Style Abstract - Margin Static - LatexType Environment - LatexName abstract - NextNoIndent 1 - LeftMargin "" - RightMargin "" - ParIndent "" - ItemSep 0 - TopSep 1.5 - BottomSep 1.5 - ParSep 0 - Align Block - AlignPossible Block - LabelType Top_Environment - LabelString Abstract - LabelBottomSep 0.5 - # standard font definition - TextFont - Size Normal - EndFont - # label font definition - LabelFont - Size Normal - Series Bold - EndFont -End