\renewcommand\arraystretch{2} 表格每行 的宽度设定
mycode:
\begin{table}[htbp]
\renewcommand{\arraystretch}{1.5}
\centering % 显示位置为中间
\zihao{5}\caption{$PE=10k$时6个参考电压对应LLR值查询表}
\begin{tabular}{|c|c|c|c|c|c|c|c|}
\hline
$R_l$ & $-\infty $ & 2.315 &2.437 & 2.909 & 2.985& 3.552& 3.624 \\
\hline
$R_r$ & 2.315 &2.437 & 2.909 & 2.985& 3.552& 3.624 & $\infty $ \\
\hline
$L_{\mathrm{msb}}$ & -48.047 &-32.585 & -7.904 & -0.011 & 7.917 & 14.275 & 21.910 \\
\hline
$L_{\mathrm{lsb}}$ & -8.594 & 1.112 & 6.232 & 6.962 & 10.007 & 0.012 & -10.176 \\
\hline
\end{tabular}
\end{table}
\zihao{-4}\setlength{\baselineskip}{20pt}
\begin{table}[htbp]
\centering % 显示位置为中间
\caption{standard table} % 表格标题
\label{table1} % 用于索引表格的标签
%字母的个数对应列数,|代表分割线
% l代表左对齐,c代表居中,r代表右对齐
\begin{tabular}{|c|c|c|c|}
\hline % 表格的横线
& & & \\[-6pt] %可以避免文字偏上来调整文字与上边界的距离
1&2&3&4 \\ % 表格中的内容,用&分开,\\表示下一行
\hline
& & & \\[-6pt] %可以避免文字偏上
0.1&0.2&0.3&0.4 \\
\hline
\end{tabular}
\end{table}
————————————————
版权声明:本文为CSDN博主「winycg」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/winycg/article/details/82633513
在\begin{figure}下输入
\flushleft 左对齐
\flushright右对齐
\centering 居中对齐
Latex常用数学符号输入方法:
https://jingyan.baidu.com/article/4b52d702df537efc5c774bc9.html