mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
b92ceba9a1
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723.
(cherry picked from commit 5c54557350
)
233 lines
3.7 KiB
Plaintext
233 lines
3.7 KiB
Plaintext
#% Do not delete he line below; configure depends on this
|
|
# \DeclareLaTeXClass[sigplanconf,natbib.sty]{ACM SIGPLAN (Obsolete)}
|
|
# \DeclareCategory{Obsolete}
|
|
# 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
|
|
#
|
|
# NOTE: As from Spring 2017, the class will not be usable to submit
|
|
# a publication to ACM, it is OBSOLETE. Use acmart.cls instead.
|
|
#
|
|
# 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 64
|
|
|
|
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
|
|
|
|
|
|
Style DOI
|
|
CopyStyle CopyrightYear
|
|
LatexName doi
|
|
LabelString "Digital Object Identifier:"
|
|
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
|
|
|