R grdunik <
grdsubsc...@gmail.com> writes:
> On Dec 2, 9:35 pm, Dan Luecking <
LookIn...@uark.edu> wrote:
>> On Fri, 2 Dec 2011 11:24:56 -0800 (PST), R grdunik
>> <
grdsubscripti...@gmail.com> wrote:
>>
>> >How can I have more than 26 appendices within a document? Up to 26
>> >seems to be ok but I need to have about 60 appendices.
>>
>> What are your requirements? I would simply
>> \renewcomand{\theappendix}{\arabic{appendix}}
>> and have them come out Appendix 1 through Appendix 60.
>>
>> It seams silly to insist on letters, but if you must, the
>> package alphalph provides \AlphAlph to produce A through Z
>> and then AA through AZ, BA through BZ, etc.:
>>
>> \usepackage{alphalph}
>> \renewcommand{\theappendix}{\AlphAlph{\value{appendix}}}
>
> To get Appendix 1 through Appendix 60, I used the following as you
> have suggested:
>
> \appendix
> \renewcommand\theappendix{\arabic{appendix}}
>
> I have also added \usepackage{appendix} in preamble. However, I get
> the following error message
>
> ! LaTeX Error: \theappendix undefined.
if your document uses \chapter, say
\appendix
\renewcommand\thechapter{\arabic{chapter}}
and if it uses \section{}s but no \chapter{}s,
\appendix
\renewcommand\thesection{\arabic{chapter}}
this will work with the appendix package, too.
(note the same sort of thing will apply to the \AlphAlph solution if you
go for that:
\renewcommand{\theappendix}{\AlphAlph{\value{chapter}}}
or \value{section} as appropriate.)
--
Robin Fairbairns, Cambridge
my address is @
cl.cam.ac.uk, regardless of the header. sorry about that.