Page Layout ⇒ Trouble Customizing the ToC
Trouble Customizing the ToC
Hi. I'm using the memoir document class (if that matters) and can't seem to custom the table of contents. One thing I'd like to do is remove the dots between headings and page numbers, but nothing seems to work. After looking around online, and in the memoir manual, I put this in my preamble:
But after running xelatex (twice) the dots are still there. Any ideas? Many thanks!
But after running xelatex (twice) the dots are still there. Any ideas? Many thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10323
- Joined: Mon Mar 10, 2008 9:44 pm
Trouble Customizing the ToC
Hi cjohnson,
welcome to the board!
You could use
Or more LaTeX-like
Stefan
welcome to the board!
You could use
Code: Select all
\let\cftdotsep\cftnodots

Code: Select all
\renewcommand*{\cftdotsep}{\cftnodots}
LaTeX.org admin
Re: Trouble Customizing the ToC
Well, that did it! Thanks!
Any ideas why my command wasn't working, though? I pulled it from page 193 of the memoir manual, and was getting really frustrated that it didn't want to work.
Any ideas why my command wasn't working, though? I pulled it from page 193 of the memoir manual, and was getting really frustrated that it didn't want to work.
- Stefan Kottwitz
- Site Admin
- Posts: 10323
- Joined: Mon Mar 10, 2008 9:44 pm
Trouble Customizing the ToC
\@dotsep is used by standard LaTeX, \cftdotsep is used by tocloft and by the memoir class.cjohnson wrote: Any ideas why my command wasn't working, though?
Stefan
LaTeX.org admin
Trouble Customizing the ToC
Ah, alright. Now, I'm pulling an example from the tocloft manual:
But then I get "\cfttoctitlefont Undefined". Any ideas? Thanks again!
Code: Select all
\renewcommand{\cfttoctitlefont}{\hfill\Large\itshape}
- Stefan Kottwitz
- Site Admin
- Posts: 10323
- Joined: Mon Mar 10, 2008 9:44 pm
Trouble Customizing the ToC
Obviously that feature is not supported by the memoir class.cjohnson wrote: But then I get "\cfttoctitlefont Undefined".
Stefan
LaTeX.org admin
Re: Trouble Customizing the ToC
Ah, okay. I was under the impression that memoir completely emulated tocloft.