# How to extend the footer to include the margin notes

My memoir document has a relatively narrow typeblock (90mm) and a wide margin (55mm) for annotations, with a \marginparsep of 15mm.
I want the footer to cover both the typeblock and the annotation block, so it should be 90+15+55=160mm wide.
When I try to do this with \makerunningwidth, the footer is extended in both margins:

\documentclass[twoside,a4paper,article]{memoir}
\usepackage{kantlipsum}
\setlrmarginsandblock{30mm}{90mm}{*}
\setmarginnotes{15mm}{55mm}{\onelineskip}
\checkandfixthelayout[nearest]
\typeoutlayout
\makepagestyle{test}
\makerunningwidth{test}{160mm} % typeblock + \marginparsep + \marginparwidth
\makeevenfoot{test}{\thepage}{}{spine}
\makeoddfoot{test}{edge}{}{\thepage}
\pagestyle{test}

\begin{document}
Hello. \marginpar{\kant[40]}\kant[1-5]
\end{document}


How can I extend the footer only in the direction of the edge, leaving the spine margin untouched?

-

You should have a look at the Ruled page style in the memoir source. You need this:
\makeheadposition{test}{flushright}{flushleft}{flushright}{flushleft}

You may need the optional argument: \makerunningwidth{test}[160mm]{90mm}, as a wild guess, to set the widths for header and footer to different values. Beware of what you wish for, as it may turn out hideous :). –  Brent.Longborough May 17 '12 at 16:41