Re: appendice nell’indice

#30667
Up
0
Down
::

così mi da giustamente minuscolo in sommario e maiuscolo in testatina, che perà si sposta a lato e si va a sovrapporre con il numero..

ma devo lasciare anche `\edef\thechapter{\unkern\uppercase{\appendixname}}\def\textnormal\chaptername{}}`?

se lo lascio non so dove metterlo di preciso. sono in totale balìa del computer.

Ti do la versione completa:
`\makeatletter
\renewcommand{\tocchapter}[3]{%
\indentlabel{\bfseries\@ifnotempty{#2}{\ignorespaces#2.\quad}}%
\@putspacebelow\textbf{#3}}
\newcommand{\@putspacebelow}{\vadjust{\kern.5ex}}
\renewcommand{\tocappendix}[3]{%
\indentlabel{\bfseries\@ifnotempty{#2}{\ignorespaces\appendixname.\quad}}%
\@putspacebelow\textbf{#3}}
\g@addto@macro\appendix{\cleardoublepage\renewcommand\thechapter{\unkern}\changerunhead}
\def\changerunhead{%
\def\chapterrunhead##1##2##3{%
\@ifnotempty{##2}{\hfil\uppercase{\ignorespaces##1 ##2\unskip}}%
\def\@tempa{##3}%
\ifx\@empty\@tempa\else
\begingroup \def\\{ \ignorespaces}% defend against questionable usage
\uppercasenonmath\@tempa\@tempa
\endgroup
\fi}%
}
\makeatother`
Per i teoremi dell’appendice ti conslgio di usare un ambiente apposito, qualcosa come
`\newtheorem{thmapp}{Teorema}`
che così saranno numerati in modo semplice. Se volessi numerarli con App.1 e così via, basta scrivere dopo quella dichiarazione
`\renewcommand{\thethmapp}{App.\arabic{thmapp}}`
Ciao
Enrico

Go to top