# Latex enumerate: making first item italic

I have an enumerate-list and want to make the first item in this list (including the number) italic. It seems like I can make everything italic except the first number - otherwise the whole list crashes. Here are some minimum examples:

This one works

\documentclass[]{scrartcl}
\begin{document}
\section{Test}
\begin{enumerate}
\item \textit{dsfdsf
\end{enumerate}
\end{document}


This one also

\documentclass[]{scrartcl}
\begin{document}
\section{Test}
\begin{enumerate}
\item dsfdsf
\end{enumerate}
\end{document}


But this one doesn't

\documentclass[]{scrartcl}
\begin{document}
\section{Test}
\begin{enumerate}
\textit{\item dsfdsf
\end{enumerate}
\end{document}


Why does the last one crash the list and what could be workarounds? Thanks!

## migrated from stackoverflow.comOct 29 '14 at 18:44

This question came from our site for professional and enthusiast programmers.

First \items are processed a little differently. Rather change the font shape using a switch:
\documentclass{scrartcl}