[texhax] memoir page head confusion

Peter Seibel peter at gigamonkeys.com
Wed May 27 21:35:05 CEST 2009


On Wed, May 27, 2009 at 11:55 AM, Reinhard Kotucha
<reinhard.kotucha at web.de> wrote:
> On 26 May 2009 Peter Seibel wrote:
>
>  > Do you (or anyone else here) happen to know the LaTeX equivalent then
>  > for the \llap{...} foo above? Or even some memoir specific way to do
>  > what I want (which is to have the page number out in the margin
>  > followed by a title left justified with the textblock.)
>
> \makebox[0pt][l]{\thepage\hspace{6pt}}

Hmmm. I must be screwing up something up. This is what I had which
works the way I want:

\makeevenhead{headings}{\leavevmode\headlinefont\llap{\pagenumberfont\thepage\hskip
6pt} \leftmark\hfill}{}{}

In this one I replace the \llap bit with your suggestion:

\makeevenhead{headings}{\leavevmode\headlinefont\makebox[0pt][l]{\pagenumberfont\thepage\hspace{6pt}}
\leftmark\hfill}{}{}

but the number doesn't stick out in the margin--it overlaps the \leftmark text.

-Peter

>
> Regards,
>  Reinhard
>
> --
> ----------------------------------------------------------------------------
> Reinhard Kotucha                                      Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover                              mailto:reinhard.kotucha at web.de
> ----------------------------------------------------------------------------
> Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
> ----------------------------------------------------------------------------
>



-- 
Peter Seibel
http://www.codersatwork.com/
http://www.gigamonkeys.com/blog/


More information about the texhax mailing list