我是乳膠初學者,我想知道如何列舉案例。我嘗試使用\begin{case}
,但編號已關閉。如果我遇到多個涉及案例的問題,則編號不會在每個問題後重新開始,而是像什麼都沒發生一樣繼續進行。我該如何讓它停止。另外,當我談論案例時,我指的是案例 1 和案例 2
我還使用在 sharelatex 上找到的所有這些軟體包:
\documentclass[28pt]{article}
\usepackage{fancyhdr}
\usepackage[includeheadfoot,margin=1.0cm]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{enumitem}
\usepackage{mathtools}
\usepackage{framed}
\usepackage{chessfss} %chess figure for HW #2
\usepackage[english]{babel} %table for problem A.43
\usepackage{multirow} %table for problem A.43 %\usepackage[table]{xcolor} color certain blocks in a table %\usepackage[pass,showframe]{geometry} just to show the margins \usepackage[makeroom]{cancel} \usepackage{array} %BETWEEN TWO 2-DIGIT NUMBERS
\newcommand{\N}{\mathbb{N}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\thedate}{\today}
\newtheoremstyle{case}{}{}{}{}{}{:}{ }{} \theoremstyle{case} \newtheorem{case}{Case}
\newenvironment{theorem}[2][Theorem]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries
#2.}]}{\end{trivlist}} \newenvironment{lemma}[2][Lemma]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries
#2.}]}{\end{trivlist}} \newenvironment{exercise}[2][Exercise]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries
#2.}]}{\end{trivlist}} \newenvironment{problem}[2][Problem]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries
#2.}]}{\end{trivlist}} \newenvironment{question}[2][Question]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries
#2.}]}{\end{trivlist}} \newenvironment{corollary}[2][Corollary]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}