This is my code
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[table]{xcolor}
\usepackage{array}
\begin{document}
\begin{enumerate}
\item Tomas\verb+ +Thomas
\item Maine\verb+ +Main
\item Patty\verb+ +Patti
\item Roberts\verb+ +Robertson
\item Springfield\verb+ +Springvale
\item Nixon\verb+ +Dixon
\end{enumerate}
\end{document}
What I am trying to achieve is to allow the names on the second column to aligh with each other. But the output is not what I wanted. First I tried to simply type space bar, but that failed because LaTex seems to treat multiple space as only one space Secondly I tried to use the \verb command to enclose the space. Again that failed. Haven't figured out why it is wrong though. Aren't \verb supposed to treat text within the delimiters to be verbatim? I
Anyway, I guess I can input what I want into a tabular environment and adjust the size of the column, but that is so complicated. I wonder if there is an easier solution here?
\verb
uses a monospace font, while the "printable" elements starting the line use a proportionally spaced font, in which the width of each glyph may be different from others, and not the same width as the space.tabbing
environment is also handy in such situations. (Added as a comment rather then an answer since the proposed solutions are a better fit)