5

UPDATE This question is not a duplicate with Resuming a list

In this post, I am asking to align the text of an unnumbered enumerate item directly under the previous (numbered) item and not under the last paragraph prior to the enumeration.

The answer given here follows Resuming a list, which, if run with the Latin text I post, does not align the unnumbered item under the [3.] as asked, but under the paragraph---which is not part of the enumeration.

Therefore, I respectfully ask that this question be reopened.


Consider the code

\documentclass{book}
\usepackage{lipsum}
\begin{document}
\large
\lipsum[3]
\begin{enumerate}
\thispagestyle{empty}
\item Hic sunt quaedam verba. Hic sunt quaedam verba. Hic sunt quaedam verba. Hic sunt quaedam verba.
\item Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt.
\item Hic plura etiam verba sunt. Hic plura etiam verba sunt. Hic plura etiam verba sunt.
\item[] Quomodo haec verba sub align [3]. Quomodo haec verba sub align [3]. Quomodo haec verba sub align [3]. Quomodo haec verba sub align [3].
\end{enumerate}
\end{document}

which produces

enter image description here

QUESTION: How may I left justify the fourth (the non-numbered) item so that it is vertically aligned under the [3.]?

Thank you.

2
  • So you want the entire item Quomodo haec... to be shoved left, not just the first line of the item, correct?
    – Werner
    Commented Dec 16, 2022 at 16:35
  • @Werner To begin the Quomodo hace sentence as if it were \item hace---like the output that egreg just posted.
    – DDS
    Commented Dec 16, 2022 at 16:41

2 Answers 2

2

I'm not sure what would be the typographical meaning of this.

Anyway, you can do it. But beware that such an alignment between items 9 and 10 would make no sense at all.

\documentclass{book}
\usepackage{lipsum}

\newenvironment{unaligned}
 {%
  \par
  \sbox0{\labelenumi}%
  \leftskip=-\dimexpr\wd0+\labelsep\relax
 }
 {\par}

\begin{document}

\lipsum[1][1-4]
\begin{enumerate}
\item \lipsum[2][1-3]
\item \lipsum[3][1-3]
\item \lipsum[4][1-3]
\begin{unaligned}
\lipsum[5][1-4]
\end{unaligned}
\item \lipsum[6][1-3]
\end{enumerate}

\end{document}

enter image description here

1
  • Many thanks egreg; this is exactly what I was looking for.
    – DDS
    Commented Dec 16, 2022 at 17:04
1

Its better to close enumerate before the paragraph, where you want flushleft and continue the next enumerate with the continuation order, e.g.,

\documentclass{book}
\usepackage{lipsum}
\usepackage{enumitem}
\begin{document}
\large
\lipsum[3]
\begin{enumerate}
\item Hic sunt quaedam verba. Hic sunt quaedam verba. Hic sunt quaedam verba. Hic sunt quaedam verba.
\item Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt.
\item Hic plura etiam verba sunt. Hic plura etiam verba sunt. Hic plura etiam verba sunt.
\end{enumerate}
Quomodo haec verba sub align [3]. Quomodo haec verba sub align [3]. Quomodo haec verba sub align [3]. Quomodo haec verba sub align [3].
\begin{enumerate}[resume*]
\item Hic sunt quaedam verba. Hic sunt quaedam verba. Hic sunt quaedam verba. Hic sunt quaedam verba.
\item Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt. Hic plura verba sunt.
\item Hic plura etiam verba sunt. Hic plura etiam verba sunt. Hic plura etiam verba sunt.
\end{enumerate}
\end{document}

Output will be as:

enter image description here

1
  • Thank you for your post, but it does not answer the question asked: To align the unnumbered item directly under [3.].
    – DDS
    Commented Dec 16, 2022 at 16:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .