下面,我该如何对齐右列表格末尾\tiny
的文本\parbox
,以使其最后一行与左列表格的最后一行处于同一水平?
一般来说,如果将 parbox 移出右表,就不会有问题。编辑:我想坚持使用双表解决方案,因为否则 tex-source 会变得非常混乱。但是,两个表中的行始终具有相同的基线。
\documentclass{article}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{array}
\begin{document}
\scriptsize
\begin{tabular}[t]{ll}
\begin{tabular}[t]{@{}l@{}@{}l@{}@{}l@{}}
Definition of & Definition & Definition and \\
Definition of & Definition & Definition and \\
Dynamic & Validation & Validation of \\
of & Definition & Definition and \\
Definition& Validation & Validation of \\
Definition of & Definition & Definition and \\
of Dynamic & Validation & Validation of \\
Dynamic & Validation & Validation of \\
\end{tabular}
&
\begin{tabular}[t]{@{}p{2cm}@{}p{2.5cm}@{}}
market risk & found in funds \\
market options & found in changes of \\
market options & found in funds \\
\\
\\
\multicolumn{2}{@{}l@{}}{\parbox{4.5cm}{\tiny \spacing{0.8}
To compensate for that, add 5 the following that it cannot
just use since they do not want the add they the following that
it cannot find where they went \endspacing}}
\end{tabular}
\end{tabular}
\end{document}
答案1
也许使用单个表格会更简单。还有一些\smash
魔法。
\documentclass{article}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{array}
\begin{document}
\scriptsize
\begin{tabular}[t]{@{}l@{}@{}l@{}@{}l@{ }p{2cm}@{}p{2.5cm}@{}}
Definition of & Definition & Definition and & market risk & found in funds\\
Definition of & Definition & Definition and & market options & found in changes of \\
Dynamic & Validation & Validation of & market options & found in funds \\
of & Definition & Definition and & & \\
Definition& Validation & Validation of & & \\
Definition of & Definition & Definition and & & \\
of Dynamic & Validation & Validation of & & \\
Dynamic & Validation & Validation of &
\multicolumn{2}{@{}l@{}}{\smash{\parbox[b]{4.5cm}{\tiny
To compensate for that, add 5 the following that it cannot
just use since they do not want the add they the following that
it cannot find where they went}}} \\
\end{tabular}
\end{document}
我只是在原来的左表和右表之间添加了一个列间距。我还删除了\spacing
和\endspacing
命令,这似乎会导致小文本稍微向下移动一点。
或者,使用原始代码中的两个表(但我认为应该在行中放置一些支柱以确保它们具有相同的高度):
\documentclass{article}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{array}
\begin{document}
\scriptsize
\begin{tabular}[t]{ll}
\begin{tabular}[t]{@{}l@{}@{}l@{}@{}l@{}}
Definition of & Definition & Definition and \\
Definition of & Definition & Definition and \\
Dynamic & Validation & Validation of \\
of & Definition & Definition and \\
Definition& Validation & Validation of \\
Definition of & Definition & Definition and \\
of Dynamic & Validation & Validation of \\
Dynamic & Validation & Validation of \\
\end{tabular}
&
\begin{tabular}[t]{@{}p{2cm}@{}p{2.5cm}@{}}
market risk & found in funds \\
market options & found in changes of \\
market options & found in funds \\
\\
\\ \\ \\
\multicolumn{2}{@{}l@{}}{\smash{\parbox[b]{4.5cm}{\tiny
To compensate for that, add 5 the following that it cannot
just use since they do not want the add they the following that
it cannot find where they went }}}
\end{tabular}
\end{tabular}
\end{document}