Problem with expand, all restatable theorems points to the same theorem The 2019 Stack...

How to add class in ko template in magento2

Why did Peik say, "I'm not an animal"?

Match Roman Numerals

Why can't devices on different VLANs, but on the same subnet, communicate?

Can there be female White Walkers?

Alternative to の

What is the most efficient way to store a numeric range?

"as much details as you can remember"

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

Why does the nucleus not repel itself?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Why couldn't they take pictures of a closer black hole?

How can I define good in a religion that claims no moral authority?

Worn-tile Scrabble

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

The phrase "to the numbers born"?

Likelihood that a superbug or lethal virus could come from a landfill

Why not take a picture of a closer black hole?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Finding the area between two curves with Integrate

How to notate time signature switching consistently every measure

Can a flute soloist sit?

Output the Arecibo Message



Problem with expand, all restatable theorems points to the same theorem



The 2019 Stack Overflow Developer Survey Results Are InHow to cross-reference theorems with “Theorem”?Theorem numbering with sub-theorems issueFormatting theorems with drop-cap'd theorem numbersProblem with theorem numberingNumber theorems with subsections: “Theorem 1.2.3.4”Listing all theorems using a specific theoremReferencing theorems (while including the theorem caption)Execute condition in “last” environment typeset of it's typeProblem with theorems numerationUltimate proof at the end: different sections, with references to proof/theorem, restate, and synctex












0















I'm trying to manually do a small script that let me put proofs at the end, restate theorem... But I'm having some troubles with the restate, because all the theorems have the same name, so when I want to restate them at the end all of them have the same name. Indeed, I wrote in a function:



edefnamerestate{prAtEndRestateroman{counterAllProofEnd}}
begin{restatable}{#2}{namerestate}label{thm:prAtEndthecounterAllProofEnd}
#4
end{restatable}


and in my code:



prAtEndRestatei*
prAtEndRestateii*


But the two theorems that are displayed are exactly the same (the last theorem written)!



Any idea what's going wrong?



enter image description here



MWE:



documentclass{article}
usepackage{mathtools}
usepackage{amssymb, amsthm, amsmath, thm-restate}
usepackage{thmtools} %%
usepackage{hyperref}
usepackage{etoolbox}

newtheorem{thm}{Theorem}[section]
providecommand*thmautorefname{Theorem}
newtheorem{corollary}[thm]{Corollary}
providecommand*corollaryautorefname{Corollary}
newtheorem{lemma}[thm]{Lemma}
providecommand*lemmaautorefname{Lemma}

begin{document}

section{Manual theorems}
edefnamerestate{manualtheoremi}
begin{restatable}{thm}{namerestate}
My first manual theorem
end{restatable}

edefnamerestate{manualtheoremii}
begin{restatable}{thm}{namerestate}
My second manual theorem
end{restatable}

Restitution:
manualtheoremi*
manualtheoremii*

end{document}








share





























    0















    I'm trying to manually do a small script that let me put proofs at the end, restate theorem... But I'm having some troubles with the restate, because all the theorems have the same name, so when I want to restate them at the end all of them have the same name. Indeed, I wrote in a function:



    edefnamerestate{prAtEndRestateroman{counterAllProofEnd}}
    begin{restatable}{#2}{namerestate}label{thm:prAtEndthecounterAllProofEnd}
    #4
    end{restatable}


    and in my code:



    prAtEndRestatei*
    prAtEndRestateii*


    But the two theorems that are displayed are exactly the same (the last theorem written)!



    Any idea what's going wrong?



    enter image description here



    MWE:



    documentclass{article}
    usepackage{mathtools}
    usepackage{amssymb, amsthm, amsmath, thm-restate}
    usepackage{thmtools} %%
    usepackage{hyperref}
    usepackage{etoolbox}

    newtheorem{thm}{Theorem}[section]
    providecommand*thmautorefname{Theorem}
    newtheorem{corollary}[thm]{Corollary}
    providecommand*corollaryautorefname{Corollary}
    newtheorem{lemma}[thm]{Lemma}
    providecommand*lemmaautorefname{Lemma}

    begin{document}

    section{Manual theorems}
    edefnamerestate{manualtheoremi}
    begin{restatable}{thm}{namerestate}
    My first manual theorem
    end{restatable}

    edefnamerestate{manualtheoremii}
    begin{restatable}{thm}{namerestate}
    My second manual theorem
    end{restatable}

    Restitution:
    manualtheoremi*
    manualtheoremii*

    end{document}








    share



























      0












      0








      0








      I'm trying to manually do a small script that let me put proofs at the end, restate theorem... But I'm having some troubles with the restate, because all the theorems have the same name, so when I want to restate them at the end all of them have the same name. Indeed, I wrote in a function:



      edefnamerestate{prAtEndRestateroman{counterAllProofEnd}}
      begin{restatable}{#2}{namerestate}label{thm:prAtEndthecounterAllProofEnd}
      #4
      end{restatable}


      and in my code:



      prAtEndRestatei*
      prAtEndRestateii*


      But the two theorems that are displayed are exactly the same (the last theorem written)!



      Any idea what's going wrong?



      enter image description here



      MWE:



      documentclass{article}
      usepackage{mathtools}
      usepackage{amssymb, amsthm, amsmath, thm-restate}
      usepackage{thmtools} %%
      usepackage{hyperref}
      usepackage{etoolbox}

      newtheorem{thm}{Theorem}[section]
      providecommand*thmautorefname{Theorem}
      newtheorem{corollary}[thm]{Corollary}
      providecommand*corollaryautorefname{Corollary}
      newtheorem{lemma}[thm]{Lemma}
      providecommand*lemmaautorefname{Lemma}

      begin{document}

      section{Manual theorems}
      edefnamerestate{manualtheoremi}
      begin{restatable}{thm}{namerestate}
      My first manual theorem
      end{restatable}

      edefnamerestate{manualtheoremii}
      begin{restatable}{thm}{namerestate}
      My second manual theorem
      end{restatable}

      Restitution:
      manualtheoremi*
      manualtheoremii*

      end{document}








      share
















      I'm trying to manually do a small script that let me put proofs at the end, restate theorem... But I'm having some troubles with the restate, because all the theorems have the same name, so when I want to restate them at the end all of them have the same name. Indeed, I wrote in a function:



      edefnamerestate{prAtEndRestateroman{counterAllProofEnd}}
      begin{restatable}{#2}{namerestate}label{thm:prAtEndthecounterAllProofEnd}
      #4
      end{restatable}


      and in my code:



      prAtEndRestatei*
      prAtEndRestateii*


      But the two theorems that are displayed are exactly the same (the last theorem written)!



      Any idea what's going wrong?



      enter image description here



      MWE:



      documentclass{article}
      usepackage{mathtools}
      usepackage{amssymb, amsthm, amsmath, thm-restate}
      usepackage{thmtools} %%
      usepackage{hyperref}
      usepackage{etoolbox}

      newtheorem{thm}{Theorem}[section]
      providecommand*thmautorefname{Theorem}
      newtheorem{corollary}[thm]{Corollary}
      providecommand*corollaryautorefname{Corollary}
      newtheorem{lemma}[thm]{Lemma}
      providecommand*lemmaautorefname{Lemma}

      begin{document}

      section{Manual theorems}
      edefnamerestate{manualtheoremi}
      begin{restatable}{thm}{namerestate}
      My first manual theorem
      end{restatable}

      edefnamerestate{manualtheoremii}
      begin{restatable}{thm}{namerestate}
      My second manual theorem
      end{restatable}

      Restitution:
      manualtheoremi*
      manualtheoremii*

      end{document}






      theorems expansion





      share














      share












      share



      share








      edited 1 min ago







      tobiasBora

















      asked 6 mins ago









      tobiasBoratobiasBora

      1,293315




      1,293315






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484442%2fproblem-with-expand-all-restatable-theorems-points-to-the-same-theorem%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484442%2fproblem-with-expand-all-restatable-theorems-points-to-the-same-theorem%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación