mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +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.
223 lines
3.5 KiB
Plaintext
223 lines
3.5 KiB
Plaintext
#% Do not delete he line below; configure depends on this
|
|
# \DeclareLaTeXClass[sigplanconf,natbib.sty]{ACM SIGPLAN}
|
|
# \DeclareCategory{Articles}
|
|
# ACM SIGPLAN sigplanconf textclass definition file.
|
|
# Author : Uwe Stöhr
|
|
#
|
|
# We use sigplanconf.cls, the Sigplan class file that can be
|
|
# downloaded from
|
|
# http://www.sigplan.org/authorInformation.htm
|
|
#
|
|
# This layout is according to
|
|
# http://www.sigplan.org/sigplanconf-guide.pdf
|
|
#
|
|
# 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
|
|
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 Conference
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName conferenceinfo
|
|
Category FrontMatter
|
|
InTitle 1
|
|
ParSkip 0.4
|
|
BottomSep 0.5
|
|
Align Left
|
|
Argument 1
|
|
Mandatory 1
|
|
AutoInsert 1
|
|
LabelString "Name"
|
|
Tooltip "Name of the conference"
|
|
EndArgument
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Conference:"
|
|
LabelFont
|
|
Color Green
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style CopyrightYear
|
|
CopyStyle Conference
|
|
ResetArgs 1
|
|
LatexName CopyrightYear
|
|
LabelString "Copyright year:"
|
|
End
|
|
|
|
|
|
Style Copyrightdata
|
|
CopyStyle CopyrightYear
|
|
LatexName copyrightdata
|
|
LabelString "Copyright data:"
|
|
End
|
|
|
|
|
|
Style TitleBanner
|
|
CopyStyle CopyrightYear
|
|
LatexName titlebanner
|
|
LabelString "Title banner:"
|
|
End
|
|
|
|
|
|
Style PreprintFooter
|
|
CopyStyle CopyrightYear
|
|
LatexName preprintfooter
|
|
LabelString "Preprint footer:"
|
|
End
|
|
|
|
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
|
|
|
|
Style Subtitle
|
|
CopyStyle Title
|
|
LatexName subtitle
|
|
Font
|
|
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
|
|
Argument 1
|
|
Mandatory 1
|
|
LabelString "Name"
|
|
Tooltip "Name of the author"
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
EndArgument
|
|
Argument 2
|
|
Mandatory 1
|
|
LabelString "Affiliation"
|
|
Tooltip "Affiliation and/or address of the author"
|
|
EndArgument
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Terms
|
|
CopyStyle CopyrightYear
|
|
LatexName terms
|
|
InTitle 0
|
|
LabelString "Terms:"
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
CopyStyle Terms
|
|
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
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgments
|
|
CopyStyle Abstract
|
|
LatexType Command
|
|
LatexName acks
|
|
Category BackMatter
|
|
LabelBottomsep 0
|
|
LabelType Above
|
|
LabelString "Acknowledgments"
|
|
End
|
|
|