我遇到了一個問題,如何讓表格清單的字體大小變小?
\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。