ENUMERATE 的问题:一种“NOITEMINDENT”

ENUMERATE 的问题:一种“NOITEMINDENT”

我对这段代码有疑问:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry}
\usepackage{stix}

\title{Enumerate notes}
\author{PUCK}
\date{October 2022}

\begin{document}

\maketitle

\Large

\section{Introduction}

\begin{enumerate}[label=\textbf{Dimostrazione \arabic*}., leftmargin=3.8cm]
\item bljfaldknfskgjpòfgj pòfkjwpòrkgjpsrogjpsfogjpe fjpsrofgjètohjèogjrèswogjèeot jgpèeogjèeorfgjèsorfgkjèsòorgj kjgèsogkjèsorflgkjèsorgkèspogkjè
\end{enumerate}

I'd like something like so

\noindent\textbf{Dimostrazione 1}. bljfaldknfskgjpòfgj pòfkjwpòrkgjpsrogjpsfogjpe fjpsrofgjètohjèogjrèswogjèeot jgpèeogjèeorfgjèsorfgkjèsòorgj kjgèsogkjèsorflgkjèsorgkèspogkjè

\end{document}

我如何使用获得第二个选项enumitem-package?非常感谢

答案1

给你:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry}
\usepackage{stix}

\title{Enumerate notes}
\author{PUCK}
\date{October 2022}

\begin{document}

\maketitle

\Large

\section{Introduction}

\begin{enumerate}[label=\textbf{Dimostrazione \arabic*}., leftmargin=3.8cm, wide=0pt]
\item bljfaldknfskgjpòfgj pòfkjwpòrkgjpsrogjpsfogjpe fjpsrofgjètohjèogjrèswogjèeot jgpèeogjèeorfgjèsorfgkjèsòorgj kjgèsogkjèsorflgkjèsorgkèspogkjè
\end{enumerate}

\end{document} 

在此处输入图片描述

相关内容