表格
三线表(见符号说明里)
普通表格
\begin{table}[H] %h此处,t页顶,b页底,p独立一页,浮动体出现的位置
\label{table3}
\renewcommand{\arraystretch}{1.2}
\caption{Growth habits of 6 selected fungus}
\begin{tabular}{|c|c|c|c|c|c|}
\bottomrule
\multicolumn{1}{|c|}{Species} &
\multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Optimal\\ Temperature\end{tabular}} &
\multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Optimal\\ Matric Potential\end{tabular}} &
\multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Temperature\\ Niche Width\end{tabular}} &
\multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Moisture\\ Niche Width\end{tabular}} &
\multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Optimal\\ Growth rate\end{tabular}} \\ \hline
a.gal1.s & 25.05 & -0.89 & 24.7 & 3.01 & 0.4136 \\ \hline
h.seti.n & 26.84 & -026 & 12.5 & 1.19 & 7.6751 \\ \hline
m.meri.s & 30.28 & -0.28 & 12.9 & 1.19 & 11.6708 \\ \hline
p.flav.n & 30.73 & -0.33 & 16.2 & 1.57 & 13.0111 \\ \hline
s.comm.s & 32.80 & -0.82 & 14 & 2.32 & 8.1133 \\ \hline
I.carib.s & 27.53 & -0.65 & 12.7 & 1.85 & 5.9240 \\ \toprule
\end{tabular}
\end{table}
标签:begin,end,表格,tabular,hline,multicolumn
From: https://www.cnblogs.com/mercuryadore/p/18138229