mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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.
230 lines
3.4 KiB
Plaintext
230 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 49
|
|
|
|
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"
|
|
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
|
|
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
|
|
|