How do I make an offset table?

William F Hammond hmwlfsr at yahoo.com
Sun Jan 30 04:57:32 CET 2022


Perhaps this.  (For something serious the first argument of
\raisebox should be defined in terms of lengths.)

                         -- Bill

----------------------------------------
\documentclass{article}
\newcommand{\hsf}{\hspace*{\fill}}
\newcommand{\tr}[2]{%
\hsf{}#1 & \raisebox{-1.35ex}{#2}}
\thispagestyle{empty}
\begin{document}

\begin{center}
\begin{tabular}{%
p{0.25\linewidth}p{0.25\linewidth}}
  \tr{9:00}{1st task}  \\
  \tr{10:00}{2nd task} \\
  \tr{11:00}{3rd task} \\
  \tr{12:00}{~}
\end{tabular}
\end{center}
\end{document}
----------------------------------------



---
William F Hammond
Email: hmwlfsr chez yahoo ou gellmu chez gmail
https://www.facebook.com/william.f.hammond
http://www.albany.edu/~hammond/

𝑺𝒖𝒑𝒑𝒐𝒓𝒕𝒊𝒏𝒈 𝒂𝒇𝒇𝒊𝒓𝒎𝒂𝒕𝒊𝒗𝒆 𝒂𝒄𝒕𝒊𝒐𝒏 𝒇𝒐𝒓 𝒕𝒉𝒆 𝒇𝒊𝒏𝒊𝒕𝒆 𝒑𝒍𝒂𝒄𝒆𝒔





More information about the texhax mailing list.