latex表格旋转的几种方案
9 个月前
方案一:用landscape宏包
\usepackage{booktabs}
\usepackage{array}
\usepackage{makecell}
\usepackage{multirow}
\usepackage{pdflscape}
......
\begin{landscape}
\begin{table}[!ht]
\caption{Structural characteristics of anti-GC NPs}
\label{tab1}
\tabcolsep=3pt
\centering
\footnotesize
\begin{tabular}{cccccccccc}
\toprule
Target&Code&Source&Extraction and purification&$M_{w}$ (kDa)&Monosaccharide composition&Glycosidic bond type&Backbone&Side chains&Reference\\
\midrule
\makecell{SGC-7901\\cells}&CFPS-1&\textit{\makecell{Corbicula\\ fluminea}}&\makecell{Papain extraction,\\ DEAE-Sephacel and\\ Sephacryl S-300\\ column chromatographies}&22&\makecell{Glc: Fuc = 0.68: 0.86\\ (molar ratio), with\\ minor contents of Gal,\\ GlcN, and GalN}&NA&NA&NA&[39]\\
\bottomrule
\end{tabular}
\end{table}
\end{landscape}
方案二:用varwidth宏包
\usepackage{booktabs}
\usepackage{varwidth}
\usepackage{graphicx}
......
\begin{table}[!ht]
\centering
\rotatebox[origin=c]{90}{%
\begin{varwidth}{\textheight}
\caption{Simulation results of dcwpa solving three models}
\label{tab1}
\tabcolsep=6pt
\begin{tabular}{cccccccccccc}
\toprule
\multicolumn{4}{c}{SDM}&\multicolumn{4}{c}{DDM}&\multicolumn{4}{c}{PV}\\
\cmidrule[.08em](l{0em}r{.3em}){1-4}
\cmidrule[.08em](l{.3em}r{.3em}){5-8}
\cmidrule[.08em](l{.3em}r{0em}){9-12}
$V_{m}$(V)&$I_{m}$(A)&$I_{c}$(A)&$D$(\%)&$V_{m}$(V)&$I_{m}$(A)&$I_{c}$(A)&$D$(\%)&$V_{m}$(V)&$I_{m}$(A)&$I_{c}$(A)&$D$(\%)\\
\midrule