Skip to main content
Rollback to Revision 1
Source Link
Gonzalo Medina
  • 519.3k
  • 74
  • 1.7k
  • 1.9k

Using the values for \leftmargini, \leftmarginii, \leftmarginiii, \labelsep and \labelwidth`I am not sure if this is what you can define commands with appropriate negative spacing; a little examplewant:

\documentclass{article} \newcommand\outone{\par\hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax}} \newcommand\outtwo{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax}} \newcommand\outthree{\par\hspace*\usepackage{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax}enumitem} \begin{document} \begin{enumerate}  \item first level   \begin{enumerate}   \item second level \outone Text outside of enumerate  \begin{enumerate} \item third level  \outone Text outside\item ofthird enumeratelevel  \outtwo Text outside of enumerate  \begin{enumerate}   \item fourth level  \outone  \hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax} Text outside of enumerate   \outtwo  \hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax} Text outside of enumerate   \outthree  \hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax} Text outside of enumerate   \end{enumerate}   \end{enumerate}   \end{enumerate} \end{enumerate} \end{document} 

enter image description hereenter image description here

Using the values for \leftmargini, \leftmarginii, \leftmarginiii, \labelsep and \labelwidth` you can define commands with appropriate negative spacing; a little example:

\documentclass{article} \newcommand\outone{\par\hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax}} \newcommand\outtwo{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax}} \newcommand\outthree{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax}} \begin{document} \begin{enumerate} \item first level \begin{enumerate} \item second level \outone Text outside of enumerate  \begin{enumerate} \item third level  \outone Text outside of enumerate \outtwo Text outside of enumerate  \begin{enumerate} \item fourth level \outone Text outside of enumerate \outtwo Text outside of enumerate \outthree Text outside of enumerate \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} \end{document} 

enter image description here

I am not sure if this is what you want:

\documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}  \item first level   \begin{enumerate}   \item second level \begin{enumerate} \item third level  \begin{enumerate}   \item fourth level    \hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax} Text outside of enumerate     \hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax} Text outside of enumerate     \hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax} Text outside of enumerate   \end{enumerate}   \end{enumerate}   \end{enumerate} \end{enumerate} \end{document} 

enter image description here

defined commands, reuploaded image
Source Link
Gonzalo Medina
  • 519.3k
  • 74
  • 1.7k
  • 1.9k

I am not sure if this is whatUsing the values for \leftmargini, \leftmarginii, \leftmarginiii, \labelsep and \labelwidth` you wantcan define commands with appropriate negative spacing; a little example:

\documentclass{article} \usepackage\newcommand\outone{enumitem\par\hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax}} \newcommand\outtwo{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax}} \newcommand\outthree{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax}} \begin{document} \begin{enumerate}  \item first level   \begin{enumerate}   \item second level \outone Text outside of enumerate  \begin{enumerate}   \item third level   \outone Text outside of enumerate  \begin{enumerate} \outtwo Text outside of enumerate  \begin{enumerate}  \item fourth level    \hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax} \outone Text outside of enumerate     \outtwo \hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax} Text outside of enumerate     \outthree \hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax} Text outside of enumerate   \end{enumerate}   \end{enumerate}   \end{enumerate} \end{enumerate} \end{document} 

enter image description hereenter image description here

I am not sure if this is what you want:

\documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}  \item first level   \begin{enumerate}   \item second level \begin{enumerate}   \item third level   \begin{enumerate}  \item fourth level    \hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax}  Text outside of enumerate     \hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax} Text outside of enumerate     \hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax} Text outside of enumerate   \end{enumerate}   \end{enumerate}   \end{enumerate} \end{enumerate} \end{document} 

enter image description here

Using the values for \leftmargini, \leftmarginii, \leftmarginiii, \labelsep and \labelwidth` you can define commands with appropriate negative spacing; a little example:

\documentclass{article} \newcommand\outone{\par\hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax}} \newcommand\outtwo{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax}} \newcommand\outthree{\par\hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax}} \begin{document} \begin{enumerate} \item first level \begin{enumerate} \item second level \outone Text outside of enumerate  \begin{enumerate} \item third level \outone Text outside of enumerate  \outtwo Text outside of enumerate  \begin{enumerate}  \item fourth level \outone Text outside of enumerate \outtwo Text outside of enumerate \outthree Text outside of enumerate \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} \end{document} 

enter image description here

Source Link
Gonzalo Medina
  • 519.3k
  • 74
  • 1.7k
  • 1.9k

I am not sure if this is what you want:

\documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item first level \begin{enumerate} \item second level \begin{enumerate} \item third level \begin{enumerate} \item fourth level \hspace*{\dimexpr-\leftmargini+\labelsep-\labelwidth\relax} Text outside of enumerate \hspace*{\dimexpr-\leftmargini-\leftmarginii+\labelsep-\labelwidth\relax} Text outside of enumerate \hspace*{\dimexpr-\leftmargini-\leftmarginii-\leftmarginiii+\labelsep-\labelwidth\relax} Text outside of enumerate \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} \end{document} 

enter image description here