How do I make an offset table?

Hartmut Henkel hartmut_henkel at gmx.de
Sun Jan 30 10:44:20 CET 2022


Hello Philip.

On Sun, 30 Jan 2022, Philip Taylor (Hellenic Institute) wrote:
> But that is a 100% vertical offset, is it not Hartmut ?

oh yes, thanks & sorry, i should have better read the original mail.
Then maybe this one:

\documentclass{article}
\begin{document}
\newdimen\off\off=-0.5\baselineskip
\begin{center}
  \newcommand{\timetask}[2]{#1 & \\[\off] & #2\\[\off]}
  \begin{tabular}{ll}
    \timetask{08:00}{breakfast}
    \timetask{13:00}{lunch}
    \timetask{17:00}{dinner}
  \end{tabular}%
\end{center}
\end{document}

Best Regards, Hartmut


More information about the texhax mailing list.