라텍스로 이 테이블을 만드는 방법

라텍스로 이 테이블을 만드는 방법

이 테이블을 라텍스로 만드는 방법을 알려주실 분 계신가요?

매우 감사합니다.

테이블

답변1

환경 을 사용하고 tabularx대상 너비를 로 설정하고 \textwidth2열부터 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 코드를 얻을 수 있습니다.

필요할 때 일부 패키지를 사용하는 것을 잊지 마세요.

관련 정보