mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +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.
68 lines
1.4 KiB
HTML
68 lines
1.4 KiB
HTML
# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
|
|
|
|
# This include file contains all the floats that are defined as standard
|
|
# in most LyX layouts.
|
|
|
|
|
|
Format 49
|
|
|
|
Float
|
|
Type table
|
|
GuiName Table
|
|
Placement tbp
|
|
Extension lot
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Tables"
|
|
IsPredefined true
|
|
UsesFloatPkg false
|
|
ListCommand listoftables
|
|
RefPrefix tab
|
|
End
|
|
|
|
|
|
Float
|
|
Type figure
|
|
GuiName Figure
|
|
Placement tbp
|
|
Extension lof
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Figures"
|
|
IsPredefined true
|
|
UsesFloatPkg false
|
|
ListCommand listoffigures
|
|
RefPrefix fig
|
|
End
|
|
|
|
|
|
Float
|
|
Type algorithm
|
|
GuiName Algorithm
|
|
Placement tbp
|
|
Extension loa
|
|
NumberWithin none
|
|
Style ruled
|
|
ListName "List of Algorithms"
|
|
IsPredefined false
|
|
UsesFloatPkg true
|
|
RefPrefix alg
|
|
End
|
|
|
|
|
|
InsetLayout FloatList
|
|
HTMLTag h2
|
|
HTMLStyle
|
|
a.lyxtoc-floats {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
a.lyxtoc-floats:visited { color: black; }
|
|
div.lyxtoc-floats {
|
|
margin: 0em 0em 0.1em 1em;
|
|
font-size: large;
|
|
font-weight: normal;
|
|
}
|
|
EndHTMLStyle
|
|
End
|