1

I'm a LaTeX newbie and my someone on my university has made a custom LaTeX class, and I'm using it to make a dissertation.

However, the space between the chapter title and the content is way too much. I tried go looking on the .cls file to change it, but no luck since I don't know much.

What should I look on the class files to change it, or a way to override that setting on my document?

1 Answers1

2

With help from the comments I found it, the class redefined @makechapterhead and I had to change \vspace

\def\@makechapterhead#1{%
 {%
 %  \noindent\rule{\textwidth}{1.7pt}\\\par
 \normalfont\ABNTchaptersize\ABNTchapterfont%
 \espaco{simples}%
 \vspace*{5pt}%
 \noindent%
 \parbox[b]{\textwidth}{%
   \parbox[t]{2ex}{\thechapter}%
   \parbox[t]{\textwidth-4ex-1ex}%
    {\interlinepenalty\@M\raggedright%
    \ifthenelse{\boolean{ABNTcapchap}}%
      {\MakeUppercase{#1}}%
      {#1}
  }%
\vspace*{0cm}
}\\[2pt]%
\vspace{10pt}%
}%
}