Missing periods in second level list

by Matt Turner   Last Updated October 09, 2019 20:23 PM - source

I'm working with some multi-level lists, and I've changed the default second level numbering to arabic. Here's the relevant code:

\documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage[margin=1in]{geometry}
\usepackage{multicol}
\usepackage{graphicx}
\pagestyle{empty}


\makeatletter
\newcommand*\bigcdot{\mathpalette\[email protected]{.5}}
\newcommand*\[email protected][2]{\mathbin{\vcenter{\hbox{\scalebox{#2}{$\[email protected]#1\bullet$}}}}}
\makeatother



\begin{document}
\renewcommand{\labelenumii}{\arabic{enumii}}
\begin{enumerate}
\setcounter{enumi}{2}   
    \item 
        \begin{enumerate}
            \item $P \supset [Q \supset (P \supset R)]$
            \item $P$
            \item $Q \hspace{.75in} / \hspace{.1in} R$
        \end{enumerate}
    \item 
        \begin{enumerate}
            \item ${\sim}W \bigcdot {\sim}X$
            \item $Y \supset W$
            \item ${\sim}Y \supset Z \hspace{.75in} / \hspace{.1in} Z \vee X$
        \end{enumerate}
\end{enumerate}

\end{document}

The highest level list from the first enumerate has a period after the number, but the second level, nested lists are missing periods after each number. Is there a way to force the periods into that second-level enumerate?

Tags : numbering lists


Answers 1


With the help of the enumitem package:

enter image description here

\documentclass{article}
\usepackage{enumitem}
\begin{document}

\begin{enumerate}
\setcounter{enumi}{2}   
    \item 
        \begin{enumerate}[label={\arabic*.}]
            \item $P \supset [Q \supset (P \supset R)]$
            \item $P$
            \item $Q \hspace{.75in} / \hspace{.1in} R$
        \end{enumerate}
    \item 
        \begin{enumerate}[label={\arabic*.}]
            \item ${\sim}W \cdot {\sim}X$
            \item $Y \supset W$
            \item ${\sim}Y \supset Z \hspace{.75in} / \hspace{.1in} Z \vee X$
        \end{enumerate}
\end{enumerate}

\end{document}
leandriis
leandriis
October 09, 2019 20:09 PM

Related Questions


Numbers in Nested list

Updated April 06, 2015 00:09 AM

Outline of style I. A. i. a. 1. ...

Updated April 09, 2017 02:23 AM

Insert explanatory text into numbered list in LyX

Updated August 01, 2019 18:23 PM

Enumerate "P#number" instead of "#number"

Updated April 21, 2015 00:10 AM