Commonmark migration
Source Link

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description here

##Notes:

Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If the first item is to be indented, you need to add \item[] before starting the IndentedEnumerate environment.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be to modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

##Code:

Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item[]
\begin{IndentedEnumerate}
\item This is the frist item with indentation, so need \verb|\item[]| before this.
\end{IndentedEnumerate} 
\item This is a normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description here

##Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If the first item is to be indented, you need to add \item[] before starting the IndentedEnumerate environment.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be to modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

##Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item[]
\begin{IndentedEnumerate}
\item This is the frist item with indentation, so need \verb|\item[]| before this.
\end{IndentedEnumerate} 
\item This is a normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description here

Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If the first item is to be indented, you need to add \item[] before starting the IndentedEnumerate environment.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be to modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item[]
\begin{IndentedEnumerate}
\item This is the frist item with indentation, so need \verb|\item[]| before this.
\end{IndentedEnumerate} 
\item This is a normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}
adapted to allow for indentation for the first item; added 3 characters in body
Source Link
Peter Grill
  • 210.8k
  • 40
  • 520
  • 861

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description hereenter image description here

##Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If the first item is to be indented, you need to add \item[] before starting the IndentedEnumerate environment.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be to modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

##Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item[]
\begin{IndentedEnumerate}
\item This is athe normalfrist item without anywith indentation, so need \verb|\item[]| before this.
\end{IndentedEnumerate} 
\item This is anothera normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description here

##Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

##Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item This is a normal item without any indentation.
\item This is another normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description here

##Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If the first item is to be indented, you need to add \item[] before starting the IndentedEnumerate environment.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be to modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

##Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item[]
\begin{IndentedEnumerate}
\item This is the frist item with indentation, so need \verb|\item[]| before this.
\end{IndentedEnumerate} 
\item This is a normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}
Source Link
Peter Grill
  • 210.8k
  • 40
  • 520
  • 861

As ErikYou suggests, one normally would nest an enumerated list within an enumerated list to get this effect. However, in your case, this would in effect start a new list with its own counter. So, I would suggest you use the IndentedEnumerate environment defined below which starts the nested list so that its enumeration continues on from the previous list and yields:

enter image description here

##Notes:

  • This is only set up for one level of nesting -- It will need further enhancements if more than one level of nesting if desired.
  • If you wish this to work without the enumitem package package, the only tweaks necessary should be modify how the label is specified for the indented list.
  • The showframe package was used just to show the page margins.

##Code:

\documentclass{article}
\usepackage{showframe}
\usepackage{enumitem}

\newcounter{ListStartCount}%
\newenvironment{IndentedEnumerate}[1][]{%
    \setcounter{ListStartCount}{\theenumi}%
    \stepcounter{ListStartCount}%
    \begin{enumerate}[start=\theListStartCount,label={\arabic*.},#1]%
}{%
    \setcounter{enumi}{\theListStartCount}%
    \end{enumerate}%
}%

\begin{document}
\begin{enumerate}
\item This is a normal item without any indentation.
\item This is another normal item without any indentation.
%
\begin{IndentedEnumerate}
\item This is an indented item with a long text that causes a line break. Now, the enumeration is continued and the new line is indented. 
\end{IndentedEnumerate} 
%
\item This is a normal item without any indentation.
\end{enumerate} 
\end{document}