Tex 表格注释实例
1. 經常會看到Table或者Figure后面加上[htb],其中h表示here, t –top, b-bottom,即表格在文中的位置。那么[htb]是按照其順序排列進行選擇,即h, t ,b順序。
/begin{figure}[htb!]2.調整表格列高、行高及大小。可以使用:
/begin{table} /renewcommand{/arraystretch}{1.5} //調整行高到原來1.5倍/begin{table} /addtolength{/tabcolsep}{-2pt} //減少列寬-2pt/begin{table} /small //縮小表格尺寸到最小3. 表格的對齊及邊框
/begin{tabular}{|l||r|r|r|c|} 此處,l表示left, r表示right, c表示center。上面表示表共有5列,列中文字分別是左、右、右、右、中對齊。
Tex 表格注釋實例
/documentclass[10pt]{article}
/usepackage{threeparttable}
/usepackage{amsmath}
/usepackage{dcolumn}
/usepackage{multirow}
/usepackage{booktabs}
/newcolumntypeozvdkddzhkzd[1]{D{.}{.}{#1}}% or D{.}{,}{#1} or D{.}{/cdot}{#1}
/begin{document}
/begin{table}[htpb]
/centering
/begin{threeparttable}[b]
/caption{A case of table}
/begin{tabular}{ccd{4}cccc}
/toprule
/multirow{2}{6mm}{total}&/multicolumn{2}{c}{20/tnote{1}} & /multicolumn{2}{c}{40} & /multicolumn{2}{c}{60}//
/cmidrule(lr){2-3}/cmidrule(lr){4-5}/cmidrule(lr){6-7}
&www & k & www & k & www & k //
/midrule
&$/underset{(2.12)}{4.22}$ & 120.0140/tnote{2} & 333.15 & 0.0411 & 444.99 & 0.1387 //
&168.6123 & 10.86 & 255.37 & 0.0353 & 376.14 & 0.1058 //
&6.761 & 0.007 & 235.37 & 0.0267 & 348.66 & 0.1010 //
/bottomrule
/end{tabular}
/begin{tablenotes}
/item [1] the first note.% or /item [a]
/item [2] the second note.% or /item [b]
/end{tablenotes}
/end{threeparttable}
/end{table}
/end{document}
%/begin{document}
%/begin{table}[htbp] /centering/small
%/begin{threeparttable}
%/begin{tablenotes}
%/item[*] significant at 5/% level
%/item[**] significant at 10/% level
%/end{tablenotes}
%/end{threeparttable}
%/end{table}
%/end{document}
總結
以上是生活随笔為你收集整理的Tex 表格注释实例的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: windows 7 网卡物理地址修改方法
- 下一篇: xp下administrator用户登录