X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fiopart.layout;h=1a527d384ed467a60b864848eb851d2815f73c6f;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=a36b2dd97a188ad94f9da224373ad5f68899603a;hpb=2e69c66195544ee06e2b286f84fdfb6a2515a36d;p=lyx.git diff --git a/lib/layouts/iopart.layout b/lib/layouts/iopart.layout index a36b2dd97a..1a527d384e 100644 --- a/lib/layouts/iopart.layout +++ b/lib/layouts/iopart.layout @@ -4,16 +4,16 @@ # IOP article textclass definition file. # Author: Uwe Stöhr (uwestoehr@web.de) -Format 40 +Format 98 -Columns 1 -Sides 1 -SecNumDepth 3 -TocDepth 3 -DefaultStyle Standard +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard ClassOptions - FontSize 10|12 + FontSize 10|12 end Preamble @@ -24,23 +24,25 @@ EndPreamble # 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 + 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 + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label + DocBookTag para End @@ -49,251 +51,316 @@ Input stdfloats.inc Input stdlists.inc Input stdsections.inc Input stdstarsections.inc +Input stdlayouts.inc NoStyle Chapter NoCounter chapter NoStyle Chapter* Style Title - Margin Static - LatexType Command - LatexName title - Category FrontMatter - InTitle 1 + Margin Static + LatexType Command + LatexName title + Category FrontMatter + InTitle 1 Argument 1 - LabelString "Short Title" - Shortcut S - Tooltip "The Title as it appears in the running headers" + LabelString "Short Title|S" + Tooltip "Short title that will appear in header line" + InsertCotext 1 EndArgument - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - LabelType No_Label + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + LabelType No_Label Font - Size Largest + Size Largest EndFont - HTMLTitle true + HTMLTitle true + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End Style Review - CopyStyle Title - LatexName review + CopyStyle Title + LatexName review End Style Topical - CopyStyle Title - LatexName topical + CopyStyle Title + LatexName topical End Style Comment - CopyStyle Title - LatexName comment + CopyStyle Title + LatexName comment End Style Note - CopyStyle Title - LatexName note + CopyStyle Title + LatexName note End Style Paper - CopyStyle Title - LatexName paper + CopyStyle Title + LatexName paper End Style Prelim - CopyStyle Title - LatexName prelim + CopyStyle Title + LatexName prelim End Style Rapid - CopyStyle Title - LatexName rapid + CopyStyle Title + LatexName rapid End Style Letter - CopyStyle Title - ResetArgs 1 - LatexName letter + CopyStyle Title + ResetArgs 1 + LatexName letter End Style Author - Margin Static - LatexType Command - LatexName author - Category FrontMatter - InTitle 1 - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - LabelType No_Label + Margin Static + LatexType Command + LatexName author + Category FrontMatter + InTitle 1 + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Center + LabelType No_Label Font - Size Large + Size Large EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End Style Address - Margin Static - LatexType Command - LatexName address - Category FrontMatter - InTitle 1 - ParSkip 0.4 - Align Center - LabelType No_Label + Margin Static + LatexType Command + LatexName address + Category FrontMatter + InTitle 1 + ParSkip 0.4 + Align Center + LabelType No_Label Font - Shape Italic + Shape Italic EndFont + DocBookTag address + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookWrapperMergeWithPrevious true + DocBookInInfo always End Style Email - CopyStyle Address - LatexName ead - BottomSep 0.5 + CopyStyle Address + LatexName ead + BottomSep 0.5 Font - Shape Up + Shape Up EndFont + DocBookTag email + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookWrapperMergeWithPrevious true + DocBookInInfo always End Style Abstract - Margin Static - LatexType Environment - LatexName abstract - Category FrontMatter - InTitle 1 - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM - ParIndent MM - ItemSep 0 - TopSep 0.7 - BottomSep 0.7 - ParSep 0 - Align Block - AlignPossible Block, Left, Center, Right - LabelType Top_Environment - LabelString "Abstract" - LabelBottomSep 0.5 + Margin Static + LatexType Environment + LatexName abstract + Category FrontMatter + InTitle 1 + NextNoIndent 1 + LeftMargin MMM + RightMargin MMM + ParIndent MM + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0 + Align Block + AlignPossible Block, Left, Center, Right + LabelType Above + LabelString "Abstract" + LabelBottomSep 0.5 Font - Size Small + Size Small EndFont LabelFont - Series Bold - Size Large + Series Bold + Size Large EndFont + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para End Style Keywords - Margin Dynamic - LatexType Command - LatexName "noindent{\it Keywords\/}: " - Category FrontMatter - InTitle 1 - ParSkip 0.4 - BottomSep 0.5 - Align Left - LabelSep xx - LabelType Static - LabelString "Keywords:" + Margin Dynamic + LatexType Command + LatexName "noindent{\it Keywords\/}: " + Category FrontMatter + InTitle 1 + ParSkip 0.4 + BottomSep 0.5 + Align Left + LabelSep xx + LabelType Static + LabelString "Keywords:" LabelFont - Color Green - Series Bold + Color textlabel2 + Series Bold EndFont + DocBookTag keyword + DocBookTagType paragraph + DocBookWrapperTag keywordset + DocBookInInfo always End Style PACS - CopyStyle Keywords - LatexName pacs - LabelString "Physics and Astronomy Classification System number:" + CopyStyle Keywords + LatexName pacs + LabelString "Physics and Astronomy Classification System number:" + DocBookTag subjectset + DocBookAttr role='pacs' + DocBookTagType block + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" + DocBookInInfo always End Style MSC - CopyStyle Keywords - LatexName ams - LabelString "Mathematics Subject Classification number:" + CopyStyle Keywords + LatexName ams + LabelString "Mathematics Subject Classification number:" + DocBookTag subjectset + DocBookAttr role='msc' + DocBookTagType block + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" + DocBookInInfo always End Style submitto - CopyStyle Keywords - LatexName submitto - LabelString "submit to paper:" + CopyStyle Keywords + LatexName submitto + LabelString "submit to paper:" End Style Acknowledgments - Margin Dynamic - LatexType Command - LatexName ack{} - Category BackMatter - NeedProtect 1 - NextNoIndent 1 - KeepEmpty 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.4 - Align Block - LabelType Static - LabelString "Acknowledgments" + Margin Dynamic + LatexType Command + LatexName ack{} + Category BackMatter + NeedProtect 1 + NextNoIndent 1 + KeepEmpty 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.4 + Align Block + LabelType Static + LabelString "Acknowledgments" Font - Series Bold - Size Normal + Series Bold + Size Normal EndFont + # TODO: For IOP, this is rather a title than a paragraph style. But it's not in the TOC, so not much can be done. + DocBookTag para + DocBookAttr role='acknowledgments' End Style "Bibliography (plain)" - 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 + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + Category BackMatter + NextNoIndent 1 + ToggleIndent Never + 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 + Series Bold + Size Larger EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End Style "Bibliography heading" - CopyStyle Section - LatexName section*{References} - Category BackMatter - KeepEmpty 1 - LabelType Static - LabelString "References" + CopyStyle Section + LatexName section*{References} + Category BackMatter + KeepEmpty 1 + LabelType Static + LabelString "References" End -