我花了一些时间,但失败了。这就是我尝试的。但它看起来不像上面的图片,而且一定有比手动换行更好的方法。
\begin{center}
\begin{tabular}{|c|c|}
\hline
\thead{\textbf{{\large Definition}}} & \thead{\textbf{{\large Source}}} \\
\hline
\makecell{A knowledge graph (i) mainly describes real world entities and \\ their interrelations, organized
in a graph, (ii) defines possible \\ classes and relations of entities in a schema, (iii) allows for \\
potentially interrelating arbitrary entities with each other \\ and (iv) covers various topical
domains} & \makecell{Paulheim []} \\
\hline
\end{tabular}
\end{center}
答案1
您可以使用水平规则tabularx
和booktabs
垂直填充来实现这一点(在这种情况下没有垂直规则!)。我添加了内联枚举环境,以enumitem
实现一致的布局和干净的代码:
\documentclass{article}
\usepackage{tabularx, ragged2e, makecell, booktabs}
\usepackage[inline]{enumitem}
\begin{document}
\begin{center}
\renewcommand{\theadfont}{\large\bfseries}
\begin{tabularx}{\linewidth}{Xl}
\toprule
\thead{Definition} & \thead{Source} \\
\midrule
A knowledge graph \enspace \begin{enumerate*}[label=(\roman*), itemjoin ={,\enspace}, itemjoin*={ and\enspace} ]
\item mainly describes real world entities and their interrelations, organized in a graph
\item defines possible classes and relations of entities in a schema
\item allows for potentially interrelating arbitrary entities with each other
\item covers various topical domains
\end{enumerate*} & Paulheim [] \\
\bottomrule
\end{tabularx}
\end{center}
\end{document}