Newsgroups: comp.text.tex
From: Tim Arnold <Tim.Arn...@sas.com>
Date: Thu, 01 Nov 2012 12:15:59 -0400
Local: Thurs, Nov 1 2012 12:15 pm
Subject: Re: latex class structure
On 10/31/2012 5:19 PM, Dan Luecking wrote:
> On Wed, 31 Oct 2012 12:09:36 -0700 (PDT), Tim<jtim.arn...@gmail.com>
Hi Dan,
> wrote: >> I have a custom class that is based on the memoir class. My question is when should I load memoir? My current structure is:
>> LoadClass[some options]{memoir}
>> RequirePackage{several lines of packages}
>> DeclareOptionX{lots of options defined} % (using xkeyval)
>> memoir settings defined
>> Now I find I need to create a new option and pass it to memoir, so I'll have to move its loading to after my option processing.
>> Is there any rule about the order in which these things are done? In hindsight I guess that option processing should generally come first.
>> Any rules of thumb about setting up class structure, esp when loading another class?
>> thanks,
> Use
> Then load memoir after option processing, i.e., after \ProcessOptions
> Or, to pass all options you have not otherwise declared:
> Dan
That is what I had in my mind, but only 'fuzzily'. Thanks for the explicit example--it is exactly the kind of info I was looking for. thanks,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||