Below is a paste of some latex code I am writing. I am still quite new and wanted to try to play around with some modified enumeration environments, as per this post. The following code results in everything after "\item [\textbf{Aufgabe 1}]" being indented in the document. How do I display the output inline with the customized enumeration items? i.e, the output should be similarly indented to "Aufgabe" 1,2, ... , n
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[latin1]{inputenc}
\title{Mathe 3 Uebung 4}
\author{Oscar}
\date{\today}
\begin{document}
\maketitle
\begin{enumerate}
\item [\textbf{Aufgabe 1}] \textit{``lorem ipsum''}
\begin{center}
\begin{tabular}{| l | l l l l l |}
\hline
$i$ & 1 & 2 & 3 & 4 & 5 \\ \hline
$x_i$ & -2 & 0 & 1 & 4 & 10 \\ \hline
$p_i$ & $\frac{1}{16}$ & $p_2$ & $\frac{1}{4}$ & $\frac{1}{4}$ & $\frac{1}
{16}$ \\
\hline
\end{tabular}
\end{center}
\begin{enumerate}
\item abc
\item bcd
\item cde
\end{enumerate}
\item [\textbf{Aufgabe 2}]
\item [\textbf{Aufgabe 3}]
\item [\textbf{Aufgabe 4}]
\item [\textbf{Aufgabe 5}]
\end{enumerate}
\end{document}

enumitempackage. https://www.ctan.org/pkg/enumitem – Steven B. Segletes Oct 31 '18 at 17:01\begin{enumerate}[leftmargin=-46pt] \item abc \item bcd \item cde \end{enumerate}on the inner enumerate, with\usepackage{enumitem}in the preamble. – Steven B. Segletes Oct 31 '18 at 17:09