I was able to solve the first problem--the one involving the spacing before and after subheading titles. Now all I need is some help with the spacing of the section titles in the TOC. All I need to do is change the vertical spacing to double space after a chapter title and single space between each section title. For example,
1 Introduction................. 1
[double space]
1.1 Background.......... 2
[single space]
1.2 Goals..................... 3This is the final thing I need help with. I know this can be done, I'm just not sure how. If someone can help me with this that would be great. Thanks!
Brad
Bradley Navarro wrote:
Hi all,
I have two final problems I am hoping someone can help me with. First, I need to know how to define the vertical spacing before and after a subsection heading. For example,
[defined spacing] 1.2.2 Instrumentation [defined spacing] [text begins]
The code on Herbert's tip page for this does not want to work. Here is the code for reference:
\makeatletter \newlength{\mySpaceUnder} \newlength{\mySpaceOver} \setlength{\mySpaceUnder}{4cm plus .2ex} % 4cm as an example ;-) \setlength{\mySpaceOver}{3cm plus -1ex minus-.2ex} % 3cm as an example [EMAIL PROTECTED] [EMAIL PROTECTED] {\mySpaceOver}% {\mySpaceUnder}% {\normalfont\Large\bfseries}} \makeatother
I changed 'section' to subsection in the above code. But when I try to view the dvi output, it says the resulting document is empty. If I try to view it a second time, I receive no error message but the changes do not take effect. Can someone help me with this?
The second problem I am having is in the TOC. I need the vertical space after the chapter title to be double instead of single spaced. For example,
1 Introduction........................... 1 [change space here to be double instead of single] 1.1 blah.................................. 2 1.2 blah.................................. 3
I am using lyx 1.3.3 in the report class. Any help for these two problems would be greatly appreciated. Thanks.
Brad
