mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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
|
Style Part
|
||||||
Align Left
|
Align Left
|
||||||
AlignPossible Left
|
AlignPossible Left
|
||||||
|
LabelType Above
|
||||||
TopSep 2
|
TopSep 2
|
||||||
BottomSep 1.5
|
BottomSep 1.5
|
||||||
|
Font
|
||||||
|
Series Bold
|
||||||
|
Size Huge
|
||||||
|
EndFont
|
||||||
|
LabelFont
|
||||||
|
Series Bold
|
||||||
|
Size Larger
|
||||||
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -31,4 +40,8 @@ Style Part*
|
|||||||
AlignPossible Left
|
AlignPossible Left
|
||||||
TopSep 2
|
TopSep 2
|
||||||
BottomSep 1.5
|
BottomSep 1.5
|
||||||
|
Font
|
||||||
|
Series Bold
|
||||||
|
Size Huge
|
||||||
|
EndFont
|
||||||
End
|
End
|
||||||
|
@ -11,9 +11,9 @@ Format 85
|
|||||||
|
|
||||||
Style Part
|
Style Part
|
||||||
Category Sectioning
|
Category Sectioning
|
||||||
Margin Dynamic
|
Margin Static
|
||||||
LabelString "Part \thepart"
|
LabelString "Part \thepart"
|
||||||
LabelType Static
|
LabelType Centered
|
||||||
TocLevel -1
|
TocLevel -1
|
||||||
LabelCounter part
|
LabelCounter part
|
||||||
LatexType Command
|
LatexType Command
|
||||||
@ -21,7 +21,7 @@ Style Part
|
|||||||
NeedProtect 1
|
NeedProtect 1
|
||||||
NextNoIndent 1
|
NextNoIndent 1
|
||||||
ToggleIndent Never
|
ToggleIndent Never
|
||||||
Labelsep xxx
|
LabelBottomSep 1
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
TopSep 4
|
TopSep 4
|
||||||
BottomSep 4
|
BottomSep 4
|
||||||
@ -35,6 +35,10 @@ Style Part
|
|||||||
IsTocCaption 1
|
IsTocCaption 1
|
||||||
EndArgument
|
EndArgument
|
||||||
Font
|
Font
|
||||||
|
Series Bold
|
||||||
|
Size Giant
|
||||||
|
EndFont
|
||||||
|
LabelFont
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Huge
|
Size Huge
|
||||||
EndFont
|
EndFont
|
||||||
@ -60,6 +64,7 @@ Style Chapter
|
|||||||
NeedProtect 1
|
NeedProtect 1
|
||||||
NextNoIndent 1
|
NextNoIndent 1
|
||||||
ToggleIndent Never
|
ToggleIndent Never
|
||||||
|
LabelBottomSep 1
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
TopSep 2
|
TopSep 2
|
||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
@ -72,6 +77,10 @@ Style Chapter
|
|||||||
IsTocCaption 1
|
IsTocCaption 1
|
||||||
EndArgument
|
EndArgument
|
||||||
Font
|
Font
|
||||||
|
Series Bold
|
||||||
|
Size Giant
|
||||||
|
EndFont
|
||||||
|
LabelFont
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Huge
|
Size Huge
|
||||||
EndFont
|
EndFont
|
||||||
|
Loading…
Reference in New Issue
Block a user