Tamanho da Tabela

2,614 views
Skip to first unread message

Pabblo Lucas

unread,
Apr 8, 2017, 2:50:45 PM4/8/17
to Latex-br
Olá a todos.

Estou escrevendo meu artigo em Latex e com dificuldades para fazer a inserção de uma tabela. Preciso que esta tabela fica mais larga para melhor apresentação dela, ou seja, preciso aumentar a largura das colunas, mas não estou conseguindo de forma alguma.

O meu comando é esse:

\begin{table}[H]
\centering
\caption{Comparação Estimação MQO e GMM (2000:01 – 2016:12) (Série para inflação acumulada}
\label{tab_sticky}
\begin{tabular}{lclcc}
\multirow{2}{*}{Parâmetros} & \multicolumn{2}{c}{MQO}                                              & \multicolumn{2}{c}{GMM*}                                                               \\
                            & \multicolumn{1}{l}{Coeficente}                              & Prob   & \multicolumn{1}{l}{Coeficiente}                             & \multicolumn{1}{l}{Prob} \\ [3pt] \hline
c                           & \begin{tabular}[c]{@{}c@{}}0,0634 \\ (0,0319)\end{tabular}  & 0,0487 & \begin{tabular}[c]{@{}c@{}}0,0263\\   (0,0216)\end{tabular} & 0,224                    \\ [3pt]
Inflad                      & \begin{tabular}[c]{@{}c@{}}0,0129\\   (0,0078)\end{tabular} & 0,0999 & \begin{tabular}[c]{@{}c@{}}0,0098\\   (0,0052)\end{tabular} & 0,0587                   \\ [3pt]
Inflad2                     & \begin{tabular}[c]{@{}c@{}}0,0005\\   (0,0012)\end{tabular} & 0,6967 & \begin{tabular}[c]{@{}c@{}}0,0002\\   (0,001)\end{tabular}  & 0,8382                   \\ [3pt]
Hiato                       & \begin{tabular}[c]{@{}c@{}}0,0082\\   (0,0048)\end{tabular} & 0,087  & \begin{tabular}[c]{@{}c@{}}0,0074\\   (0,0029)\end{tabular} & 0,0131                   \\ [3pt]
Hiato2                      & \begin{tabular}[c]{@{}c@{}}0,0015\\   (0,0018)\end{tabular} & 0,3837 & \begin{tabular}[c]{@{}c@{}}0,0008\\   (0,0013)\end{tabular} & 0,5252                   \\ [3pt]
Selic (-1)                  & \begin{tabular}[c]{@{}c@{}}0,4149\\   (0,0619)\end{tabular} & 0,0000 & \begin{tabular}[c]{@{}c@{}}0,8734\\   (0,1347)\end{tabular} & 0,0000                   \\ [3pt]
Selic (-2)                  & \begin{tabular}[c]{@{}c@{}}0,5015\\ (0,0607)\end{tabular}   & 0,0000 & \begin{tabular}[c]{@{}c@{}}0,0845 \\ (0,1354)\end{tabular}  & 0,0000                   \\ [3pt] \hline
\end{tabular}
\end{table}

Em anexo segue uma imagem de como a tabela está ficando.

Se alguém puder me ajudar, agradeceria muito.

MQO e GMM.png

Wagner F Silva

unread,
Apr 8, 2017, 3:42:54 PM4/8/17
to late...@googlegroups.com
Boa tarde,

Veja se ajuda

\documentclass{memoir}

\usepackage{array}     % Elementos extras para formatação de tabelas

\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
 
 \begin{document}
    
     \begin{SingleSpace}
         \begin{table}%[!htpb]
             \centering
             \caption{Tabula com colunas de largura fixa usando pacote array}
             \label{t_fixa-dois}
            
             \begin{tabular}{|L{3cm}|C{3cm}|R{3cm}|} \hline
                 Esta coluna tem largura de 3cm alinhada a esquerda & Esta coluna tem largura  de 3cm centralizada & Esta coluna tem largura  de 3cm alinhada a direita \\ \hline
             \end{tabular}
             \legend{\footnotesize Fonte: Elaborado pelo autor}
             %    \vspace{-0.4cm}
             %    \legend{\footnotesize Nota: Aqui alguma informação relevante}
         \end{table}
     \end{SingleSpace}
 \end{document}



Wagner F. Silva
Cont. CRC/MG 77689
Perito Judicial
Adm. Judicial
37 9 9918 1608


--
You received this message because you are subscribed to the Google Groups "Latex-br" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latex-br+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/b3e3ef03-c77a-4cd9-8641-0a1925d562ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages