答案1
我建议您使用一个tabularx
环境,将其目标宽度设置为\textwidth
,并允许在第 2 至第 9 列自动换行。
\documentclass{article} % or some other suitable document class
\usepackage{fontspec} % optional (requires XeLaTeX or LuaLaTeX)
\setmainfont{Calibri} % optional (use a "condensed" font face)
\usepackage[letterpaper,margin=1in]{geometry} % set page parameters as needed
\usepackage{tabularx} % for 'tabularx' env. and 'X' col. type
\usepackage{ragged2e} % for '\RaggedRight' and '\Centering' macros
\newcolumntype{L}{>{\RaggedRight\hspace{0pt}}X} % left alignment
\newcolumntype{C}{>{\Centering\hspace{0pt}}X} % centering
\begin{document}
\begin{table}
\setlength\extrarowheight{2pt} % for a less-cramped "look"
\setlength\tabcolsep{2pt} % default: 6pt
\footnotesize
\begin{tabularx}{\textwidth}{|c|*{8}{L|}}
\hline
Reference & \multicolumn{3}{c|}{Design}
& \multicolumn{2}{c|}{Implementation}
& \multicolumn{3}{c|}{Experiment} \\
\hline
& Objective & Approach & Limitations\slash Challenges
& Tools\slash Framework & Security
& Dataset & KPI & Results \\
\hline\hline
VL2 [2020] & Image classification & APSI+ AVLR
& Imbalanced\slash Asymmetric Feature Dist & FATE, Tencent Cloud
& SMC Asymmetrical PSI & MNIST & Area under curve (AUC), Loss
& Validates the feasibility of the APSI + AVLR with
as good performance as its symmetrical version \\
\hline
VL2 [2020] & Binary classification & & & & & & & \\
\hline
\end{tabularx}
\end{table}
\end{document}
答案2
我建议使用https://www.tablesgenerator.com。您可以使用“已知的 Excel 命令”创建此相同的表格。在那里,您可以合并/拆分单元格,然后您可能需要获取为您生成表格的 LaTeX 代码。
记得在需要的时候使用一些包。