TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I asked a question yesterday. Thanks for the help. It turns out I only need to remove the leader dots AND the page number associated with "CHAPTER". This is using the memoir class and also uses a .sty file. I know this is not a minimal working example, but I don't know which line(s) of code are the problem. I have messed with them all...

Here is the main file


Here is relevant stuff in the pw1.sty file

\renewcommand{\contentsname}{TABLE OF CONTENTS}
    \par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}
\setlength{\cftbeforechapterskip}{0pt plus 0pt}

This is what I get:


One other problem I am having is that the Chapter on page2 of the TOC is not all caps and needs to be. This one should be simple, but...


share|improve this question
Hi, are you the same person which posted this question: tex.stackexchange.com/questions/33673/memoir-class-toc-question. If so, please tell us then we will merge the accounts. Thanks. – Martin Scharrer Nov 6 '11 at 0:49
@MartinScharrer: Based on the comment to @ egreg's answer, I would say yes, but I guess it's best to make sure from the OP. – Werner Nov 6 '11 at 1:32

If you need to remove the chapter page numbers, then


is what's needed. To get automatically uppercased titles, I found out this hack:

share|improve this answer
Hi. Thanks for the help. I have one (I wish) remaining problem right now that I am struggling with that I have been working on all day. Every page in my document has a 1" top margin EXCEPT the toc, lot and lof. These are all less than 1". I have tried everything I can find. Nothing seem to budge it such /vspace etc. This is memoir class. Please see my earlier post or I can add example. Any help will be appreciated! – brucebond007 Nov 5 '11 at 22:03
@brucebond007 Without a "real" example it's difficult to say; but I'd blame the pagestyle you're defining for them. – egreg Nov 5 '11 at 22:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.