I'm looking to make a timestamp with pre <
and post >
as start/finish, but I can't get the characters to align. With the 1st solution, <
>
are an equal distance from the nearest digit, but the digits aren't aligned. And conversely with the second solution. Any suggestion?
\documentclass{article}
\usepackage{datetime2}
\begin{document}
\noindent
{\tiny\makebox{\raisebox{+.1ex}{<}}%
\DTMdisplaytime{0}{0}{00}%
\makebox{~}\\
\makebox{\raisebox{+.1ex}{~}}%
\DTMdisplaytime{0}{0}{01}%
\makebox{>}}\par
\hrule width 4em
\noindent
{\tiny
\begin{tabular}{@{}p{2ex}@{}l@{}p{2ex}@{}}
\raisebox{+.1ex}{<}
&\DTMdisplaytime{0}{0}{00}%
&\raisebox{+.1ex}{~}
\end{tabular}\\
\begin{tabular}{@{}p{2ex}@{}l@{}p{2ex}@{}}
\raisebox{+.1ex}{~}
&\DTMdisplaytime{0}{0}{01}%
&\raisebox{+.1ex}{>}
\end{tabular}}
\end{document}
\langle
and\rangle
rather than<
and>
.