Giter Club home page Giter Club logo

modelo-de-tese-ita's People

Contributors

rvlobato avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

rshigemura

modelo-de-tese-ita's Issues

Sugiro modificar o arquivo ita.cls para corrigir contagem de apêndice e anexos.

Abaixo tenho um código que funciona para mim.

` % Create separate counters for appendices and annexes
\newcounter{appchapter}
\newcounter{annchapter}

%==============================================================================
%%% Redefinicao do comando \appendix para mostrar 'Apêndice' ou 'Anexo'
%%% no Sumario
%==============================================================================
\renewcommand{\appendix}{%
\cleardoublepage
\providecommand\anexoautorefname{appendix}
\setcounter{section}{0}%
\def\Hy@appendixstring{appendix}% %%novo string no *.toc, para fazer o hyperlink funcionar
\def\anexo{%
@ifundefined{chapter}%
{\gdef\theHsection{\Alph{appchapter}}}%
{\gdef\theHchapter{\Alph{appchapter}}}%
\xdef\Hy@chapapp{\Hy@appendixstring}%
\gdef@chapapp{\appendixname}%
\addtocontents{toc}{\SetAppendixTocName{\appendixname}}%
\gdef\thechapter{@alph\c@appchapter}% <-- Use appendix counter
}
\setcounter{appchapter}{0}% <-- Reset appendix counter (moved outside of \anexo)
\stepcounter{appchapter}% <-- Increment appendix counter (moved outside of \anexo)
\anexo
}

%==============================================================================
%%% Acrescenta o comando SetappendixTocName ao toc
%==============================================================================
\DeclareRobustCommand{\SetAppendixTocName}[1]{\gdef\AppendixTocName{#1}}

%==============================================================================
%%% Novo comando: \annex
%==============================================================================
\newcommand{\annex}{%
\cleardoublepage
\providecommand\anexoautorefname{annex}
\setcounter{section}{0}%
\def\Hy@appendixstring{annex}% %%novo string no *.toc, para fazer o hyperlink funcionar
\def\anexo{%
@ifundefined{chapter}%
{\gdef\theHsection{\Alph{annchapter}}}%
{\gdef\theHchapter{\Alph{annchapter}}}%
\xdef\Hy@chapapp{\Hy@appendixstring}%
\gdef@chapapp{\nameannex}%
\addtocontents{toc}{\SetAppendixTocName{\nameannex}}%
\gdef\thechapter{@alph\c@annchapter}% <-- Use annex counter
}
\stepcounter{annchapter}% <-- Increment annex counter (moved outside of \anexo)
\anexo
}`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.