I would like to have 2 very simple tables like these:
\begin{center}
\begin{tabular}{rl}
text:&text2\\
&text3\\
something:&other stuff
\end{tabular}
\vspace{\stretch{2}}
\begin{tabular}{rl}
text:&text2\\
&text3\\
something of different length:&other stuff
\end{tabular}
\end{center}
to be aligned. This answers that question: Two tables vertically align but it does not work with \stretch{X}
because the stretch within the tabular environment seems to be ignored.
Is there another way to align those two tables? I need the \stretch{2}
between these two tables, because other stuff on that title page is of varying height and I don't want to hard code some values and recalculate them every time the rest of that page changes.
p{3cm}
and use\raggedleft
in that column to get right alignment instead ofr
as they are fixed width column, alignment is automatic\vspace{\stretch{2}}
is supposed to do. If the two tables fit on one line, the vertical space will be after the two tables. What alignment do you have in mind?\vspace{\stretch{x}}
allows for variable vertical space, where the x is the amount of variable units latex can use to evenly spread all\stretch{x}
spaces. My original page includes more then the two tabular things, but extracting a complete example from a huge document, especially when the title page configuration I am working on is within a class was to much work :).