3

Essentially, I would like the following:

X1. text text text 
X2. text2 text2 text2
X3. text text textaaa

So, talking code:

\documentclass{article}
\begin{document}
\begin{enumerate}
    \item text text text 
    \item text2 text2 text2
    \item text text textaaa
\end{enumerate}
\end{document}
user3232
  • 737

2 Answers2

5

There are fancier newer packages (eg enumitem) but the core latex distribution has an enumerate package that lets you do:

enter image description here

\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[X1.]
    \item text text text 
    \item text2 text2 text2
    \item text text textaaa
\end{enumerate}
\end{document}
David Carlisle
  • 757,742
5

Without a package you can use

\documentclass{article}

\renewcommand{\labelenumi}{X\arabic{enumi}.}

\begin{document}
\begin{enumerate}
    \item text text text 
    \item text2 text2 text2
    \item text text textaaa
\end{enumerate}
\end{document}

but enumitem is a great way to go

\documentclass{article}

\usepackage{enumitem}
\setlist[enumerate]{label=X\arabic*.}


\begin{document}
\begin{enumerate}
    \item text text text 
    \item text2 text2 text2
    \item text text textaaa
\end{enumerate}
\end{document}
cmhughes
  • 100,947