答案1
我尽力编写了此代码,希望对您有所帮助。以下链接帮助我编写了此代码:
https://www.overleaf.com/learn/latex/Lists
代码:
\documentclass{article}
\usepackage{caption}
\captionsetup[table]{}
\usepackage{multirow}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{table}
\centering
\begin{tabular}{ll|ll}
%\cline{1-3}
& Column 1 & Column 2 \\
\cline{1-3}
Type 1 & \multirow{2}{*}{\begin{tabular}[c]{p{0.4\textwidth} p{.03\textwidth} p{0.4\textwidth}}
Category1
\begin{itemize}
\item Item 1
\item Item 2 Item 2 Item 2 \newline Item 2 Item 2
\end{itemize}
\\\\Category2
\begin{itemize}
\item Item 1 Item 1 Item 1 \newline Item 1 Item 1
\item Item 2
\end{itemize}
\end{tabular}}
& \begin{tabular}[c]{p{0.4\textwidth} p{.03\textwidth} p{0.4\textwidth}}
\begin{itemize}
\item Diff1
\item Diff2
\item Diff3
\end{itemize}
\end{tabular} \\
\cline{1-1}\cline{3-3}
Type 2 & & \begin{tabular}[c]{p{0.4\textwidth} p{.03\textwidth} p{0.4\textwidth}}
\begin{itemize}
\item Diff4
\item Diff5 Diff5 Diff5 Diff5 \newline Diff5 Diff5
\item Diff6
\end{itemize}
\end{tabular} & \\
& &
& \\
%\cline{1-3}
\end{tabular}
\end{table}
\end{document}
。 。
结果:
也许对于格式,您可以调整间距、字体大小等。或者您可以使用一些命令来调整表格大小。
问候,