3

I have trouble combining settings of an indent and label customization in this package. I want my list to look like this: enter image description here

Right now I only managed to adjust it like this, with the basic style of numeration - "1.".

\usepackage{enumitem}
\begin{document}
\begin{enumerate}[wide, labelindent=0pt] 
\item blahblah 
\item blahblah
\end{enumerate}

Where to put the label customization [(1)] to make this work?

2
  • 4
    Welcome to tex.sx. The image you show seems to have each item starting with a displayed equation. If that is what you want, the answer will be different than if you really want just text in the items. Please clarify. Dec 25 '19 at 21:48
  • 1
    Can you please show a larger sample of the text you want to reproduce? As @barbarabeeton says, this seems more like numbered equations than an enumerated list.
    – egreg
    Dec 25 '19 at 22:36
4

A small variation of @Bernard answer (+1):

\documentclass{article}
\usepackage{enumitem}
\usepackage{lipsum}

\begin{document}
    \begin{enumerate}[wide=0pt, label =(\arabic*)]
\item \hfil$r_1,,r_2,\dots, r_{\varphi(m)} $

-- \lipsum[66]
\item \hfil$\rho_{k} \equiv r_{k}\pmod{m} $

czycli
    \end{enumerate}
\end{document} 

enter image description here

1
  • 1
    (+1) I discover this use of \hfil as an alternative to \makebox for centring!
    – Bernard
    Dec 25 '19 at 23:37
6

Here is a possible solution:

\documentclass{article}

\usepackage{enumitem}
\usepackage{lipsum}

\begin{document}

\begin{enumerate}[wide=0pt, label =(\arabic*), parsep = 1ex]
\item \makebox[\linewidth]{$r_1,,r_2,\dots, r_{\varphi(m)} $}

\lipsum[11]
\item \makebox[\linewidth]{$\rho_{k} \equiv r_{k}\pmod{m} $}

\lipsum[11]
\end{enumerate}

\end{document} 

enter image description here

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.