2

I want not-to-italicized an enumerated list within the theorem environment. Any help in getting this done is much appreciated.

\documentclass{article}
\usepackage{enumerate}
\newtheorem{thm}{Theorem}

    \begin{document}
    \begin{thm}
    Hello everyone
    \begin{enumerate}[(i)]
    \item Item 1
    \item Item 2
    \item Item 3
    \end{enumerate}
    \end{thm}

    \end{document}    
  • The entire (text of the) list or just the labels ((i), (ii) etc.)? – moewe Jul 7 '18 at 12:25
  • @moewe, the question is for the latter. – Eureka Jul 7 '18 at 12:28
3
\documentclass{article}
\usepackage{enumerate}
\newtheorem{thm}{Theorem}

\begin{document}

\begin{thm}
  Hello everyone
  \begin{enumerate}[\normalfont(i)]
    \item Item 1
    \item Item 2
    \item Item 3
  \end{enumerate}
\end{thm}

\end{document} 

enter image description here

Also, for the case of enumitem:

\documentclass{article}
\usepackage{enumitem}
\newtheorem{thm}{Theorem}

\begin{document}

\begin{thm}
  Hello everyone
  \begin{enumerate}[label=\normalfont(\roman*)]
    \item Item 1
    \item Item 2
    \item Item 3
  \end{enumerate}
\end{thm}

\end{document}
  • Thank you. Could you tell me how to get it done under \usepackage{enumitem} as well. – Eureka Jul 7 '18 at 12:33
  • @Fib1123 -- I added another case for enumitem. – AboAmmar Jul 7 '18 at 12:38
  • It's better to use two keys: [label=(\roman*), font=\normalfont], or [label=(i), font=\normalfont]] if enumitem is loaded with option shortlabels. – Bernard Jul 7 '18 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.