mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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.
74 lines
1.5 KiB
Plaintext
74 lines
1.5 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[tufte-handout,bibentry.sty,changepage.sty,fancyhdr.sty,ifmtarg.sty,letterspace.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{Tufte Handout}
|
|
# \DeclareCategory{Handouts}
|
|
# tufte-handout textclass definition file.
|
|
# Juergen Spitzmueller <juergen@spitzmueller.org>, 2008/10/22
|
|
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
|
|
|
|
Format 49
|
|
|
|
# import other layouts
|
|
Input stdlayouts.inc
|
|
Input article.layout
|
|
Input tufte-book.layout
|
|
|
|
Sides 1
|
|
PageStyle plain
|
|
|
|
NoStyle Part
|
|
NoCounter part
|
|
NoStyle Chapter
|
|
NoStyle Chapter*
|
|
|
|
Style Part
|
|
Category Sectioning
|
|
Margin Dynamic
|
|
LabelType No_Label
|
|
TocLevel -1
|
|
LatexType Command
|
|
LatexName part
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
Labelsep xxx
|
|
ParSkip 0.4
|
|
TopSep 4
|
|
BottomSep 4
|
|
ParSep 0.8
|
|
Align Center
|
|
Alignpossible Center
|
|
Argument 1
|
|
LabelString "Short Title|S"
|
|
Tooltip "The part as it appears in the table of contents/running headers"
|
|
EndArgument
|
|
Font
|
|
Series Bold
|
|
Size Huge
|
|
EndFont
|
|
End
|
|
|
|
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
|
|
End
|