我遇到了一个问题,如何使表格列表的字体大小变小?
\documentclass[12pt,a4paper]{article}
\usepackage{microtype}
\usepackage{sectsty}
\allsectionsfont{\centering}
\usepackage{indentfirst,amsmath,multicol,amssymb,booktabs}
\usepackage{setspace}
\usepackage{bm}
\usepackage{geometry}
\usepackage[sort]{natbib}
\setlength{\bibsep}{2pt}
\geometry{top=1.4in,bottom=1.in,left=1in,right=1in}
\usepackage{grffile}
\usepackage{epstopdf}
\usepackage[svgnames]{xcolor}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue]{hyperref}
\onehalfspacing
\begin{document}
\tableofcontents
\newpage
\listoftables
\listoffigures
\newpage
\section{Tables}
\begin{table}[htp]
\centering
\small{\caption{Cal}}
\begin{tabular}{llll}
\toprule
Par& Desc & Va & \\
\midrule
\bottomrule
\end{tabular}
\end{table}
\end{document}
答案1
答案2
如果您只是希望条目更小一些,请在\small
其前面放置一个(这不会改变标题):
\documentclass[12pt,a4paper]{article}
\usepackage{microtype}
\usepackage{sectsty}
\allsectionsfont{\centering}
\usepackage{indentfirst,amsmath,multicol,amssymb,booktabs}
\usepackage{setspace}
\usepackage{bm}
\usepackage{geometry}
\usepackage[sort]{natbib}
\setlength{\bibsep}{2pt}
\geometry{top=1.4in,bottom=1.in,left=1in,right=1in}
\usepackage{grffile}
\usepackage{epstopdf}
\usepackage[svgnames]{xcolor}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue]{hyperref}
\onehalfspacing
\begin{document}
\tableofcontents
\newpage
{\small\listoftables}
\listoffigures
\newpage
\section{Tables}
\begin{table}[htp]
\centering
\small{\caption{Cal}}
\begin{tabular}{llll}
\toprule
Par& Desc & Va & \\
\midrule
\bottomrule
\end{tabular}
\end{table}
\end{document}
对于更高级的格式化,有tocloft
-package 或tocbasic
KOMA-script 的-package。