[OS X TeX] Disemulate Package in Memoir

Martin Costabel costabel at wanadoo.fr
Tue Apr 10 22:17:34 EDT 2012


On 10/04/12 22:57, Jesper Duemose Nielsen wrote:
> Hi guys
>
> I have been trying to disemulate an emulated package in memoir (because I want to load the package manually with options afterward), e.g.:
>
> \documentclass[article]{memoir}
> \DisemulatePackage{appendix}

The only thing \DisemulatePackage{appendix} does is it re-enables you to 
\usepackage{appendix} afterwards. This will not work, however. You can 
do the following:

To put "Appendix" on the toc line, place
\renewcommand*{\cftappendixname}{\appendixname~}
in your preamble.

To put "Appendix" in front of the appendix number in the body, place
\renewcommand*{\chapternamenum}{\chaptitlefont\appendixname~}
after \begin{appendices}.

This comes from reading the source of the memoir class.
However, it seems that what memoir wants you to do instead of the above 
is to use the \appendixpage command.

-- 
Martin





More information about the MacOSX-TeX mailing list