4

The following code only changes the font of placeholder rather than my texts in the table. Any method to fix that? thanks for the help!

\documentclass[12pt]{article}
\usepackage{longtable}
\usepackage[nolists,noheads]{endfloat}
\DeclareDelayedFloatFlavor{longtable}{table}


\begin{document}

{
\tiny 
\begin{longtable}{ccc}
    \caption{caption}
    \label{table:label}  \\ 
    \hline
    1&2&3 \\
    asdf&sadf&adsf\\
    cxvb&xvcb&xvcb\\
    \hline
\end{longtable}
 }

\end{document}

1 Answer 1

5
\documentclass[12pt]{article}
\usepackage{longtable}
\usepackage[nolists,noheads]{endfloat}
\newenvironment{tinylongtable}{\tiny}{}
\DeclareDelayedFloatFlavor{tinylongtable}{table}


\begin{document}


\begin{tinylongtable}
\begin{longtable}{ccc}
    \caption{caption}
    \label{table:label}  \\
    \hline
    1&2&3 \\
    asdf&sadf&adsf\\
    cxvb&xvcb&xvcb\\
    \hline
\end{longtable}
\end{tinylongtable}

\end{document}
1
  • Thank you for the quick response! It works!
    – user190523
    Jun 6, 2019 at 14:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .