Hello Richard,
I finished my layout revisions and their adaption to the new InsetArgument
feature.
This also lead to completely revised layouts for europeCV, ACM SIGplan and SIGgraph for LyX 2.0.6.
Attached is the patch.
The updated layouts don't break any compilation and the changes are independent of the InsetArgument
work I committed to trunk.
OK to go in?
thanks and regards
Uwe
lib/examples/europeCV.lyx | 277 ++++++++++++++++++----
lib/layouts/acmsiggraph.layout | 180 +++++++++++---
lib/layouts/europecv.layout | 287 ++++++++++++++++-------
lib/layouts/sigplanconf.layout | 169 +++++++-------
lib/templates/ACM-siggraph.lyx | 517 +++++++++++++++++++++++++----------------
lib/templates/ACM-sigplan.lyx | 32 ++-
6 files changed, 1017 insertions(+), 445 deletions(-)
diff --git a/lib/examples/europeCV.lyx b/lib/examples/europeCV.lyx
index 1ab0284..3bcfcfb 100644
--- a/lib/examples/europeCV.lyx
+++ b/lib/examples/europeCV.lyx
@@ -4,35 +4,9 @@
\begin_header
\textclass europecv
\begin_preamble
-\usepackage{graphicx}
-
-% Define personal data
-\ecvname{Testmann, Paul}
-\ecvfootername{Paul Testmann}
-\ecvnationality{Swiss}
-\ecvdateofbirth{June 23, 1962}
-\ecvaddress{Teststreet\newline 03333 Nicecity\newline Switzerland}
-\ecvemail{test...@testman.xx}
-% the optional phnoe number is for the mobile
-\ecvtelephone[+43(0)777 7777]{+43(0)999 9999}
-
-% for the gender and fax number
-%\ecvgender{male}
-%\ecvfax{fax}
-
-% define text or image alignment and position:
-% in this case the image is shifted 6cm to the right
-\ecvbeforepicture{\hspace{6cm}}
-
-% image
-\ecvpicture[height=3cm]{CV-image}
-
-% define text or space after the image
-% in this case the following shifted 2cm to the image
-\ecvafterpicture{\ecvspace{-2cm}}
-
-% if you e.g. only want the page number to be printed in the footer
-%\ecvpage{\thepage}
+% to handle the picture
+% only load the package of not already loaded
+\@ifundefined{rotatebox}{\usepackage{graphicx}}{}
\end_preamble
\options nologo
\use_default_options false
@@ -79,8 +53,8 @@
\topmargin 2cm
\rightmargin 2cm
\bottommargin 3cm
-\secnumdepth 3
-\tocdepth 3
+\secnumdepth 1
+\tocdepth 1
\paragraph_separation skip
\defskip medskip
\quotes_language english
@@ -96,30 +70,201 @@
\begin_body
-\begin_layout Begin
-\begin_inset Note Note
+\begin_layout Name
+Testmann, Paul
+\end_layout
+
+\begin_layout FooterName
+Paul Testmann
+\end_layout
+
+\begin_layout Nationality
+Swiss
+\end_layout
+
+\begin_layout Birthday
+June 23, 1962
+\end_layout
+
+\begin_layout Address
+Teststreet
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+newline
+\end_layout
+
+\end_inset
+
+03333 Nicecity
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+newline
+\end_layout
+
+\end_inset
+
+Switzerland
+\end_layout
+
+\begin_layout Email
+test...@testman.ch
+\end_layout
+
+\begin_layout Telephone
+\begin_inset Argument
status open
\begin_layout Plain Layout
-Keep entries with green labels empty!
++43(0)777 7777
\end_layout
\end_inset
++43(0)999 9999
+\begin_inset Note Note
+status collapsed
+\begin_layout Plain Layout
+The mobile number is optional.
\end_layout
-\begin_layout Standard
+\end_inset
+
+
+\end_layout
+
+\begin_layout Gender
+Male
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Fax
+Fax number
\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout BeforePicture
+\begin_inset space \hspace*{}
+\length 6cm
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional, alignment and position of the picture or text, in this case the
+ picture is shifted 6
+\begin_inset space \thinspace{}
+\end_inset
+
+cm to the right
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Picture
+\begin_inset Argument
status open
\begin_layout Plain Layout
+height=3cm
+\end_layout
-\series bold
-Note:
-\series default
- The personal data like your name, image, address, etc.
- are set in the document preamble.
+\end_inset
+
+CV-image
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The name of the image file.
+ The optional size is in this case the height the photo is resized to.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout AfterPicture
+\begin_inset Flex VerticalSpace
+status open
+
+\begin_layout Plain Layout
+-2cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional, in this case the following material is shifted 2
+\begin_inset space \thinspace{}
+\end_inset
+
+cm to the picture
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Page
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional, redefines what is printed in the footer, in this case only the
+ page number
\end_layout
\end_inset
@@ -133,7 +278,34 @@ status open
\begin_layout Plain Layout
The europecv-class offers lots of customization possibilities; to find out
- more, look at its documentation.
+ more, look at its documentation:
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+http://mirrors.ctan.org/macros/latex/contrib/europecv/europecv.pdf
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Keep entries with green labels empty!
\end_layout
\end_inset
@@ -246,7 +418,7 @@ Experience
\end_layout
\begin_layout Item
-February 2006--current
+2006--current
\begin_inset ERT
status collapsed
@@ -282,7 +454,7 @@ Languages
\begin_layout MotherTongue
\begin_inset Argument
-status collapsed
+status open
\begin_layout Plain Layout
10pt
@@ -315,8 +487,8 @@ The optional parameter is the vertical height behind the item; negative
status collapsed
\begin_layout Plain Layout
-Inserts the language level explanation and sets the symbol for the reference
- footnote.
+Optional, inserts the language level explanation and sets the symbol for
+ the reference footnote.
\end_layout
@@ -448,11 +620,21 @@ ecvBOne
\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The last info is the level how good you think you can write.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
status open
\begin_layout Plain Layout
-The language level codes can be found in the documentation of the europecv-packa
-ge.
+The language level codes can be found in the documentation of the package
+ europecv.
\end_layout
\end_inset
@@ -835,6 +1017,7 @@ You can also use BibTeX references:
\end_layout
\begin_layout Item
+References
\begin_inset ERT
status collapsed
diff --git a/lib/layouts/acmsiggraph.layout b/lib/layouts/acmsiggraph.layout
index 8b02893..418ac30 100644
--- a/lib/layouts/acmsiggraph.layout
+++ b/lib/layouts/acmsiggraph.layout
@@ -51,28 +51,28 @@ Input stdstarsections.inc
# don't use the following styles
NoStyle Part
-NoCounter part
+NoCounter part
NoStyle Part*
NoStyle Chapter
-NoCounter chapter
+NoCounter chapter
NoStyle Chapter*
NoStyle Subparagraph
-NoCounter 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 "Oneline ID:"
LabelFont
Color Green
Series Bold
@@ -80,29 +80,111 @@ Style Teaser
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 "Flex: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
+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 Green
EndFont
End
@@ -138,10 +220,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
@@ -149,6 +233,48 @@ 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 green
+ Size Small
+ EndFont
+End
+
+
+InsetLayout "Flex:ShortCite"
+ CopyStyle "Flex:CRcat"
+ 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
diff --git a/lib/layouts/europecv.layout b/lib/layouts/europecv.layout
index c6c2fa3..4c259c0 100644
--- a/lib/layouts/europecv.layout
+++ b/lib/layouts/europecv.layout
@@ -26,129 +26,250 @@ End
Input stdcounters.inc
Input stdinsets.inc
+Style Name
+ Margin Dynamic
+ LatexType Command
+ LatexName ecvname
+ Category FrontMatter
+ InPreamble 1
+ ParSkip 0.4
+ LabelSep xx
+ LabelType Static
+ LabelString "Name:"
+ LabelFont
+ Series Bold
+ Color Blue
+ EndFont
+End
+
+Style FooterName
+ CopyStyle Name
+ LatexName ecvfootername
+ LabelString "Footer name:"
+End
+
+Style Nationality
+ CopyStyle Name
+ LatexName ecvnationality
+ LabelString "Nationality:"
+End
+
+Style Birthday
+ CopyStyle Name
+ LatexName ecvdateofbirth
+ LabelString "Date of birth:"
+End
+
+Style Address
+ CopyStyle Name
+ LatexName ecvaddress
+ LabelString "Address:"
+End
+
+Style Email
+ CopyStyle Name
+ LatexName ecvemail
+ LabelString "E-mail:"
+End
+
+Style Telephone
+ CopyStyle Name
+ LatexName ecvtelephone
+ LabelString "Telephone:"
+ OptionalArgs 1
+End
+
+Style Gender
+ CopyStyle Name
+ LatexName ecvgender
+ LabelString "Gender:"
+End
+
+Style Fax
+ CopyStyle Name
+ LatexName ecvfax
+ LabelString "Fax:"
+End
+
+Style BeforePicture
+ CopyStyle Name
+ LatexName ecvbeforepicture
+ LabelString "Space before picture:"
+End
+
+Style Picture
+ CopyStyle Name
+ LatexName ecvpicture
+ LabelString "Picture:"
+ OptionalArgs 1
+End
+
+Style AfterPicture
+ CopyStyle Name
+ LatexName ecvafterpicture
+ LabelString "Space after picture:"
+End
+
+Style Page
+ CopyStyle Name
+ LatexName ecvpage
+ LabelString "Page:"
+End
+
Style Section
- Margin Dynamic
- LatexType Command
- LatexName ecvsection
- NeedProtect 1
- NextNoIndent 1
- OptionalArgs 1
- ParSkip 0.4
- TopSep 1.3
- BottomSep 0.7
- ParSep 0.7
- Align Block
- LabelSep xxx
- LabelType No_Label
+ Margin Dynamic
+ LatexType Command
+ LatexName ecvsection
+ Category MainText
+ NeedProtect 1
+ NextNoIndent 1
+ OptionalArgs 1
+ ParSkip 0.4
+ TopSep 1.3
+ BottomSep 0.7
+ ParSep 0.7
+ Align Block
+ LabelSep xxx
+ LabelType No_Label
Font
- Family Sans
- Series Bold
+ Family Sans
+ Series Bold
EndFont
- TocLevel 1
+ TocLevel 1
End
Style Item
- Margin Dynamic
- LatexType Command
- LatexName ecvitem
- OptionalArgs 1
- ParSkip 0.4
- Align Block
- LabelSep xx
- LabelType Static
- LabelString "Item:"
+ Margin Dynamic
+ LatexType Command
+ LatexName ecvitem
+ Category MainText
+ OptionalArgs 1
+ ParSkip 0.4
+ Align Block
+ LabelSep xx
+ LabelType Static
+ LabelString "Item:"
LabelFont
- Series Bold
- Color Blue
+ Series Bold
+ Color Blue
EndFont
End
Style BulletedItem
- CopyStyle Item
- LatexName ecvitem*
- LabelString "Bulleted Item:"
+ CopyStyle Item
+ LatexName ecvitem*
+ LabelString "Bulleted Item:"
End
Style Begin
- Margin Dynamic
- LatexType Command
- LatexName begin{europecv}
- KeepEmpty 1
- BottomSep 1
- ParSkip 0.4
- Align Block
- LabelSep xx
- LabelType Static
- LabelString "Begin of CV"
+ Margin Dynamic
+ LatexType Command
+ LatexName begin{europecv}
+ Category FrontMatter
+ KeepEmpty 1
+ TopSep 1
+ BottomSep 1
+ ParSkip 0.4
+ Align Block
+ LabelSep xx
+ LabelType Static
+ LabelString "Begin of CV"
LabelFont
- Series Bold
- Color Green
+ Series Bold
+ Color Green
EndFont
End
Style PersonalInfo
- CopyStyle Begin
- LatexName ecvpersonalinfo{}
- BottomSep 0
- LabelString "Personal Info"
+ CopyStyle Begin
+ LatexName ecvpersonalinfo{}
+ TopSep 0
+ BottomSep 0
+ LabelString "Personal Info"
End
Style MotherTongue
- Margin Dynamic
- LatexType Command
- LatexName ecvmothertongue
- OptionalArgs 1
- ParSkip 0.4
- Align Block
- LabelSep xx
- LabelType Static
- LabelString "Mother Tongue:"
+ Margin Dynamic
+ LatexType Command
+ LatexName ecvmothertongue
+ Category MainText
+ OptionalArgs 1
+ ParSkip 0.4
+ Align Block
+ LabelSep xx
+ LabelType Static
+ LabelString "Mother Tongue:"
+ Font
+ Series Bold
+ EndFont
LabelFont
- Series Bold
- Color Blue
+ Series Bold
+ Color Blue
EndFont
End
Style LangHeader
- CopyStyle MotherTongue
- LatexName ecvlanguageheader
- OptionalArgs 0
- LabelString "Language Header:"
+ CopyStyle MotherTongue
+ LatexName ecvlanguageheader
+ OptionalArgs 0
+ LabelString "Language Header:"
End
Style Language
- CopyStyle MotherTongue
- LatexName ecvlanguage
- LabelString "Language:"
+ CopyStyle MotherTongue
+ LatexName ecvlanguage
+ LabelString "Language:"
End
Style LastLanguage
- CopyStyle MotherTongue
- LatexName ecvlastlanguage
- LabelString "Last Language:"
+ CopyStyle Language
+ LatexName ecvlastlanguage
+ LabelString "Last Language:"
End
Style LangFooter
- CopyStyle MotherTongue
- LatexName ecvlanguagefooter
- OptionalArgs 0
- LabelString "Language Footer:"
+ CopyStyle LangHeader
+ LatexName ecvlanguagefooter
+ LabelString "Language Footer:"
End
Style End
- Margin Dynamic
- LatexType Command
- LatexName end{europecv}
- KeepEmpty 1
- TopSep 1
- ParSkip 0.4
- Align Block
- LabelSep xx
- LabelType Static
- LabelString "End of CV"
+ Margin Dynamic
+ LatexType Command
+ LatexName end{europecv}
+ Category BackMatter
+ KeepEmpty 1
+ TopSep 1
+ ParSkip 0.4
+ Align Block
+ LabelSep xx
+ LabelType Static
+ LabelString "End of CV"
+ LabelFont
+ Series Bold
+ Color Green
+ EndFont
+End
+
+InsetLayout "Flex:VerticalSpace"
+ LyxType custom
+ LatexType command
+ LatexName ecvspace
+ Decoration Conglomerate
+ LabelString "Vertical space"
+ Font
+ Color foreground
+ Size Small
+ Family Roman
+ Shape Up
+ Series Medium
+ Misc No_Emph
+ Misc No_Noun
+ Misc No_Bar
+ EndFont
LabelFont
- Series Bold
- Color Green
+ Color green
+ Size Small
EndFont
End
diff --git a/lib/layouts/sigplanconf.layout b/lib/layouts/sigplanconf.layout
index e16f9d8..adace96 100644
--- a/lib/layouts/sigplanconf.layout
+++ b/lib/layouts/sigplanconf.layout
@@ -15,11 +15,11 @@
Format 35
-Columns 1
-Sides 1
+Columns 1
+Sides 1
SecNumDepth 3
TocDepth 3
-DefaultStyle Standard
+DefaultStyle Standard
ClassOptions
FontSize 9|10|11
@@ -54,138 +54,147 @@ Input stdstarsections.inc
# don't use the following styles
NoStyle Part
-NoCounter part
+NoCounter part
NoStyle Part*
NoStyle Chapter
-NoCounter chapter
+NoCounter chapter
NoStyle Chapter*
NoStyle Subparagraph
-NoCounter subparagraph
+NoCounter subparagraph
NoStyle Subparagraph*
Style Conference
- Margin Dynamic
- LatexType Command
- LatexName conferenceinfo
- Category FrontMatter
- InTitle 1
- ParSkip 0.4
- BottomSep 0.5
- Align Left
- LabelSep xx
- LabelType Static
- LabelString "Conference:"
+ Margin Dynamic
+ LatexType Command
+ LatexName conferenceinfo
+ Category FrontMatter
+ InTitle 1
+ ParSkip 0.4
+ BottomSep 0.5
+ Align Left
+ LabelSep xx
+ LabelType Static
+ LabelString "Conference:"
LabelFont
- Color Green
- Series Bold
+ Color Green
+ Series Bold
EndFont
End
Style CopyrightYear
- CopyStyle Conference
- LatexName CopyrightYear
- LabelString "Copyright year:"
+ CopyStyle Conference
+ LatexName CopyrightYear
+ LabelString "Copyright year:"
End
Style Copyrightdata
- CopyStyle Conference
- LatexName copyrightdata
- LabelString "Copyright data:"
+ CopyStyle CopyrightYear
+ LatexName copyrightdata
+ LabelString "Copyright data:"
End
-Input stdtitle.inc
-Input stdstruct.inc
+Style TitleBanner
+ CopyStyle CopyrightYear
+ LatexName titlebanner
+ LabelString "Title banner:"
+End
-Style Title
- CopyStyle Title
- AlignPossible Block
+Style PreprintFooter
+ CopyStyle CopyrightYear
+ LatexName preprintfooter
+ LabelString "Preprint footer:"
End
+Input stdtitle.inc
+Input stdstruct.inc
+
+
Style Subtitle
- CopyStyle Title
- LatexName subtitle
+ CopyStyle Title
+ LatexName subtitle
Font
- Size Larger
+ Size Larger
EndFont
End
# overwrite the Author definition from stdtitle.inc
Style Author
- Margin Static
- LatexType Command
- LatexName authorinfo
- 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 authorinfo
+ 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
+ Family Sans
+ Size Normal
EndFont
End
Style Terms
- CopyStyle Conference
- LatexName terms
- InTitle 0
- LabelString "Terms:"
+ CopyStyle CopyrightYear
+ LatexName terms
+ InTitle 0
+ LabelString "Terms:"
End
Style Keywords
- CopyStyle Terms
- LatexName keywords
- LabelString "Keywords:"
+ CopyStyle CopyrightYear
+ LatexName keywords
+ LabelString "Keywords:"
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_Top_Environment
- LabelString "Abstract"
- LabelBottomSep 0.5
+ 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_Top_Environment
+ LabelString "Abstract"
+ LabelBottomSep 0.5
Font
- Size Small
+ Size Small
EndFont
LabelFont
- Series Bold
- Size Large
+ Series Bold
+ Size Large
EndFont
End
Style Acknowledgments
- CopyStyle Abstract
- LatexName acks
- Category BackMatter
- InTitle 0
- LabelBottomsep 0
- LabelType Top_Environment
- LabelString "Acknowledgments"
+ CopyStyle Abstract
+ LatexType Command
+ LatexName acks
+ Category BackMatter
+ LabelBottomsep 0
+ LabelType Top_Environment
+ LabelString "Acknowledgments"
End
diff --git a/lib/templates/ACM-siggraph.lyx b/lib/templates/ACM-siggraph.lyx
index 0b84580..398ea9a 100644
--- a/lib/templates/ACM-siggraph.lyx
+++ b/lib/templates/ACM-siggraph.lyx
@@ -3,70 +3,6 @@
\begin_document
\begin_header
\textclass acmsiggraph
-\begin_preamble
-% for the following cases use the listed document class option:
-% [annual] - Technical paper accepted for presentation at the ACM SIGGRAPH
-% or SIGGRAPH Asia annual conference.
-% [sponsored] - Short or full-length technical paper accepted for
-% presentation at an event sponsored by ACM SIGGRAPH
-% (but not the annual conference Technical Papers program).
-% [abstract] - A one-page abstract of your accepted content
-% (Technical Sketches, Posters, Emerging Technologies, etc.).
-% Content greater than one page in length should use the "[sponsored]"
-% parameter.
-% [preprint] - A preprint version of your final content.
-% [review] - A technical paper submitted for review. Includes line
-% numbers and anonymization of author and affiliation information.
-
-% When you submit your paper for review, please use the \TOGonlineID''
-% command to include the online ID value assigned to your paper by the
-% submission management system. Replace '45678' with the value you were
-% assigned.
-\TOGonlineid{45678}
-
-% If you are preparing a preprint of your accepted paper, and your paper
-% will be published in an issue of the ACM "Transactions on Graphics''
-% journal, replace the "0'' values in the commands below with the correct
-% volume and number values for that issue - you'll get them before your
-% final paper is due.
-\TOGvolume{0}
-\TOGnumber{0}
-
-% The TOGarticleDOI' command accepts the DOI information provided to you
-% during production, and which makes up the URLs which identifies the ACM
-% article page and direct PDF link in the ACM Digital Library.
-% Replace "1111111.2222222'' with the values you are given.
-\TOGarticleDOI{1111111.2222222}
-
-% If you would like to include links to personal repositories for auxiliary
-% material related your research contribution, you may use one or more of
-% these commands to define an appropriate URL. The "\TOGlinkslist'' command
-% found just before the first section of your document will add hyperlinked
-% icons to your document, in addition to hyperlinked icons which point to
-% the ACM Digital Library article page and the ACM Digital Library-held PDF.
-\TOGprojectURL{}
-\TOGvideoURL{}
-\TOGdataURL{}
-\TOGcodeURL{}
-
-% Paper title.
-\title{Global Illumination for Fun and Profit}
-
-% Author and Affiliation (single author).
-%\author{Name \thanks{e-mail: n...@unknown.uu}\\ Research Institute}
-
-% Author and Affiliation (multiple authors).
-\author{Roy G. Biv\thanks{e-mail: roy.g....@aol.com}\\ Starbucks Research %
-\and Ed Grimley\thanks{e-mail:ed.grim...@aol.com}\\Nigel Mansell\thanks{nige...@msn.com}\\ Grimley Widgets, Inc. %
-\and Martha Stewart\thanks{e-mail:martha.stew...@marthastewart.com}\\ Martha Stewart Enterprises \\ Microsoft Research}
-
-% The ``pdfauthor'' command accepts the authors of the work,
-% comma-delimited, and adds this information to the PDF metadata.
-\pdfauthor{Roy G. Biv, Ed Grimley, Nigel Mansell, Martha Stewart}
-
-% Keywords that describe your work.
-\keywords{radiosity, global illumination, constant time}
-\end_preamble
\options annual
\use_default_options false
\maintain_unincluded_children false
@@ -159,33 +95,286 @@ status open
\begin_layout Plain Layout
\series bold
-Note:
+Note:
\series default
- The author, affiliation, email addresses, and the document title have to
- set up in the LaTeX preamble of this document!
+use one of these document class options:
\end_layout
+\begin_layout Plain Layout
+
+\family sans
+annual
+\family default
+ - Technical paper accepted for presentation at the ACM SIGGRAPH or SIGGRAPH
+ Asia annual conference.
+\end_layout
+
+\begin_layout Plain Layout
+
+\family sans
+sponsored
+\family default
+ - Short or full-length technical paper accepted for presentation at an
+ event sponsored by ACM SIGGRAPH (but not the annual conference Technical
+ Papers program).
+\end_layout
+
+\begin_layout Plain Layout
+
+\family sans
+abstract
+\family default
+ - A one-page abstract of your accepted content (Technical Sketches, Posters,
+ Emerging Technologies, etc.).
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset space \hspace*{}
+\length 1.5cm
\end_inset
+Content greater than one page in length should use the document class option
+
+\family sans
+sponsored
+\family default
+.
+\end_layout
+
+\begin_layout Plain Layout
+\family sans
+preprint
+\family default
+ - A preprint version of your final content.
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
+
+\family sans
+review
+\family default
+ - A technical paper submitted for review.
+ Includes line numbers and anonymization of author and affiliation information.
+\end_layout
+
+\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
+0
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Optional.
+\end_layout
+
+\begin_layout Plain Layout
+Should your technical paper be accepted, you will be given three pieces
+ of information: the volume and number of the issue of the ACM Transactions
+ on Graphics journal in which your paper will be published, and the ``article
+ DOI'' value, which is unique to your paper and provides the link to your
+ paper's page in the ACM Digital Library.
+ Fill in the volume, number' and article DOI with the three pieces of informatio
+n you receive.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\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
+
+\begin_layout Plain Layout
+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
+The Title of Your Paper Goes Here
\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Use capital letters as appropriate.
+ Setting the entire title in upper-case letters is not correct, nor is capitaliz
+ing only the first letter of the title.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Author
+Roy Giv
+\begin_inset Flex Thanks
status open
\begin_layout Plain Layout
+e-mail: roy...@aol.com
+\end_layout
-\series bold
-Note:
-\series default
- The document type (review etc.) is specified by using one of the document
- class options listed in the preamble of this file.
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+Star Research
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+and
\end_layout
\end_inset
+ Ed Grim
+\begin_inset Flex Thanks
+status open
+\begin_layout Plain Layout
+e-mail: ed.g...@aol.com
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+Nigel Mall
+\begin_inset Flex Thanks
+status open
+
+\begin_layout Plain Layout
+e-mail: nigelm...@msn.com
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+Grim, Inc.
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+and
+\end_layout
+
+\end_inset
+
+ Robert A.
+ Smith
+\begin_inset Flex Thanks
+status open
+
+\begin_layout Plain Layout
+e-mail: rsm...@gmail.com
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+Smith Research
+\begin_inset Newline newline
+\end_inset
+
+Star Research
+\end_layout
+
+\begin_layout PDF author
+Roy Giv, Ed Grim, Nigel Mall, Robert A.
+ Smith
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+the authors of the work, comma-delimited, are added to the PDF metadata
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Keywords
+radiosity, global illumination, constant time
\end_layout
\begin_layout Teaser
@@ -195,6 +384,16 @@ Note:
\end_inset
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Optional
+\end_layout
+
+\end_inset
+
\begin_inset Caption
@@ -242,13 +441,8 @@ maketitle
status collapsed
\begin_layout Plain Layout
-The command
-\series bold
-
-\backslash
-maketitle
-\series default
- prepares and prints the title block.
+Uses the author and title information defined above, and prepares the formatted
+ title.
\end_layout
\end_inset
@@ -257,10 +451,6 @@ maketitle
\end_layout
\begin_layout Abstract
-BlaBlaBla.
-\end_layout
-
-\begin_layout Abstract
Citations can be done this way
\begin_inset space ~
\end_inset
@@ -277,36 +467,11 @@ key "Jobs95"
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-shortcite
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
+\begin_inset Flex ShortCite
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Jobs95
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
@@ -362,7 +527,7 @@ status open
\begin_layout Plain Layout
See
\begin_inset Flex URL
-status collapsed
+status open
\begin_layout Plain Layout
@@ -390,18 +555,7 @@ status collapsed
\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
+}{
\end_layout
\end_inset
@@ -412,18 +566,7 @@ status collapsed
\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
+}{
\end_layout
\end_inset
@@ -434,18 +577,7 @@ status collapsed
\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
+}{
\end_layout
\end_inset
@@ -460,27 +592,17 @@ Life Cycle
status collapsed
\begin_layout Plain Layout
-The CR categories expects 4 infos that are separated by
-\begin_inset Quotes eld
-\end_inset
-
-
-\series bold
-}{
-\series default
+Consecutive categories must be in the same paragaph separated by a forced
+ linebreak.
+\end_layout
-\begin_inset Quotes erd
\end_inset
- in TeX code.
-\end_layout
+\begin_inset Newline newline
\end_inset
-\end_layout
-
-\begin_layout CR categories
\begin_inset Flex CRcat
status open
@@ -491,67 +613,60 @@ status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
-
+The Computing Profession
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-{
+}{
\end_layout
\end_inset
-The Computing Profession
+Miscellaneous
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
+Ethics
+\end_layout
-\begin_inset ERT
-status collapsed
+\end_inset
-\begin_layout Plain Layout
-{
\end_layout
-\end_inset
-
-Miscellaneous
+\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+
+\backslash
+keywordlist
\end_layout
\end_inset
-\begin_inset ERT
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-Ethics
+Prints out the keywords.
\end_layout
\end_inset
@@ -567,7 +682,7 @@ status collapsed
\backslash
-keywordlist
+TOGlinkslist
\end_layout
\end_inset
@@ -577,13 +692,10 @@ keywordlist
status collapsed
\begin_layout Plain Layout
-The command
-\series bold
-
-\backslash
-keywordlist
-\series default
- prints out the keywords.
+Adds hyperlinked icons to your document.
+ Has only an effect with the document class option
+\family sans
+annual.
\end_layout
\end_inset
@@ -591,10 +703,6 @@ keywordlist
\end_layout
-\begin_layout Section
-Introduction
-\end_layout
-
\begin_layout Standard
\begin_inset ERT
status collapsed
@@ -613,16 +721,9 @@ copyrightspace
status collapsed
\begin_layout Plain Layout
-When you use a copyright note, the
-\series bold
-
-\backslash
-copyrightspace
-\series default
- command must be the first command after the start of the first section
- of the body of your paper.
- It ensures the copyright space is left at the bottom of the first column
- on the first page of your paper.
+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.
\end_layout
\end_inset
@@ -630,6 +731,10 @@ copyrightspace
\end_layout
+\begin_layout Section
+Introduction
+\end_layout
+
\begin_layout Standard
bla
\end_layout
@@ -714,7 +819,7 @@ options "acmsiggraph"
\end_inset
-
+
\end_layout
\end_body
diff --git a/lib/templates/ACM-sigplan.lyx b/lib/templates/ACM-sigplan.lyx
index 3cb301a..c12a6bb 100644
--- a/lib/templates/ACM-sigplan.lyx
+++ b/lib/templates/ACM-sigplan.lyx
@@ -62,7 +62,7 @@
\begin_body
-\begin_layout Title
+\begin_layout Standard
\begin_inset Note Note
status open
@@ -134,6 +134,34 @@ The Conference expects 2 infos that are separated by
1-59593-057-4/05/0004
\end_layout
+\begin_layout TitleBanner
+Banner above paper title
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+is ignored unless document class option 'preprint' is used
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout PreprintFooter
+Short description of paper
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+is ignored unless document class option 'preprint' is used
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Title
Example ACM Paper
\begin_inset Foot
@@ -350,7 +378,7 @@ Bla, bla
\end_layout
\begin_layout Acknowledgments
-We would like to thank ...
+Acknowledgments, if needed.
\end_layout
\begin_layout Section