Giter Club home page Giter Club logo

Comments (3)

matthiasdiener avatar matthiasdiener commented on July 24, 2024

Le patch (on top of the fix for #7) :

diff --git a/inputs/iiufrgs.cls b/inputs/iiufrgs.cls
index e79cca9..0217c73 100644
--- a/inputs/iiufrgs.cls
+++ b/inputs/iiufrgs.cls
@@ -385,6 +385,7 @@
 % Ajuste do sumário (nada indentado)
 %==============================================================================

+\setcounter{tocdepth}{4}
 \newcommand\samepagechapter{
                     %\thispagestyle{plain}%
                     \global\@topnum\z@
@@ -413,9 +414,11 @@

 \newlength{\seclen}\settowidth{\seclen}{\textbf{2.2~}}
 \newlength{\subseclen}\settowidth{\subseclen}{2.2.2~}
+\newlength{\subsubseclen}\settowidth{\subsubseclen}{2.2.2.2~}
 \renewcommand*{\l@section}[2]
               {\@dottedtocline{1}{0em}{\seclen}{\textbf{#1}}{\hss #2}}
 \renewcommand*{\l@subsection}{\@dottedtocline{2}{0em}{\subseclen}}
+\renewcommand*{\l@subsubsection}{\@dottedtocline{3}{0em}{\subsubseclen}}
 \newif\if@aftertoc
 \@aftertocfalse
 \renewcommand{\tableofcontents}{%

from infufrgs.

mgmillani avatar mgmillani commented on July 24, 2024

Paragraphs now appear on the table of contents, and they seem rather unaligned (look at cic-tc.pdf from the examples). I don't know if paragraphs should appear on the table of contents, since the standards don't say anything about it, the example document doesn't have paragraphs and I don't have access to the document NBR 6027 from ABNT.

If you manage to remove the paragraphs from the table of contents, it would be ok.

from infufrgs.

matthiasdiener avatar matthiasdiener commented on July 24, 2024

Whoops.... this is the right line to show subsubsections, but not paragraphs:
+\setcounter{tocdepth}{3}

from infufrgs.

Related Issues (20)

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.