Hello.
On Sun, Nov 22, 2009 at 4:59 AM, Michael Rudolf
<
s060...@mail.inf.tu-dresden.de> wrote:
>> > Furthermore, it seems as if the appendix entries in the table of
>> > contents use a slightly larger font, but this could also be a
>> > subjective impression. However, thanks for the work so far!
>>
>> They appear to measure the same size on my end. Are you using the
>> default fonts? If you do notice a difference in the sizes, please
>> attach an example and I'll try to figure out what's up.
>
> Yes, I have been using the example file you attached, no font changes
> there. I removed the second chapter and the second appendix and
> renamed the first chapter and appendix to only contain a single letter
> (e.g., TTTTTTTTTT). The table of contents uses a larger font for the
> appendix name than for the regular chapter, you can see that from the
> space required by a single letter. Unfortunately I do not seem to have
> the rights to attach files to this post, otherwise I would have sent
> the PDF file along for you to have a look.
I've adjusted my sample document to match your description (see
attached), and I'm not noticing the difference in size. If you like,
you can email me a copy of your PDF and sample document privately (to
<
god...@gmail.com>) and I'll investigate it further.
> Another thing that bugs me now is that sections, tables and figures in
> the appendices are numbered differently: the numbering is reset and
> the Appendix number is included, as in section A.1. I found out that
> this has something to do with the line \setcounter{secnumdepth}{1},
> setting it to 0 removes at least the section numbering but leaves the
> inconsistent figure and table numbering, while setting it to -1 or
> deleting the line messes up the newly gained appendix typesetting.
Ah, that's true. One of the frustrating things about LaTeX is that
they conflate a lot of actions into a single command. This makes for
convenient defaults, but is sometimes difficult to override.
I've added the following line to our new \appendix command:
\renewcommand{\thefigure}{\@arabic\c@figure}% define \thefigure to
use only the figure number (1), not A.1
This will fix the formatting of the figure number. (We'll do the same
for tables.)
Using the remreset package, we can stop LaTeX from resetting the
figure/table numbers to 0. (See the \@removefromreset commands.)
Let me know if you run into any more problems with this code. I
haven't tested it thoroughly. (For instance, if you're using
equations, we may have to tweak their counters and numbering as well.)
--Kevin