From: Uwe Stöhr Date: Sat, 9 Apr 2016 16:18:04 +0000 (+0200) Subject: ACM siggraph: update layout as discussed X-Git-Tag: 2.2.0rc1~12 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=647b106b;p=lyx.git ACM siggraph: update layout as discussed --- diff --git a/lib/Makefile.am b/lib/Makefile.am index cdad5cd24f..e8e3c4abd7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1972,6 +1972,7 @@ dist_layouts_DATA =\ layouts/acm-sigs-alt.layout \ layouts/acm-sigs.inc \ layouts/acmsiggraph.layout \ + layouts/acmsiggraph-0-92.layout\ layouts/AEA.layout \ layouts/agutex.layout \ layouts/agu-dtd.layout \ diff --git a/lib/layouts/acmsiggraph-0-92.layout b/lib/layouts/acmsiggraph-0-92.layout new file mode 100644 index 0000000000..5c0ff188e6 --- /dev/null +++ b/lib/layouts/acmsiggraph-0-92.layout @@ -0,0 +1,340 @@ +#% Do not delete he line below; configure depends on this +# \DeclareLaTeXClass[acmsiggraph,comment.sty,lineno.sty]{ACM SIGGGRAPH 0.92} +# \DeclareCategory{Articles} +# ACM SIGGRAPH textclass definition file. +# Author : Uwe Stöhr +# +# The required LaTeX class file "acmsiggraph.cls", a LaTex template +# BibTeX style and template, and the documentation is available at +# http://www.siggraph.org/learn/instructions-authors +# +# Versions: +# siggraph 0.9: initial layout +# siggraph 0.92: Removed styles "TOG project URL", "TOG video URL", +# "TOG data URL", and "TOG code URL". The corresponding +# LaTeX commands are no longer supported. + +Format 59 + +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard + +ClassOptions + FontSize 9|10|11|12 +End + +DefaultFont + Family Roman + Series Medium + Shape Up + Size Normal + Color None +EndFont + + +Style Standard + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label +End + + +Input stdcounters.inc +Input stdfloats.inc +Input stdlists.inc +Input stdsections.inc +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 "TOG online ID" + Margin Dynamic + LatexType Command + LatexName TOGonlineid + Category FrontMatter + InPreamble 1 + ParSkip 0.4 + BottomSep 0.5 + Align Left + LabelSep xx + LabelType Static + LabelString "Online ID:" + LabelFont + Color Green + 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 "Set_copyright" + CopyStyle "TOG online ID" + LatexName setcopyright + LabelString "Copyright type:" +End + + +Style "Copyright_year" + CopyStyle "TOG online ID" + LatexName copyrightyear + LabelString "Year of copyright:" +End + + +Style "Conference_info" + CopyStyle "TOG online ID" + LatexName conferenceinfo + LabelString "Conference info:" + Argument 1 + Mandatory 1 + LabelString "Name" + Tooltip "Conference name" + EndArgument +End + + +Style "ISBN" + CopyStyle "TOG online ID" + LatexName isbn + LabelString "ISBN:" +End + + +Style "DOI" + CopyStyle "TOG online ID" + LatexName doi + LabelString "Article DOI:" +End + + +Style "TOG article DOI" + CopyStyle "TOG online ID" + LatexName TOGarticleDOI + LabelString "Article DOI:" + ObsoletedBy DOI +End + + +Input stdtitle.inc +Input stdstruct.inc +NoStyle Date + + +# modify the Title definition from stdtitle.inc +Style Title + InTitle 0 + InPreamble 1 + Font + Family Sans + EndFont +End + + +# modify the Author definition from stdtitle.inc +Style Author + InTitle 0 + InPreamble 1 +End + + +Style "PDF author" + CopyStyle "TOG online ID" + LatexName pdfauthor + LabelString "PDF author:" +End + +Style Keywords + CopyStyle "TOG online ID" + LatexName keywords + LabelType Static + LabelString "Keywords:" +End + + +Style "Keyword_list" + CopyStyle "TOG online ID" + LatexName keywordlist + InPreamble 0 + KeepEmpty 1 + LabelString "Keyword list" +End + + +Style "Concept_list" + CopyStyle "Keyword_list" + LatexName conceptlist + LabelString "Concept list" +End + + +Style "Print_copyright" + CopyStyle "Keyword_list" + LatexName printcopyright + LabelString "Print copyright" +End + + +Style Teaser + Margin Dynamic + LatexType Command + LatexName teaser + Category FrontMatter + InTitle 1 + ParSkip 0.4 + BottomSep 0.5 + Align Left + LabelSep xx + LabelType Static + LabelString "Teaser image:" + LabelFont + Series Bold + Size Normal + Color Green + EndFont +End + + +Style Abstract + Margin Static + LatexType Environment + LatexName abstract + Category FrontMatter + NextNoIndent 1 + LeftMargin MMM + RightMargin MMM + ParIndent MM + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0 + Align Block + AlignPossible Block + LabelType Centered + LabelString "Abstract" + LabelBottomSep 0.5 + Font + Size Small + EndFont + LabelFont + Series Bold + Size Large + EndFont +End + + +Style "CR categories" + CopyStyle Abstract + LatexName CRcatlist + Margin Dynamic + ParbreakIsNewline 1 + LeftMargin "" + LabelSep xx + LabelType Static + LabelString "CR Categories:" + LabelFont + Series Bold + Size Normal + EndFont +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 green + Size Small + EndFont + Argument 1 + Mandatory 1 + LabelString "CR-number" + Tooltip "Number of the category" + EndArgument + Argument 2 + Mandatory 1 + LabelString "Subcategory" + Tooltip "Subcategory" + EndArgument + Argument 3 + Mandatory 1 + LabelString "Third-level" + Tooltip "Third-level of the category" + 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 blue + EndFont +End + + +Style Acknowledgments + CopyStyle Abstract + LatexName acks + Category BackMatter + InTitle 0 + LabelBottomsep 0 + LabelType Above + LabelString "Acknowledgments" +End + diff --git a/lib/layouts/acmsiggraph.layout b/lib/layouts/acmsiggraph.layout index bc4a5722e0..aaf5484e14 100644 --- a/lib/layouts/acmsiggraph.layout +++ b/lib/layouts/acmsiggraph.layout @@ -1,5 +1,5 @@ #% Do not delete he line below; configure depends on this -# \DeclareLaTeXClass[acmsiggraph,comment.sty,lineno.sty]{ACM SIGGRAPH} +# \DeclareLaTeXClass[acmsiggraph,comment.sty,lineno.sty]{ACM SIGGRAPH (older than 0.91, obsolete)} # \DeclareCategory{Articles} # ACM SIGGRAPH acmsiggraph textclass definition file. # Author : Uwe Stöhr diff --git a/lib/templates/ACM-siggraph.lyx b/lib/templates/ACM-siggraph.lyx index b0f13f0b04..c25e4063ed 100644 --- a/lib/templates/ACM-siggraph.lyx +++ b/lib/templates/ACM-siggraph.lyx @@ -4,7 +4,7 @@ \begin_header \save_transient_properties true \origin /systemlyxdir/templates/ -\textclass acmsiggraph +\textclass acmsiggraph-0-92 \options annual \use_default_options false \maintain_unincluded_children false @@ -174,26 +174,6 @@ review \end_inset -\end_layout - -\begin_layout TOG online ID -45678 -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -Should be filled with the online ID value you received when you submitted - your technical paper. - It will be printed out if you prepare a -\family sans -review -\family default - version of your paper. -\end_layout - -\end_inset - - \end_layout \begin_layout TOG volume @@ -222,13 +202,6 @@ n you receive. \begin_layout TOG number 0 -\end_layout - -\begin_layout TOG article DOI -1111111.2222222 -\end_layout - -\begin_layout TOG project URL \begin_inset Note Note status collapsed @@ -236,31 +209,9 @@ status collapsed Optional. \end_layout -\begin_layout Plain Layout -By default, your technical paper will contain hyperlinked icons which point - to your paper's article page in the ACM Digital Library, and to the paper - itself in the ACM Digital Library. - You may wish to add one or more links to your own resources. - If any of the following four definitions have URLs in them, an appropriate - hyperlinked icon will be added to the list. - See the note behinf the command -\end_layout - \end_inset -\end_layout - -\begin_layout TOG video URL - -\end_layout - -\begin_layout TOG data URL - -\end_layout - -\begin_layout TOG code URL - \end_layout \begin_layout Title @@ -302,7 +253,7 @@ status collapsed \backslash -and +and \end_layout \end_inset @@ -344,7 +295,7 @@ status collapsed \backslash -and +and \end_layout \end_inset @@ -384,12 +335,121 @@ the authors of the work, comma-delimited, are added to the PDF metadata \end_inset +\end_layout + +\begin_layout TOG online ID +45678 +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +Should be filled with the online ID value you received when you submitted + your technical paper. + It will be printed out if you prepare a +\family sans +review +\family default + version of your paper. +\end_layout + +\end_inset + + \end_layout \begin_layout Keywords radiosity, global illumination, constant time \end_layout +\begin_layout Set copyright +rightsretained +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +You can choose between the copyright types +\family sans +none +\family default +, +\family sans +acmcopyright +\family default +, +\family sans +acmlicensed +\family default +, +\family sans +rightsretained +\family default +, +\family sans +usgov +\family default +, +\family sans +usgovmixed +\family default +, +\family sans +cagov +\family default + and +\family sans +cagovmixed +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Copyright year +2016 +\end_layout + +\begin_layout Conference info +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +SIGGRAPH 2016 Posters +\end_layout + +\end_inset + +July 24-28, 2016, Anaheim, CA +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +conference date and location +\end_layout + +\end_inset + + +\end_layout + +\begin_layout ISBN +978-1-4503-ABCD-E/16/07 +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +includes the year and month after the article ISBN +\end_layout + +\end_inset + + +\end_layout + +\begin_layout DOI +1111111.2222222 +\end_layout + \begin_layout Teaser \begin_inset Box Boxed position "t" @@ -417,10 +477,32 @@ remove this box by an image \begin_inset Note Note -status open +status collapsed + +\begin_layout Plain Layout +Optional. + If not used, you must use this: +\begin_inset Newline newline +\end_inset + + +\begin_inset ERT +status collapsed \begin_layout Plain Layout -Optional + + +\backslash +maketitle +\end_layout + +\end_inset + + +\begin_inset Newline newline +\end_inset + +instead of the Teaser image style. \end_layout \end_inset @@ -453,33 +535,6 @@ Lookit! Lookit! \end_inset -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -maketitle -\end_layout - -\end_inset - - -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -Uses the author and title information defined above, and prepares the formatted - title. -\end_layout - -\end_inset - - \end_layout \begin_layout Abstract @@ -557,18 +612,21 @@ key "whole-set" status open \begin_layout Plain Layout -See +The content of the following \SpecialChar TeX + code must be generated by the tool at \begin_inset Flex URL status open \begin_layout Plain Layout -http://www.siggraph.org/sites/default/files/acmsiggraph.zip +http://dl.acm.org/ccs.cfm \end_layout \end_inset - for details about the ACM Computing Review categories. +. + Please copy and paste the code you created there instead of the example + code below. \end_layout \end_inset @@ -576,121 +634,63 @@ http://www.siggraph.org/sites/default/files/acmsiggraph.zip \end_layout -\begin_layout CR categories -\begin_inset Flex CRcat -status open - -\begin_layout Plain Layout -\begin_inset Argument 1 -status open +\begin_layout Standard +\begin_inset ERT +status collapsed \begin_layout Plain Layout -K.6.1 -\end_layout - -\end_inset - -\begin_inset Argument 2 -status open -\begin_layout Plain Layout -Management of Computing and Information Systems +\backslash +begin{CCSXML} \end_layout -\end_inset - - -\begin_inset Argument 3 -status open - \begin_layout Plain Layout -Project and People Management -\end_layout - -\end_inset -Life Cycle + 10010147.10010371.10010382 Computing methodologies~Image manipulation 500 10010147.10010371. +10010382.10010236 Computing methodologies~Computationa +l photography 300 + \end_layout -\end_inset - - -\begin_inset Note Note -status collapsed - \begin_layout Plain Layout -Consecutive categories must be in the same paragaph separated by a forced - linebreak. -\end_layout -\end_inset - - -\begin_inset Newline newline -\end_inset - - -\begin_inset Flex CRcat -status open - -\begin_layout Plain Layout -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -K.7.m -\end_layout - -\end_inset - -\begin_inset Argument 2 -status open - -\begin_layout Plain Layout -The Computing Profession +\backslash +end{CCSXML} \end_layout -\end_inset - - -\begin_inset Argument 3 -status open - \begin_layout Plain Layout -Miscellaneous -\end_layout - -\end_inset -Ethics \end_layout -\end_inset +\begin_layout Plain Layout +\backslash +ccsdesc[500]{Computing methodologies~Image manipulation} \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed - \begin_layout Plain Layout \backslash -keywordlist +ccsdesc[300]{Computing methodologies~Computational photography} \end_layout \end_inset +\end_layout + +\begin_layout Keyword list \begin_inset Note Note status collapsed \begin_layout Plain Layout -Prints out the keywords. +Prints the keywords, keep it empty! \end_layout \end_inset @@ -698,28 +698,12 @@ Prints out the keywords. \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -TOGlinkslist -\end_layout - -\end_inset - - +\begin_layout Concept list \begin_inset Note Note status collapsed \begin_layout Plain Layout -Adds hyperlinked icons to your document. - Has only an effect with the document class option -\family sans -annual. +Prints the CCS concepts list, keep it empty! \end_layout \end_inset @@ -727,27 +711,12 @@ annual. \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -% -\backslash -copyrightspace -\end_layout - -\end_inset - - +\begin_layout Print copyright \begin_inset Note Note status collapsed \begin_layout Plain Layout -Only necessary if you use a copyright note. - It ensures that the copyright space is left at the bottom of the first - column on the first page of your paper. +Prints the copyright info, keep it empty! \end_layout \end_inset