答案1
快速、简单的解决方案;您可以使用 创建一种新类型的项目列表enumitem
。不过,这里您必须手动插入\newline
s。
\documentclass{article}
\usepackage{mathtools,enumitem,newpxtext}
\DeclarePairedDelimiter{\dbracket}{[\![}{]\!]}
\newlist{caselist}{itemize}{1}
\setlist[caselist]{
label=\textsl{Case},
labelindent=0pt, %customize value for distance from left margin to "Case"
leftmargin=4em, %customize value for distance from left margin to item content
labelsep=*,
align=left
}
\begin{document}
\noindent Text before
\begin{caselist}
\item {\(f_{Z} \dbracket{x \coloneqq 0}(\sigma_{i}) = [x \mapsto Z]\sigma_{i}\)}:\newline{}
Assume \(c_{i} = E, n\) and \(\alpha(E) = \sigma_{i}\)\newline{}
Thus \(\sigma_{i+1} = f_{Z} [\![x \coloneqq 0]\!](\sigma_{i}) = [x \mapsto Z] \alpha(E)\)\newline{}
etc.
\item \(f_{Z} \dbracket{x \coloneqq 0}(\sigma_{i}) = [x \mapsto N]\sigma_{i}\) where \(m \ne 0\):\newline{}
Assume \(c_{i} = E, n\) and \(\alpha(E) = \sigma_{i}\)\newline{}
etc.
\end{caselist}
\noindent Text after
\end{document}