Working with David's answer here are some ways to do it:
The first two items are just as David described: this approach results in some kind of unaligned text:
\item {} [Month 1-9] Some text
\item {} [Month 10-20] Some text
From a refactoring point of view it may be nice to absorb the beginning and just pass the actual range of months - more unified code, same result after compile:
\newcommand\montha[1]{{} [Month #1]}
...
\item \montha{1-9} Some text, absorbed
\item \montha{10-20} Some text, absorbed
If you want to introduce some kind of alignement here's a simple approach:
- use a
\makebox
with fixed width
- inside use
\hfill
to 'push' the two text componenents apart
- follow the same approach, else
\newcommand\monthb[1]{{} \makebox[22mm]{[Month \hfill#1]}}
...
\item \monthb{1-9} Some text, even more absorbed
\item \monthb{10-20} Some text, even moreabsorbed
\documentclass[10pt,a4paper]{article}
\newcommand\montha[1]{{} [Month #1]}
\newcommand\monthb[1]{{} \makebox[22mm]{[Month \hfill#1]}}
\begin{document}
\begin{itemize}
\item {} [Month 1-9] Some text
\item {} [Month 10-20] Some text
\item \montha{1-9} Some text, absorbed
\item \montha{10-20} Some text, absorbed
\item \monthb{1-9} Some text, even more absorbed
\item \monthb{10-20} Some text, even moreabsorbed
\end{itemize}
\end{document}
P.S.: Those lazy refactor guys may even absorb the \item
...
\newcommand\mitem[1]{\item {} \makebox[22mm]{[Month \hfill#1]}}
...
\item \monthb{10-20} Some text, even moreabsorbed
\mitem {1-8} Here we go
\end{itemize}