A work-around with enumitem
. It uses the resume*
key which allows to interrupt a list, then continue this list withe the same parameters (counters, left margin, &c.) except thos which are modified. I give an example with enumerate
:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman,english]{babel}
\usepackage{csquotes}
\usepackage{showframe}
\renewcommand{\ShowFrameLinethickness}{0.2pt}
\usepackage{mathbbol}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{enumitem}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\usepackage[english]{varioref}
\usepackage{url}
\usepackage[hidelinks]{hyperref}
\begin{document}
\begin{theorem}\label{thm}
\begin{itemize}
\item item
\end{itemize}Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.
\end{theorem}
In Themrem \ref{thm2}\\
However, inserting a \texttt{\textbackslash hspace\{2em\}} solved the problem but moves the item in a new line.
\begin{theorem}\leavevmode\vspace{-\baselineskip}
\label{thm2}%\hspace{2em}
\begin{enumerate}[font=\upshape, leftmargin=9em, nosep, itemsep = 0pt]
\item item Lalala
\end{enumerate}
\begin{enumerate}[resume*, leftmargin=*]
\item Another item. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.
\end{enumerate}
\end{theorem}
\end{document}
Added: Here is the corresponding code for itemize
:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman,english]{babel}
\usepackage{csquotes}
\usepackage{showframe}
\renewcommand{\ShowFrameLinethickness}{0.2pt}
\usepackage{mathbbol}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{enumitem}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\usepackage[english]{varioref}
\usepackage{url}
\usepackage[hidelinks]{hyperref}
\begin{document}
\begin{theorem}\label{thm}
\begin{itemize}
\item item
\end{itemize}Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.
\end{theorem}
In Themrem \ref{thm2}\\
However, inserting a \texttt{\textbackslash hspace\{2em\}} solved the problem but moves the item in a new line.
\begin{theorem}\leavevmode\vspace{-\baselineskip}
\label{thm2}%\hspace{2em}
\begin{itemize}[leftmargin=9em, nosep, itemsep = 0pt]
\item an item
\end{itemize}
\begin{itemize}[resume*, leftmargin=*]
\item Another item with some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.
\end{itemize}
\end{theorem}
\end{document}