hello
I am working on my dissertation using latex. I have some difficulties in toc format.
I need double space between header "chapter" and "chapter 31" as shown below.
Also I want to delete the highlights and move "Chapter" up as shown below
Here are the tex and sty file as the mwe.
Thanks for your help.
Page Layout ⇒ ToC Formatting
ToC Formatting
Had a quick look at your code and noticed the following:
To solve your second question, replace that with
As far as your first question concerns: I'm not really familiar with memoir (assuming that 'chapter' string comes from memoir), so can't help you with that.
Code: Select all
\addcontentsline{toc}{chapter}{CHAPTER}
Code: Select all
\addtocontents{toc}{CHAPTER\par}
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
Follow howtoTeX on twitter
ToC Formatting
Please try this.
CHAPTER \\ for one space and \\ \\ for two space and continue. It worked for me.
CHAPTER
\\
31. Chapter 4
This gives required spacing.
CHAPTER \\ for one space and \\ \\ for two space and continue. It worked for me.
CHAPTER
\\
31. Chapter 4
This gives required spacing.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
ToC Formatting
\\
is for ending a line. It's not for adding vertical space, it may be misused that way, such as with \\ \\
etc.\par would end a paragraph, and would add a paragraph skip if that's configured.
\par\vspace{\baselineskip}
would end the paragraph and adds a vertical space of a line height.Stefan
LaTeX.org admin
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
ToC Formatting
You should never add more than one
BTW: A very easy, real solution for the original problem with the first ToC page would be to remove
from pwasu.tex (line 111) and change:
in pwasu.sty (line 167f) into:
The problem at the second, third etc. page of the ToC is a result of the to low vertical separation of the page head and the text area. This can be solved removing line 73:
from pwasu.sty.
\\
. It could result in "there's no line to end here" errors and in empty lines at the beginning of a page. To add extra space, you can either use the optional argument of \\
or \vspace
.BTW: A very easy, real solution for the original problem with the first ToC page would be to remove
Code: Select all
\addtocontents{toc}{\protect\thispagestyle{toc}}
Code: Select all
\renewcommand*{\aftertoctitle}{\thispagestyle{plain}%
\par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}
Code: Select all
\renewcommand*{\aftertoctitle}{\thispagestyle{plain}%
\par\nobreak {\normalfont Chapter}\hfill{\normalfont Page}\par\nobreak}
Code: Select all
\addtolength{\headsep}{-\topskip}
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. 
