mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +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.
83 lines
2.0 KiB
HTML
83 lines
2.0 KiB
HTML
# Standard textclass definition file. Taken from initial LyX source code
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modifed and enhanced by several developers.
|
|
# Title definitions moved to stdtitle.inc by Hartmut Goebel <harmut@noris.net>
|
|
|
|
# This include files contains all layouts that handle the structure of
|
|
# a document, like abstract, bibliography and such.
|
|
|
|
|
|
Format 49
|
|
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
|
|
LabelType Centered
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
HTMLLabelFirst 1
|
|
HTMLForceCSS 1
|
|
HTMLStyle
|
|
div.abstract {
|
|
margin: 4ex;
|
|
}
|
|
div.abstract_item {
|
|
font-size: small;
|
|
padding-top: 1ex;
|
|
}
|
|
div.abstract_label {
|
|
font-weight: bold;
|
|
}
|
|
EndHTMLStyle
|
|
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
|
|
HTMLStyle
|
|
div.bibliography {
|
|
margin-left: 2em;
|
|
text-indent: -2em;
|
|
}
|
|
span.bibitemlabel:before { content: "["; }
|
|
span.bibitemlabel:after { content: "] "; }
|
|
EndHTMLStyle
|
|
End
|