재안정 가능한 중첩되지 않은 하위 정리

재안정 가능한 중첩되지 않은 하위 정리

중첩하지 않고 재안정 가능한 하위 정리를 만들고 싶습니다. 나는 패키지 thmtoolsthm-restate.

중첩되지 않은 하위 정리란 섹션과 하위 섹션에 사용하는 것과 유사한 구조를 의미합니다. 섹션은 단락과 하위 섹션을 포함하지 않지만 개념적으로는 모두 섹션의 하위 항목입니다. 내 MWE에서 나는 재확인 가능한 정리(1번)와 일반 텍스트 단락을 만들고 싶습니다. 그런 다음 여러 하위 정리(번호 1.x)를 추가하고 각 정리 뒤에 약간의 텍스트를 추가하고 싶습니다.

AFAIK이 답변재안정성 항목에서는 작동하지 않으며thmtools 문서이것도 언급하지 마세요.

\documentclass[a4paper]{article}
\usepackage{thmtools,thm-restate}

\newtheorem{goal}{Learning Goal}

\begin{document}
\section{Numbers}
We want to learn about numbers.

\subsection{Small Numbers}
Let's start with small numbers.
\begin{restatable}{goal}{gI}
    Count to 3.
\end{restatable}
Counting to 3 is the most essential skill in the `small number department'.
We will master this skill in a number of steps which are described below.

%This should be sub-goal 1.1
\begin{restatable}{goal}{gI_i}
    The number 1.
\end{restatable}
We will ask Elmo to tell us about the number 1.

%This should be sub-goal 1.2
\begin{restatable}{goal}{gI_ii}
    The number 2.
\end{restatable}
This one will be taken care of by Cookie Monster.

%This should be sub-goal 1.3
\begin{restatable}{goal}{gI_iii}
    The number 3.
\end{restatable}
This is the toughest one so far.
We will have to rely on the Count to explain all about this number.

\section{Letters}
\ldots
\end{document}

답변1

이런 것이 효과가 있을까요? 에서 제공하는 기능을 사용할 뿐입니다 thmtools. 이는 와 동일한 것으로 보입니다 thm-restate. (나는 이것에 대해 확신하지 못하지만 귀하의 예에서는 후자를 추가하는 것이 필요하지 않은 것 같습니다.)

\documentclass[a4paper]{article}
\usepackage{thmtools}

\declaretheorem[name=Learning Goal]{goal}
\declaretheorem[
  name=Learning Goal,
  parent=goal]
  {subgoal}

\begin{document}
\section{Numbers}
We want to learn about numbers.

\subsection{Small Numbers}
Let's start with small numbers.
\begin{restatable}{goal}{gI}
    Count to 3.
\end{restatable}
Counting to 3 is the most essential skill in the `small number department'.
We will master this skill in a number of steps which are described below.

%This should be sub-goal 1.1
\begin{restatable}{subgoal}{gI_i}
    The number 1.
\end{restatable}
We will ask Elmo to tell us about the number 1.

%This should be sub-goal 1.2
\begin{restatable}{subgoal}{gI_ii}
    The number 2.
\end{restatable}
This one will be taken care of by Cookie Monster.

%This should be sub-goal 1.3
\begin{restatable}{subgoal}{gI_iii}
    The number 3.
\end{restatable}
This is the toughest one so far.
We will have to rely on the Count to explain all about this number.


\section{Letters}
\ldots
\end{document}

목표 및 하위 목표

관련 정보