0

I am having an issue with my enumerate function - only the 1st item appears to have[i] the other item doesn't have any numbering present.

\documentclass{svmono}
\begin{document}
\begin{enumerate}[i]
\item One 
\item Two 
\end{enumerate}
\end{document}
7
  • Welcome to TeX SX! Please post a complete, compilable code, reproducing your problem. – Bernard Jun 16 '20 at 12:36
  • Sorry - I'm brand new to LaTex so just figuring this all out – Lucy Jun 16 '20 at 12:42
  • svmono is not a standard class, so it could be doing anything; the compilable code that Bernard mentioned would include using a standard class that we all have (article would be best). The standard classes don't usually change how enumerate works, so you'd need a package to do that for you. Looking at the way you've written things, can you try adding \usepackage{paralist} after the first line? – Teepeemm Jun 16 '20 at 12:49
  • I'm preparing a manuscript for publishing which is why I need to use the svmono class. it seems to work fine when I use the standard numbers for enumerate but when I try to use Roman numerals it no longer seems to work – Lucy Jun 16 '20 at 12:56
  • 2
    enumitem might be a more flexible choice. If loaded as \usepackage[shortlabels]{enumitem} this particular syntax is supported – daleif Jun 16 '20 at 12:56
0

You need either enumerate or enumitem to support that syntax.

However, there are some problems.

Let's consider the code

\documentclass{svmono}
\usepackage{showframe}
%\usepackage{enumerate}

\begin{document}

\begin{enumerate}
\item First level
  \begin{enumerate}
    \item Second level
    \begin{enumerate}
      \item Third level
      \begin{enumerate}
        \item Fourth level
      \end{enumerate}
    \end{enumerate}
  \end{enumerate}
\item Two 
\end{enumerate}

\begin{itemize}
\item First level
  \begin{itemize}
  \item Second level
    \begin{itemize}
      \item Third level
      \begin{itemize}
        \item Fourth level
      \end{itemize}
    \end{itemize}
  \end{itemize}
\item Two 
\end{itemize}

\end{document}

Output without packages

enter image description here

Output after adding \usepackage{enumerate}

enter image description here

Output after adding \usepackage{enumitem}

enter image description here

Output after adding \usepackage{enumitem} with fixes.

\documentclass{svmono}
\usepackage{showframe}
\usepackage{enumitem}

\setlist[enumerate]{align=left}
\setlist[itemize]{align=left}

\begin{document}

\begin{enumerate}
\item First level
  \begin{enumerate}
    \item Second level
    \begin{enumerate}
      \item Third level
      \begin{enumerate}
        \item Fourth level
      \end{enumerate}
    \end{enumerate}
  \end{enumerate}
\item Two 
\end{enumerate}

\begin{itemize}
\item First level
  \begin{itemize}
  \item Second level
    \begin{itemize}
      \item Third level
      \begin{itemize}
        \item Fourth level
      \end{itemize}
    \end{itemize}
  \end{itemize}
\item Two 
\end{itemize}

\end{document}

enter image description here

Not really the same, but not so distant.

Code for your application

\documentclass{svmono}
\usepackage{showframe}
\usepackage{enumitem}

\setlist[enumerate]{align=left}
\setlist[itemize]{align=left}

\begin{document}

\begin{enumerate}[label=\roman*.]
\item One 
\item Two 
\end{enumerate}

\end{document}

enter image description here

Comments

The \usepackage{showframe} line has been added just to properly show the bounding box of the text block. Remove it for your document.

Using enumerate would change the appearance of all lists with respect to the svmono standard, so it is out of question. With enumitem the output is not very different.

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.