X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Facmsiggraph.layout;h=da5d4ce3108e2b8c6705500d19ced9789ced0a85;hb=e2e74ffb0a72477420bfc2a8be0fcfbafe52e8ae;hp=7e833111064ea750e2bd68a8adc3560328de002a;hpb=c48c33cf3a291432568f13947ec4025bac2e39ac;p=lyx.git diff --git a/lib/layouts/acmsiggraph.layout b/lib/layouts/acmsiggraph.layout index 7e83311106..da5d4ce310 100644 --- a/lib/layouts/acmsiggraph.layout +++ b/lib/layouts/acmsiggraph.layout @@ -1,5 +1,6 @@ #% Do not delete he line below; configure depends on this -# \DeclareLaTeXClass[acmsiggraph]{article (ACM SIGGRAPH)} +# \DeclareLaTeXClass[acmsiggraph,comment.sty,lineno.sty]{ACM SIGGRAPH (older than 0.91, obsolete)} +# \DeclareCategory{Obsolete} # ACM SIGGRAPH acmsiggraph textclass definition file. # Author : Uwe Stöhr # @@ -10,13 +11,13 @@ # ACM style files can be obtained at # http://www.acm.org/sigs/pubs/proceed/template.html -Format 19 +Format 104 -Columns 1 -Sides 1 +Columns 1 +Sides 1 SecNumDepth 3 TocDepth 3 -DefaultStyle Standard +DefaultStyle Standard ClassOptions FontSize 9|10|11|12 @@ -32,14 +33,15 @@ EndFont Style Standard - Margin Static - LatexType Paragraph - LatexName dummy + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label End @@ -51,55 +53,143 @@ Input stdstarsections.inc # don't use the following styles NoStyle Part +NoCounter part NoStyle Part* NoStyle Chapter +NoCounter chapter NoStyle Chapter* NoStyle Subparagraph +NoCounter subparagraph NoStyle Subparagraph* -Style Teaser +Style "TOG online ID" Margin Dynamic LatexType Command - LatexName teaser + LatexName TOGonlineid Category FrontMatter - InTitle 1 + InPreamble 1 ParSkip 0.4 BottomSep 0.5 Align Left LabelSep xx LabelType Static - LabelString "Teaser image:" + LabelString "Online ID:" LabelFont - Color Green + Color textlabel2 Series Bold EndFont End +Style "TOG volume" + CopyStyle "TOG online ID" + LatexName TOGvolume + LabelString "Volume number:" +End + + +Style "TOG number" + CopyStyle "TOG online ID" + LatexName TOGnumber + LabelString "Article number:" +End + + +Style "TOG article DOI" + CopyStyle "TOG online ID" + LatexName TOGarticleDOI + LabelString "Article DOI:" +End + + +Style "TOG project URL" + CopyStyle "TOG online ID" + LatexName TOGprojectURL + KeepEmpty 1 + LabelString "Project URL:" +End + + +Style "TOG video URL" + CopyStyle "TOG project URL" + LatexName TOGvideoURL + LabelString "Video URL:" +End + + +Style "TOG data URL" + CopyStyle "TOG project URL" + LatexName TOGdataURL + LabelString "Data URL:" +End + + +Style "TOG code URL" + CopyStyle "TOG project URL" + LatexName TOGcodeURL + LabelString "Code URL:" +End + + Input stdtitle.inc Input stdstruct.inc +NoStyle Date -InsetLayout CRcat - LyxType custom - LatexType command - LatexName CRcat - Decoration classic - LabelString "CR category" +# modify the Title definition from stdtitle.inc +Style Title + InTitle 0 + InPreamble 1 Font - Color foreground - Size Small - Family Roman - Shape Up - Series Medium - Misc No_Emph - Misc No_Noun - Misc No_Bar + Family Sans EndFont + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe +End + + +# modify the Author definition from stdtitle.inc +Style Author + InTitle 0 + InPreamble 1 +End + + +Style "PDF author" + CopyStyle "TOG project URL" + LatexName pdfauthor + LabelString "PDF author:" +End + +Style Keywords + CopyStyle "TOG project URL" + LatexName keywords + LabelType Static + LabelString "Keywords:" LabelFont - Color green - Size Small + Series Bold + Size Normal + EndFont +End + + +Style Teaser + Margin Dynamic + LatexType Command + LatexName teaser + Category FrontMatter + ParSkip 0.4 + BottomSep 0.5 + Align Left + LabelSep xx + LabelType Static + LabelString "Teaser image:" + LabelFont + Series Bold + Size Normal + Color textlabel2 EndFont End @@ -119,7 +209,7 @@ Style Abstract ParSep 0 Align Block AlignPossible Block - LabelType Centered_Top_Environment + LabelType Centered LabelString "Abstract" LabelBottomSep 0.5 Font @@ -135,10 +225,12 @@ End Style "CR categories" CopyStyle Abstract LatexName CRcatlist - Category FrontMatter - LeftMargin M - LabelType Top_Environment - LabelString "Computing Review Categories" + Margin Dynamic + ParbreakIsNewline 1 + LeftMargin "" + LabelSep xx + LabelType Static + LabelString "CR Categories:" LabelFont Series Bold Size Normal @@ -146,13 +238,77 @@ Style "CR categories" End +InsetLayout "Flex:CRcat" + LyxType custom + LatexType command + LatexName CRcat + Decoration classic + LabelString "CR category" + Font + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar + EndFont + LabelFont + Color textlabel2 + Size Small + EndFont + Argument 1 + Mandatory 1 + LabelString "CR-number" + Tooltip "Number of the category" + PassThru 1 + EndArgument + Argument 2 + Mandatory 1 + LabelString "Subcategory" + Tooltip "Subcategory" + PassThru 1 + EndArgument + Argument 3 + Mandatory 1 + LabelString "Third-level" + Tooltip "Third-level of the category" + PassThru 1 + EndArgument +End + + +InsetLayout "Flex:ShortCite" + CopyStyle "Flex:CRcat" + ResetArgs 1 + LatexName shortcite + Decoration Conglomerate + LabelString "Short cite" +End + + +InsetLayout "Flex:Thanks" + CopyStyle "Flex:ShortCite" + LatexName thanks + Decoration Classic + LabelString "E-mail" + LabelFont + Color textlabel1 + EndFont +End + + Style Acknowledgments CopyStyle Abstract LatexName acks Category BackMatter InTitle 0 LabelBottomsep 0 - LabelType Top_Environment + LabelType Above LabelString "Acknowledgments" + DocBookTag para + DocBookWrapperTag acknowledgements + DocBookSection true End