以下代码仅更改占位符的字体,而不是表格中的文本。有什么方法可以解决这个问题吗?谢谢帮助!
\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
\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}