mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-11 16:31:09 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
306 lines
4.9 KiB
Plaintext
306 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 49
|
|
|
|
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 "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
|
|
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
|
|
|