\IBGEtab com longtable

491 views
Skip to first unread message

Alexandre

unread,
Jan 8, 2020, 7:00:50 AM1/8/20
to Latex-br
Bom dia a todos,

Vendo o manual do abntex2, vi que o \IBGEtab ainda não funciona com longtable (ainda bem que está escrito isso, porque eu estava quebrando a cabeça por horas antes de ler o manual).

Ao procurar dicas aqui no grupo, algumas pessoas sugeriram descartar o IBGE se não fosse totalmente necessário, mas eu gostaria de perguntar se tem jeito de utilizar ambos (longtable e \IBGEtab), ainda que seja por gambiarra.


Em anexo, um modelo criado pelo colega Wagner. Se remover \IBGEtab e \begin{table}, o tabela compilada quebra página certinho.

abntex2-modelo-artigo.tex

Kleber S.

unread,
Jan 9, 2020, 8:12:42 PM1/9/20
to Latex-br
Eu utilizo memoir, pois adotei o biblatex-abnt, mas para gerar tabelas no formato do IBGE utilizo o seguinte código:

\begin{longtable}{p{4.3cm} p{6.1cm} p{4.3cm}}

    \caption{TITULO DA TABELA.}
    \label{ROTULO}\\   
    \multicolumn{3}{r}{\raggedleft\arraybslash (continua)}\\   
    \hline
    \centering \textbf{TITULO COLUNA 1} &    \centering \textbf{TITULO COLUNA 2} & \centering\arraybslash{\textbf{TITULO COLUNA 3}}\\   
    \hline
   
\endfirsthead       
   
    \caption[]{TITULO DA TABELA.}\\  
    \multicolumn{3}{r}{\raggedleft\arraybslash (continuação)}\\   
    \hline
    \centering \textbf{TITULO COLUNA 1} &    \centering \textbf{TITULO COLUNA 2} & \centering\arraybslash{\textbf{TITULO COLUNA 3}}\\   
    \hline
   
\endhead           
   
    \caption[]{TITULO DA TABELA}\\   
    \multicolumn{3}{r}{\raggedleft\arraybslash (conclusão)}\\   
    \hline
    \centering \textbf{TITULO COLUNA 1} &    \centering \textbf{TITULO COLUNA 2} & \centering\arraybslash{\textbf{TITULO COLUNA 3}}\\   
    \hline
   
\endlasthead
   
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% CONTÉUDO DA TABELA/QUADRO   
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

texto &
texto &
texto\\

texto &
texto &
texto\\

\hline
   
\caption*{Fonte: o autor.}   

\end{longtable}

Alexandre Lin

unread,
Jan 10, 2020, 6:46:51 AM1/10/20
to late...@googlegroups.com
Caro Kleber, ficou bacana esse modelo. Obrigado por compartilhar!

--
Você recebeu essa mensagem porque está inscrito em um tema no grupo "Latex-br" dos Grupos do Google.
Para cancelar inscrição nesse tema, acesse https://groups.google.com/d/topic/latex-br/-ltWg0E8AaM/unsubscribe.
Para cancelar inscrição nesse grupo e todos os seus temas, envie um e-mail para latex-br+u...@googlegroups.com.
Para ver essa discussão na Web, acesse https://groups.google.com/d/msgid/latex-br/5ab871ab-4fd0-4f18-8a7e-9073ef3389aa%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages