mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +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.
179 lines
3.2 KiB
Plaintext
179 lines
3.2 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{Paper (Standard Class)}
|
|
# \DeclareCategory{Articles}
|
|
# Paper textclass definition file.
|
|
# Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
|
|
|
|
|
|
Format 49
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
|
|
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
|
|
HTMLStyle
|
|
div.standard {
|
|
margin-bottom: 2ex;
|
|
}
|
|
EndHTMLStyle
|
|
End
|
|
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
Input lyxmacros.inc
|
|
Input stdlayouts.inc
|
|
Input stdfloats.inc
|
|
Input stdsections.inc
|
|
Input stdstarsections.inc
|
|
Input stdlists.inc
|
|
Input stdcounters.inc
|
|
Input stdciteformats.inc
|
|
|
|
# There are no chapters in a paper.
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
|
|
# All the section headings now use sans serif
|
|
Style Part
|
|
Align Left
|
|
TopSep 2
|
|
BottomSep 1.5
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Section
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subparagraph
|
|
Font
|
|
Family Sans
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style Description
|
|
LabelFont
|
|
Family Sans
|
|
Series Medium
|
|
EndFont
|
|
End
|
|
|
|
|
|
# The \maketitle stuff is by default left justified.
|
|
Style Title
|
|
Align Left
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Align Left
|
|
Font
|
|
Size Larger
|
|
Family Sans
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelType Above
|
|
LabelFont
|
|
Series Bold
|
|
Family Sans
|
|
Size Small
|
|
EndFont
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
End
|
|
|
|
|
|
### A few new things defined only in the paper document class
|
|
Style SubTitle
|
|
CopyStyle Title
|
|
LatexName subtitle
|
|
Font
|
|
Family Sans
|
|
Series Medium
|
|
Size Large
|
|
EndFont
|
|
HTMLTitle false
|
|
End
|
|
|
|
|
|
Style Institution
|
|
CopyStyle Title
|
|
LatexName institution
|
|
Font
|
|
Family Sans
|
|
Series Medium
|
|
Size Normal
|
|
EndFont
|
|
HTMLTag div
|
|
HTMLTitle false
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
CopyStyle Abstract
|
|
LatexName keywords
|
|
LabelString "Keywords:"
|
|
End
|