Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

memoir: location of page numbers, table of contents

418 views
Skip to first unread message

Christoph

unread,
Mar 30, 2006, 10:17:57 AM3/30/06
to
hello,

i am using the memoir class and my toc is mor than one page long. on
the first page of the toc the page number appears in the bottom's
middle, whereas on the following pages it is on the top's left.
how can i make the page numbers always be located on the top's left?

christoph

Christoph

unread,
Apr 2, 2006, 8:13:04 PM4/2/06
to
does nobody really have a clue how to solve this problem?
i highly appreciate any help.

ciao,
christoph

Lars Madsen

unread,
Apr 3, 2006, 3:21:59 AM4/3/06
to

please see page 111 in the memoir manual, at the very top is your answer.

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal working examples.

Christoph

unread,
Apr 3, 2006, 5:46:37 AM4/3/06
to
okay, i have found the appropriate command in the manual:
\renewcommand{\afterZtitle}{\thispagestyle{empty}\afterchaptertitle}

but where do i include this command? i suppose it has to appear before
the command \tableofcontents, right?
but this gives me the errror message
\afterZtitle undefined

what am i doing wrong?

Anton P.

unread,
Apr 3, 2006, 6:11:44 AM4/3/06
to
> > i am using the memoir class and my toc is mor than one page long. on
> > the first page of the toc the page number appears in the bottom's
> > middle, whereas on the following pages it is on the top's left.
> > how can i make the page numbers always be located on the top's left?

I don't know anything about the memoir class, but with the usual LaTeX
classes the fancyhdr package could fix this, although the advice below will
affect the first page of /all/ chapters (and chapter-like blocks), not just
the first page of the TOC. Define

\fancypagestyle{plain}{
....
}

to include an instruction to place the page number where you want it.
(Consult the fancyhdr documentation.)

Best wishes,
Anton P.


Christoph

unread,
Apr 3, 2006, 6:38:13 AM4/3/06
to
the thing about the memoir class is that it is a collection of various
packages such as fancyhdr. from what i have read in the memoir manual,
the fancyhdr features should be included. however, the command sugested
above does not work properly and results in an error message telling
that the command is undefined.

Lars Madsen

unread,
Apr 3, 2006, 6:38:24 AM4/3/06
to

would you please read the text before you copy from it.

Z is either toc, lof or lot

you should use

\renewcommand{\aftertoctitle}{\thispagestyle{empty}\afterchaptertitle}

in the preamble

Christoph

unread,
Apr 3, 2006, 7:14:28 AM4/3/06
to
shame on me! thank you so much for your help, lars.
next time i will read the manual before copying commands blindly.

however, in my case i had to use
\renewcommand{\aftertoctitle}{\thispagestyle{myheadings}\afterchaptertitle}
because i want the page number to appear.

0 new messages