mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix screen display of parts and chapters in default classes
This has been done by reading the LaTeX sources (classes.dtx) to try to get things right * fix font sizes of chapters and parts. Note that the labels have smaller size as the title itself. * fix alignment of Part and put label on top * add spacing between label and title.
This commit is contained in:
parent
042128b643
commit
0b9c27222a
@ -21,8 +21,17 @@ NoStyle Chapter*
|
||||
Style Part
|
||||
Align Left
|
||||
AlignPossible Left
|
||||
LabelType Above
|
||||
TopSep 2
|
||||
BottomSep 1.5
|
||||
Font
|
||||
Series Bold
|
||||
Size Huge
|
||||
EndFont
|
||||
LabelFont
|
||||
Series Bold
|
||||
Size Larger
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
@ -31,4 +40,8 @@ Style Part*
|
||||
AlignPossible Left
|
||||
TopSep 2
|
||||
BottomSep 1.5
|
||||
Font
|
||||
Series Bold
|
||||
Size Huge
|
||||
EndFont
|
||||
End
|
||||
|
@ -11,9 +11,9 @@ Format 85
|
||||
|
||||
Style Part
|
||||
Category Sectioning
|
||||
Margin Dynamic
|
||||
Margin Static
|
||||
LabelString "Part \thepart"
|
||||
LabelType Static
|
||||
LabelType Centered
|
||||
TocLevel -1
|
||||
LabelCounter part
|
||||
LatexType Command
|
||||
@ -21,7 +21,7 @@ Style Part
|
||||
NeedProtect 1
|
||||
NextNoIndent 1
|
||||
ToggleIndent Never
|
||||
Labelsep xxx
|
||||
LabelBottomSep 1
|
||||
ParSkip 0.4
|
||||
TopSep 4
|
||||
BottomSep 4
|
||||
@ -35,6 +35,10 @@ Style Part
|
||||
IsTocCaption 1
|
||||
EndArgument
|
||||
Font
|
||||
Series Bold
|
||||
Size Giant
|
||||
EndFont
|
||||
LabelFont
|
||||
Series Bold
|
||||
Size Huge
|
||||
EndFont
|
||||
@ -60,6 +64,7 @@ Style Chapter
|
||||
NeedProtect 1
|
||||
NextNoIndent 1
|
||||
ToggleIndent Never
|
||||
LabelBottomSep 1
|
||||
ParSkip 0.4
|
||||
TopSep 2
|
||||
BottomSep 0.8
|
||||
@ -72,6 +77,10 @@ Style Chapter
|
||||
IsTocCaption 1
|
||||
EndArgument
|
||||
Font
|
||||
Series Bold
|
||||
Size Giant
|
||||
EndFont
|
||||
LabelFont
|
||||
Series Bold
|
||||
Size Huge
|
||||
EndFont
|
||||
|
Loading…
Reference in New Issue
Block a user