subteoremas não aninhados reajustáveis

subteoremas não aninhados reajustáveis

Quero criar subteoremas reajustáveis ​​sem aninhá-los. Estou usando pacotes thmtoolse thm-restate.

Por subteoremas não aninhados, quero dizer uma estrutura semelhante à que usamos para seções e subseções: uma seção não inclui seus parágrafos e subseções, mas estes são conceitualmente todos filhos de uma seção. No meu MWE, quero criar um teorema reajustável (nº 1) seguido por um parágrafo regular de texto. Então, quero adicionar vários subteoremas (numerados 1.x), cada um seguido por um pedaço de texto.

Até onde seiesta respostanão funciona com reajustáveis, e odocumentos do thmtoolsnão mencione nada assim também.

\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}

Responder1

Algo assim funcionaria? Ele apenas usa os recursos fornecidos por thmtools, que parecem ser idênticos a thm-restate. (Não tenho certeza sobre isso, mas a adição deste último não pareceu necessária para o seu exemplo.)

\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}

Metas e submetas

informação relacionada