mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 07:16:48 +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
)
232 lines
3.4 KiB
Plaintext
232 lines
3.4 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[agutex]{American Geophysical Union (AGUTeX)}
|
|
# \DeclareCategory{Articles}
|
|
# AGUTeX textclass definition file.
|
|
# Author: Uwe Stöhr (uwestoehr@web.de)
|
|
|
|
Format 64
|
|
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
DefaultStyle Standard
|
|
Provides natbib 1
|
|
|
|
ClassOptions
|
|
FontSize 10|11|12
|
|
end
|
|
|
|
|
|
# This is just to show how to declare the default font.
|
|
# The defaults are exactly those shown here.
|
|
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
|
|
Input stdlayouts.inc
|
|
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName title
|
|
Category FrontMatter
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 1
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Authors
|
|
Margin Static
|
|
LatexType Command
|
|
Category FrontMatter
|
|
LatexName authors
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
InsetLayout "Flex:Affiliation Mark"
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName altaffilmark
|
|
LabelString "Affiliation Mark"
|
|
Font
|
|
Color foreground
|
|
Size Small
|
|
Family Roman
|
|
Shape Up
|
|
Series Medium
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color latex
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style "Author affiliation"
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName altaffiltext
|
|
Category FrontMatter
|
|
ParSkip 0.4
|
|
BottomSep 0.5
|
|
Align Left
|
|
Argument 1
|
|
Mandatory 1
|
|
LabelString "Number"
|
|
Tooltip "Consecutive number for the author affiliations"
|
|
PassThru 1
|
|
EndArgument
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Author affiliation:"
|
|
LabelFont
|
|
Color Green
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin Dynamic
|
|
LatexType Environment
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.4
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Abstract."
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
CopyStyle Subsection*
|
|
Category BackMatter
|
|
LatexName paragraph
|
|
TocLevel 4
|
|
End
|
|
|
|
|
|
Style Notation
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName notation
|
|
Category BackMatter
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.4
|
|
Align Block
|
|
LabelType Above
|
|
LabelString "Notation"
|
|
LabelFont
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgments
|
|
Margin Dynamic
|
|
LatexType Environment
|
|
LatexName acknowledgments
|
|
Category BackMatter
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.4
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Acknowledgments."
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
Category BackMatter
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MM
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Bibliography
|
|
LabelString "References"
|
|
LabelBottomSep 1.2
|
|
LabelFont
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
End
|
|
|