latex调整行距,列宽,表格大小和字体大小 |
您所在的位置:网站首页 › 表格字体大小怎么调不变 › latex调整行距,列宽,表格大小和字体大小 |
\begin{table}
\centering
\begin{tabular}{c|c|c|c}
\hline
A & B & C & D\\
\hline
\hline
test & test & test & test \\ \hline
test & test & test & test \\ \hline
test & test & test & test \\ \hline
\end{tabular}
\end{table} 上面是正常表格的大小 下面我们做如下改变:增加行距默认行距为1,增加如下代码 \renewcommand{\arraystretch}{1.5} \begin{table}[h] \renewcommand{\arraystretch}{1.5}附上完整代码 \begin{table} \renewcommand{\arraystretch}{1.5} \centering \caption{table} \begin{tabular}{c|c|c|c} \hline A & B & C & D\\ \hline \hline test & test & test & test \\ \hline test & test & test & test \\ \hline test & test & test & test \\ \hline \end{tabular} \end{table}参考链接:(126条消息) LaTeX 调整行距、列宽,以及表格的整体大小和字体大小_latex表格大小_Xovee的博客-CSDN博客 如何使用latex自适应表格列宽 - 知乎 (zhihu.com) |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |