以下是 MWE:
\documentclass{article}
\usepackage{tabularx}
\linespread{1.5}\selectfont%\renewcommand{\baselinestretch}{1.62}
\begin{document}
\begin{tabular}{lc}
row 1 &
\begin{minipage}{18em}
%\renewcommand\baselinestretch{1.2}\selectfont
\linespread{1.2}\selectfont
minipage with long content: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah ...
\end{minipage} \\
row 2 &
just one line\\
row 3 &
\begin{minipage}[t]{18em}
\renewcommand\baselinestretch{1.2}\selectfont
minipage with short content
\end{minipage}\\
row 4 &
just one line\\
\end{tabular}
\end{document}
答案1
TeX 的一大优势是可以嵌套环境。如果您需要在表格环境中使用不同的行间距,请使用间距环境。
我使用了一些不同的方式来进行垂直跳跃,正如你在我的例子中所看到的:
\documentclass{scrartcl}
\usepackage{array}
\usepackage{ragged2e}
\usepackage{setspace}
\usepackage{lmodern}
\usepackage{blindtext}
\newcounter{rowc}
\setcounter{rowc}{0}
\newcommand{\rowno}{\stepcounter{rowc}row \therowc}
\begin{document}
This is a tabular with different line spreads:
\bigskip{}
\renewcommand{\arraystretch}{1.3}
\begin{tabular}{m{2cm}m{10cm}}
\rowno{} &
\begin{spacing}{.9}
\blindtext
\end{spacing}\\[-5ex]
\rowno{} & just a one liner \\
\rowno{} & short content, but more than one line, just to see the vertical
spaces\\
\rowno{} & And the last line.
\end{tabular}
\end{document}
结果如下: