1
\begin{enumerate}[\textit{Step} \itshape 1 :]

I want italic and underline "Step 1". What should I add to underline "Step 1"?

Jesse
  • 29,686
Faye
  • 15
  • 2
    Welcome to TeX SE! Please add a complete, small working example (Minimum Working Example) of code which illustrates your question. Why do you use both \textit and \itshape? – cfr Aug 19 '14 at 16:02
  • Use italic and underline is redundant typographically. You must decide to use only one method or italic or underline. Italic is the method used in the printers tradition, whereas that underline comes from the 19th century and the days where the typewriter was the cutting edge technology, but typographical more limited. – Aradnix Aug 19 '14 at 16:44
  • 1
    Wow, I just had a very similar question: http://tex.stackexchange.com/questions/196977/what-is-interfering-with-the-new-environment-here. Apparently the soul package and enumitem interfere with each other – Abhimanyu Arora Aug 19 '14 at 16:45

1 Answers1

4

You can do that, if you insist, with the enumitem and ulem packages:

        \documentclass[12pt, a4paper]{article}
        \usepackage[utf8]{inputenc}
        \usepackage[T1]{fontenc}
        \usepackage{lmodern}
        \usepackage{ulem} 
        \usepackage[shortlabels]{enumitem}

        \begin{document}

        \begin{enumerate}[label = \uline{\textit{Step \arabic*:}}]
            \item First item.
            \item Second item
            \item A third item
         \end{enumerate}

        \end{document}

enter image description here

Bernard
  • 271,350