Code: Select all
1. Item 1 3. Item 3
2. Item 2 4. Item 4

Can someone point me the package which does this sort of thing?
Regards,
Code: Select all
1. Item 1 3. Item 3
2. Item 2 4. Item 4
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\documentclass{article}
\usepackage{multicol}
\usepackage{enumitem}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2] % generate text before list
\begin{multicols}{2}
\begin{enumerate}[noitemsep]
\item First item
\item Second item
\item Third item
\item Fourth item
\end{enumerate}
\end{multicols}
\lipsum[3-4] % generate text after list
\end{document}
Code: Select all
\documentclass{article}
\usepackage{multienum}
\newcommand\multiitem{%
\renewcommand{\itemx}[1]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep%
\parbox[t]{\remainx}{\raggedright ##1}\smallskip}
\renewcommand{\itemxx}[2]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{.5\remainxx}{\raggedright ##1}\hfill\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.5\remainxx}{\raggedright ##2}\smallskip}
\renewcommand{\itemxxx}[3]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep%
\parbox[t]{.3333\remainxxx}{\raggedright ##1}\hfill\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep%
\parbox[t]{0.3333\remainxxx}{\raggedright ##2}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep%
\parbox[t]{0.3333\remainxxx}{\raggedright ##3}\smallskip}
\renewcommand{\itemxxxx}[4]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{.25\remainxxxx}{\raggedright ##1}\hfill\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.25\remainxxxx}{\raggedright ##2}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.25\remainxxxx}{\raggedright ##3}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.25\remainxxxx}{\raggedright ##4}\smallskip}
\renewcommand{\itemxox}[2]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{\remainxox}{\raggedright ##1}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.3333\remainxxx}{\raggedright ##2}\smallskip}
\renewcommand{\itemxxo}[2]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.3333\remainxxx}{\raggedright ##1}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{\remainxox}{\raggedright ##2}\smallskip}
\renewcommand{\itemxoxx}[3]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{\remainxoxx}{\raggedright ##1}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.25\remainxxxx}{\raggedright ##2}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.25\remainxxxx}{\raggedright ##3}\smallskip}
\renewcommand{\itemxxox}[3]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{.25\remainxxxx}{\raggedright ##1}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{\remainxoxx}{\raggedright ##2}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{0.25\remainxxxx}{\raggedright ##3}\smallskip}
\renewcommand{\itemxxxo}[3]{\parbox[t]%
{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{.25\remainxxxx}{\raggedright ##1}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{.25\remainxxxx}{\raggedright ##2}\hfill%
\parbox[t]{\labelwidth}{\hfill$\bullet$}\hskip\labelsep
\parbox[t]{\remainxoxx}{\raggedright ##3}\smallskip}
}
\begin{document}
A multi-itemized list:
\begin{multienumerate}
\multiitem
\mitemxx{first item.}{second item.}
\mitemxxxx{third item.}{fourth item.}{fifth item.}{sixth item.}
\end{multienumerate}
A multi-enumerated list:
\begin{multienumerate}
\mitemxx{first item.}{second item.}
\mitemxxxx{third item.}{fourth item.}{fifth item.}{sixth item.}
\end{multienumerate}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p