subteoremas no anidados reexpresables

subteoremas no anidados reexpresables

Quiero crear subteoremas reexpresables sin anidarlos. Estoy usando paquetes thmtoolsy thm-restate.

Por subteoremas no anidados me refiero a una estructura similar a la que usamos para las secciones y subsecciones: una sección no encierra sus párrafos y subsecciones, pero conceptualmente todos son hijos de una sección. En mi MWE, quiero crear un teorema reexpresable (n.° 1) seguido de un párrafo de texto normal. Luego, quiero agregar una serie de subteoremas (numerados 1.x), cada uno seguido de un poco de texto.

hasta donde seesta respuestano funciona con reestablecibles, y eldocumentos de thmtoolsTampoco menciones nada como esto.

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

Respuesta1

Algo como esto funcionaría? Simplemente utiliza las instalaciones proporcionadas por thmtools, que parecen ser idénticas a thm-restate. (No estoy seguro de esto, pero agregar este último no parecía necesario para su ejemplo).

\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 y Submetas

información relacionada