mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
ecc0d198df
- also support in the lyx2lyx argument conversion routine the case that "}{" appears in 2 consecutive ERTs - also fix in lyx2lyx_tools.py the output of ERTs (it is important that we write the same amount of lines as if the ERT would have been inserted via LyX 2.0 or lyX 2.1)
305 lines
4.9 KiB
Plaintext
305 lines
4.9 KiB
Plaintext
#% Do not delete he line below; configure depends on this
|
|
# \DeclareLaTeXClass[acmsiggraph,lineno.sty]{ACM SIGGRAPH}
|
|
# \DeclareCategory{Articles}
|
|
# ACM SIGGRAPH acmsiggraph textclass definition file.
|
|
# Author : Uwe Stöhr
|
|
#
|
|
# We use acmsiggraph.cls, the Sigplan class file that can be
|
|
# downloaded from
|
|
# http://www.siggraph.org/publications/instructions
|
|
#
|
|
# ACM style files can be obtained at
|
|
# http://www.acm.org/sigs/pubs/proceed/template.html
|
|
|
|
Format 41
|
|
|
|
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
|
|
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 "Oneline 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 "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
|
|
|
|
|
|
# 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 project URL"
|
|
LatexName pdfauthor
|
|
LabelString "PDF author:"
|
|
End
|
|
|
|
Style Keywords
|
|
CopyStyle "TOG project URL"
|
|
LatexName keywords
|
|
LabelType Static
|
|
LabelString "Keywords:"
|
|
LabelFont
|
|
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
|
|
|
|
|
|
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
|
|
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 Top_Environment
|
|
LabelString "Acknowledgments"
|
|
End
|
|
|