Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrigido espaços em branco sendo adicionados sem motivo #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions tex/latex/abntex2/abntex2.cls
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,11 @@

% tamanhos de fontes de chapter e part
\ifthenelse{\equal{\ABNTEXisarticle}{true}}{%
\setlength\beforechapskip{\baselineskip}
\renewcommand{\chaptitlefont}{\ABNTEXsectionfont\ABNTEXsectionfontsize}
\setlength\beforechapskip{\baselineskip}%
\renewcommand{\chaptitlefont}{\ABNTEXsectionfont\ABNTEXsectionfontsize}%
}{%else
\setlength{\beforechapskip}{0pt}
\renewcommand{\chaptitlefont}{\ABNTEXchapterfont\ABNTEXchapterfontsize}
\setlength{\beforechapskip}{0pt}%
\renewcommand{\chaptitlefont}{\ABNTEXchapterfont\ABNTEXchapterfontsize}%
}

\renewcommand{\chapnumfont}{\chaptitlefont}
Expand All @@ -595,7 +595,7 @@

% impressao do nome do capitulo
\renewcommand{\printchaptername}{%
\chaptitlefont
\chaptitlefont%
\ifthenelse{\boolean{abntex@apendiceousecao}}{\appendixname}{}%
}

Expand All @@ -610,25 +610,25 @@
}{%
\settowidth{\chapternamenumlength}{\printchaptername\printchapternum\afterchapternum}%
\parbox[t]{\columnwidth-\chapternamenumlength}{\ABNTEXchapterupperifneeded{##1}}}%
}
}%
}

% impressao do numero do capitulo
\renewcommand{\printchapternum}{%
\tocprintchapter
\setboolean{abntex@innonumchapter}{false}
\tocprintchapter%
\setboolean{abntex@innonumchapter}{false}%
\chapnumfont%
\space\thechapter\space%
\ifthenelse{\boolean{abntex@apendiceousecao}}{%
\tocinnonumchapter
\tocinnonumchapter%
\ABNTEXcaptiondelim%
}{} % else
}{}%
}
\renewcommand{\afterchapternum}{}

% impressao do capitulo nao numerado
\renewcommand\printchapternonum{%
\tocprintchapternonum
\tocprintchapternonum%
\setboolean{abntex@innonumchapter}{true}%
}
}
Expand Down