[Tex/LaTex] Skipping every even numbered item in the enumerate environment

#enumeratelists

How can I skip every even item in the enumerate environment without having to continually type \setcounter{enumi}{5}? I am still learning to program macros, so I spologize if this is a ridiculously easy question.

Just to be clear, I would like something like

1. *Something.*
3. *Somthing else.*
5. *A third something.*

…As opposed to

1. Something.
2. A second something.
3. A tertiary Something.

Best Answer

This is for first level enumerations; other levels can be added in a similar way.

\documentclass{article}
\usepackage{enumitem}

\newlist{oddenumerate}{enumerate}{1}
\setlist[oddenumerate]{start=0,label=\theoddenumeratei.}
\makeatletter
\renewcommand\theoddenumeratei{\@arabic{\numexpr2*\value{oddenumeratei}+1}}
\makeatother

\begin{document}
\begin{oddenumerate}
    \item one
    \item two\label{two}
    \item three
\end{oddenumerate}

Here's a ref: \ref{two}
\end{document}

enter image description here

Related Question