I'm new to the forums and I'm writing a custom class based on
article
class. I would like to insert a rule in the footer along the text width, but the result of the code fraction below yields a rule with 3/4 text width length.Code: Select all
\fancypagestyle{firstpage}{
\fancyhf{} % clear all headers and footers
\headheight=1cm %12pt normal
\headsep=2cm %25pt normal
\fancyhead{}
\fancyhead[CO]{\begin{tabular}{|c|>{\centering\arraybackslash}m{9.8cm}|c|c|}
\hline
\multirow{4}{*}{\parbox[c]{4em}{\includegraphics[width=1.6 cm, height=1.6 cm]{logo.png}}}
& \multirow{4}{*}{\parbox[c]{8cm}{\center\footnotesize\textbf{\@titulonit}}} & \footnotesize\textbf{NORMA N$^o$} &
\footnotesize\textbf{REV.
N$^o$} \\
& & \footnotesize\textbf{NIT-\@divisao-\@nonorma} & \footnotesize\textbf{\@nrevisao} \\ \cline{3-4}
& & \footnotesize\textbf{APROVADA} & \footnotesize\textbf{P\'AGINA} \\
& & \footnotesize\textbf{\@dataaprov} & \footnotesize\textbf{\thepage/\pageref{LastPage}}\\ \hline
\end{tabular}}
\fancyfoot{}
%
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0pt}
}