Document ClassesMemoir -- Unused global option(s) ???

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Memoir -- Unused global option(s) ???

Post by lrp »

Hi,

Memoir looks like a promising class for several projects I have in mind. So, I started a systematic study but, got no further than page 3 in Peter Wilson's The Memoir Class before I ran into questions.

I set up the following test *.tex file:

\documentclass[ebook,9pt,extrafontsizes,oneside,final]{article}
\usepackage{lettrine}
\begin{document}

% \title{\sffamily\selectfont{\huge{This is my title}}}
\title{\textsf{\textmd{\huge{This is my title}}}}
\author{Artie P. Author}
\date{}
\maketitle

\lettrine[lines=1, lhang=.3]{N}{otice that} the name of the command you are changing or renewing goes in the first set of curly braces and the new value goes

yada yada ..

\end{document}

Works, but I get this warning:

LaTeX Warning: Unused global option(s):
[ebook,9pt,extrafontsizes].

No warning with letterpaper and 10pt or 12pt options.

I checked out my .../tex/latex/memoir directory and I see *.clo files for 9pt, 10pt, 11pt, 12pt, 14pt, and 17pt.

Seems that that the 9pt option should work. But why not?

And why aren't the ebook and extrafontsizes options used?

Many thanks,

LRP.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: Memoir -- Unused global option(s) ???

Post by phi »

If you want to use memoir you have to specify that: Write \documentclass[...]{memoir} instead of \documentclass[...]{article}.
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Re: Memoir -- Unused global option(s) ???

Post by lrp »

Thanks, phi,

Yes, that was pretty stupid. But... now I get:

! LaTeX Error: Command \footruleskip already defined.
Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.302 ...and{\footruleskip}{.3\normalbaselineskip}

Looking up \footruleskip, I see it's defined in \fancyhdr. So, when I comment out \fancyhdr, memoir starts to work for me.

Thanks again for pointing out my mental lapse.

LRP
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Memoir -- Unused global option(s) ???

Post by localghost »

Provide a minimal working example (MWE) that exactly reproduces this error message. Please use the code environment to tag longer pieces of source code.


Best regards
Thorsten
Post Reply