
答え1
小文字と大文字の幅を同じにする等幅フォントを使用します。
\documentclass{article}
\begin{document}
\noindent
{\ttfamily
a b c d e \\
E D C B A
}
\end{document}
または、次の方法で文字を並べ替えますtabular
。
\documentclass{article}
\begin{document}
\noindent
{\ttfamily\begin{tabular}{ *{5}{c} }
a & b & c & d & e \\
E & D & C & B & A
\end{tabular}}
\end{document}
この後者のアプローチは非等幅フォントでも機能し、\tabcolsep
文字の間隔を適切に調整できます。