答案1
您可能使用以下设置 - 以及array
一些预定义的格式设置:
\documentclass{article}
\usepackage{lipsum}% Just for this example
\newcommand{\var}{\textit}
\newcommand{\PK}[1]{\underline{\var{#1}}}
\newcommand{\FK}[1]{\textup{FK}(#1)}
\newenvironment{relationalmodel}
{\par\medskip
\setlength{\arraycolsep}{0pt}%
$\begin{array}{ r l }}
{\end{array}$
\par\medskip}
\begin{document}
\lipsum[1]
\begin{relationalmodel}
\var{table}_1( &
\PK{column}_2, \var{column}_3, \var{column}_4, \ldots ) \\
& \var{column}_2 : \FK{\var{table}_2} \\
& \var{column}_3, \var{column}_4 : \FK{\var{table}_3} \\
& \ldots
\end{relationalmodel}
\lipsum[2]
\end{document}