Hi folks,
I'm modifying a thesis.layout file to get it to approximate the
dvi file a little closer.
DVI: (<--...--> is just a placeholder for spacing)
<---------------------------------> Chapter 1
<--------------------------------> Introduction
LyX: default chapter layout using
Style Chapter
Margin Static
LatexType Command
LatexName chapter
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 4
BottomSep 0.8
ParSep 0.8
Align Block
AlignPossible Block, Left
LabelType Counter_Chapter
LabelString "Chapter "
LabelStringAppendix "Appendix "
OptionalArgs
Font
Series Bold
Size Larger
EndFont
End
Output is:
Chapter 1
Introduction
Now I change the layout file to get the labels centered,
with something like this:
Style Chapter
Align Center
End
LyX: Centered labels
<-----------------------------------> Chapter 1
<-----------------------------------> Introduction
I've searched the docs. Also the mailing list for
"center Counter_Chapter" without success.
Has anybody seen or solved this? How do you get
the top label centered over the bottom label?
My guess is that I might have to add a "Center_Counter_Chapter"
labeltype for the layouts, and I will delve into the source code
if it can't be done in the layout. (It might be done manually,
but that defeats the purpose of the "Counter_Chapter"
labeltype.)
Using LyX 1.3.1, QT, GNU/linux(2419), but had same behavior with
1.2.x and libforms.
Thanks in advance for any suggestions or pointers.
Johnathan
--
Johnathan K. Burchill, Ph.D. candidate
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada
[EMAIL PROTECTED]