
답변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
문자 간격을 적절하게 조정할 수 있습니다.