Problems with an automatic theorem listAutomatic theorem listreference amsthm theorem with item list...

Error message with tabularx

Noun clause (singular all the time?)

Controversial area of mathematics

Apply MapThread to all but one variable

Unexpected email from Yorkshire Bank

Don’t seats that recline flat defeat the purpose of having seatbelts?

Pass By Reference VS Pass by Value

Why do Computer Science majors learn Calculus?

Why do games have consumables?

Mac Pro install disk keeps ejecting itself

How come there are so many candidates for the 2020 Democratic party presidential nomination?

US visa is under administrative processing, I need the passport back ASAP

Will a top journal at least read my introduction?

how to find the equation of a circle given points of the circle

How to type a section sign (§) into the Minecraft client

What makes accurate emulation of old systems a difficult task?

How do I reattach a shelf to the wall when it ripped out of the wall?

Why does processed meat contain preservatives, while canned fish needs not?

With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?

How to pronounce 'C++' in Spanish

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

Was there a shared-world project before "Thieves World"?

How to reduce LED flash rate (frequency)

Do I have to worry about players making “bad” choices on level up?



Problems with an automatic theorem list


Automatic theorem listreference amsthm theorem with item list insideTheorem Style (like 1.1 Theorem)Alternative theorem styles with amsthm package?Transforming a list with xparsesiunitx: Problems with xparse after update on 2016-03-31Writing theorem conditions with automatic numbering and labelsVersioning Theorem numbers with amsthmAutomatic theorem listAutomatic newpage before every theoremAutomatic date in personal journal













1















I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.



I've been trying to fix this for quite sometime but without success. Here's the code:



documentclass{book}
usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
% ---------------------------
hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
%
ExplSyntaxOn
%
NewDocumentCommand{newtheoremx}{momo}
{
IfValueTF{#2}
{
newtheorem{#1@inner}[#2@inner]{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}[#2@inner]{#3}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
}
{
IfValueTF{#4}
{
newtheorem{#1@inner}{#3}[#4]
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}[#4]
}
{
newtheorem{#1@inner}{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}
}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
}
NewEnviron{#1}[1][]
{
tl_if_empty:nTF { ##1 }
{ begin{#1@inner} }
{ begin{#1@inner}[##1] }
label{#3thechapter.arabic{#1@inner}}
tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
BODY
end{#1@inner}
seq_gput_right:Nx g_riccardo_theorems_seq
{
{ #1 }
{ g__riccardo_theorems_number_tl }
{ exp_not:n { ##1 } }
{ exp_not:V BODY }
{ thechapter }
}
}
AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
counterwithin{equation}{#1@inner}
counterwithin{footnote}{#1@inner}
theoremstyle{mytheorem}
}
%
prop_new:N g_riccardo_theorems_prop
seq_new:N g_riccardo_theorems_seq
tl_new:N g__riccardo_theorems_number_tl
iow_new:N g_riccardo_theorems_stream
seq_new:N g_riccardo_theorems_counters_seq

NewDocumentCommand{printtheorems}{}
{
group_begin:
cs_set_eq:NN label use_none:n
file_if_exist_input:n { c_sys_jobname_str.thm }
group_end:
seq_map_inline:Nn g_riccardo_theorems_counters_seq
{
setcounter{##1@inner}{0}
}
newpage
}
%
cs_new_protected:Nn riccardo_theorems_save:
{
seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
}
cs_new_protected:Nn __riccardo_theorems_save:n
{
iow_now:Nn g_riccardo_theorems_stream
{
savedtheorem #1
}
}
AtEndDocument
{
iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
riccardo_theorems_save:
iow_close:N g_riccardo_theorems_stream
}
%
NewDocumentCommand{savedtheorem}{mmmmm}
{
cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
int_compare:nNnT {thechapter} = {#5} {
tl_if_empty:nTF { #3 }
{
begin{#1@innerlinked} #4 end{#1@innerlinked}
}
{
begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
}
}
}
%
ExplSyntaxOff
% ---------------------------
newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
theoremstyle{mytheorem}
%
newtheoremx{thm}{Theorem}[chapter]
newtheoremx{lemma}[thm]{Lemma}
%
renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
%
counterwithout{equation}{chapter}
counterwithout{footnote}{chapter}
% --------------------------------
begin{document}
%
chapter{A test chapter}
begin{thm}
A very important theorem è.
end{thm}

begin{lemma}
A very important lemma.
end{lemma}

begin{thm}
Another theorem.
end{thm}
%
end{document}


I think the main problem is that lemma@inner doesn't get recognised as a counter for the lemma environment, which causes the code to fail.










share|improve this question



























    1















    I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.



    I've been trying to fix this for quite sometime but without success. Here's the code:



    documentclass{book}
    usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
    % ---------------------------
    hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
    %
    ExplSyntaxOn
    %
    NewDocumentCommand{newtheoremx}{momo}
    {
    IfValueTF{#2}
    {
    newtheorem{#1@inner}[#2@inner]{#3}
    theoremstyle{linked}
    newtheorem{#1@innerlinked}[#2@inner]{#3}
    prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
    }
    {
    IfValueTF{#4}
    {
    newtheorem{#1@inner}{#3}[#4]
    theoremstyle{linked}
    newtheorem{#1@innerlinked}{#3}[#4]
    }
    {
    newtheorem{#1@inner}{#3}
    theoremstyle{linked}
    newtheorem{#1@innerlinked}{#3}
    }
    prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
    seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
    }
    NewEnviron{#1}[1][]
    {
    tl_if_empty:nTF { ##1 }
    { begin{#1@inner} }
    { begin{#1@inner}[##1] }
    label{#3thechapter.arabic{#1@inner}}
    tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
    BODY
    end{#1@inner}
    seq_gput_right:Nx g_riccardo_theorems_seq
    {
    { #1 }
    { g__riccardo_theorems_number_tl }
    { exp_not:n { ##1 } }
    { exp_not:V BODY }
    { thechapter }
    }
    }
    AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
    counterwithin{equation}{#1@inner}
    counterwithin{footnote}{#1@inner}
    theoremstyle{mytheorem}
    }
    %
    prop_new:N g_riccardo_theorems_prop
    seq_new:N g_riccardo_theorems_seq
    tl_new:N g__riccardo_theorems_number_tl
    iow_new:N g_riccardo_theorems_stream
    seq_new:N g_riccardo_theorems_counters_seq

    NewDocumentCommand{printtheorems}{}
    {
    group_begin:
    cs_set_eq:NN label use_none:n
    file_if_exist_input:n { c_sys_jobname_str.thm }
    group_end:
    seq_map_inline:Nn g_riccardo_theorems_counters_seq
    {
    setcounter{##1@inner}{0}
    }
    newpage
    }
    %
    cs_new_protected:Nn riccardo_theorems_save:
    {
    seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
    }
    cs_new_protected:Nn __riccardo_theorems_save:n
    {
    iow_now:Nn g_riccardo_theorems_stream
    {
    savedtheorem #1
    }
    }
    AtEndDocument
    {
    iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
    riccardo_theorems_save:
    iow_close:N g_riccardo_theorems_stream
    }
    %
    NewDocumentCommand{savedtheorem}{mmmmm}
    {
    cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
    int_compare:nNnT {thechapter} = {#5} {
    tl_if_empty:nTF { #3 }
    {
    begin{#1@innerlinked} #4 end{#1@innerlinked}
    }
    {
    begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
    }
    }
    }
    %
    ExplSyntaxOff
    % ---------------------------
    newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
    newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
    theoremstyle{mytheorem}
    %
    newtheoremx{thm}{Theorem}[chapter]
    newtheoremx{lemma}[thm]{Lemma}
    %
    renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
    newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
    %
    counterwithout{equation}{chapter}
    counterwithout{footnote}{chapter}
    % --------------------------------
    begin{document}
    %
    chapter{A test chapter}
    begin{thm}
    A very important theorem è.
    end{thm}

    begin{lemma}
    A very important lemma.
    end{lemma}

    begin{thm}
    Another theorem.
    end{thm}
    %
    end{document}


    I think the main problem is that lemma@inner doesn't get recognised as a counter for the lemma environment, which causes the code to fail.










    share|improve this question

























      1












      1








      1








      I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.



      I've been trying to fix this for quite sometime but without success. Here's the code:



      documentclass{book}
      usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
      % ---------------------------
      hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
      %
      ExplSyntaxOn
      %
      NewDocumentCommand{newtheoremx}{momo}
      {
      IfValueTF{#2}
      {
      newtheorem{#1@inner}[#2@inner]{#3}
      theoremstyle{linked}
      newtheorem{#1@innerlinked}[#2@inner]{#3}
      prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
      }
      {
      IfValueTF{#4}
      {
      newtheorem{#1@inner}{#3}[#4]
      theoremstyle{linked}
      newtheorem{#1@innerlinked}{#3}[#4]
      }
      {
      newtheorem{#1@inner}{#3}
      theoremstyle{linked}
      newtheorem{#1@innerlinked}{#3}
      }
      prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
      seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
      }
      NewEnviron{#1}[1][]
      {
      tl_if_empty:nTF { ##1 }
      { begin{#1@inner} }
      { begin{#1@inner}[##1] }
      label{#3thechapter.arabic{#1@inner}}
      tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
      BODY
      end{#1@inner}
      seq_gput_right:Nx g_riccardo_theorems_seq
      {
      { #1 }
      { g__riccardo_theorems_number_tl }
      { exp_not:n { ##1 } }
      { exp_not:V BODY }
      { thechapter }
      }
      }
      AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
      counterwithin{equation}{#1@inner}
      counterwithin{footnote}{#1@inner}
      theoremstyle{mytheorem}
      }
      %
      prop_new:N g_riccardo_theorems_prop
      seq_new:N g_riccardo_theorems_seq
      tl_new:N g__riccardo_theorems_number_tl
      iow_new:N g_riccardo_theorems_stream
      seq_new:N g_riccardo_theorems_counters_seq

      NewDocumentCommand{printtheorems}{}
      {
      group_begin:
      cs_set_eq:NN label use_none:n
      file_if_exist_input:n { c_sys_jobname_str.thm }
      group_end:
      seq_map_inline:Nn g_riccardo_theorems_counters_seq
      {
      setcounter{##1@inner}{0}
      }
      newpage
      }
      %
      cs_new_protected:Nn riccardo_theorems_save:
      {
      seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
      }
      cs_new_protected:Nn __riccardo_theorems_save:n
      {
      iow_now:Nn g_riccardo_theorems_stream
      {
      savedtheorem #1
      }
      }
      AtEndDocument
      {
      iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
      riccardo_theorems_save:
      iow_close:N g_riccardo_theorems_stream
      }
      %
      NewDocumentCommand{savedtheorem}{mmmmm}
      {
      cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
      int_compare:nNnT {thechapter} = {#5} {
      tl_if_empty:nTF { #3 }
      {
      begin{#1@innerlinked} #4 end{#1@innerlinked}
      }
      {
      begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
      }
      }
      }
      %
      ExplSyntaxOff
      % ---------------------------
      newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
      newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
      theoremstyle{mytheorem}
      %
      newtheoremx{thm}{Theorem}[chapter]
      newtheoremx{lemma}[thm]{Lemma}
      %
      renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
      newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
      %
      counterwithout{equation}{chapter}
      counterwithout{footnote}{chapter}
      % --------------------------------
      begin{document}
      %
      chapter{A test chapter}
      begin{thm}
      A very important theorem è.
      end{thm}

      begin{lemma}
      A very important lemma.
      end{lemma}

      begin{thm}
      Another theorem.
      end{thm}
      %
      end{document}


      I think the main problem is that lemma@inner doesn't get recognised as a counter for the lemma environment, which causes the code to fail.










      share|improve this question














      I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.



      I've been trying to fix this for quite sometime but without success. Here's the code:



      documentclass{book}
      usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
      % ---------------------------
      hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
      %
      ExplSyntaxOn
      %
      NewDocumentCommand{newtheoremx}{momo}
      {
      IfValueTF{#2}
      {
      newtheorem{#1@inner}[#2@inner]{#3}
      theoremstyle{linked}
      newtheorem{#1@innerlinked}[#2@inner]{#3}
      prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
      }
      {
      IfValueTF{#4}
      {
      newtheorem{#1@inner}{#3}[#4]
      theoremstyle{linked}
      newtheorem{#1@innerlinked}{#3}[#4]
      }
      {
      newtheorem{#1@inner}{#3}
      theoremstyle{linked}
      newtheorem{#1@innerlinked}{#3}
      }
      prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
      seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
      }
      NewEnviron{#1}[1][]
      {
      tl_if_empty:nTF { ##1 }
      { begin{#1@inner} }
      { begin{#1@inner}[##1] }
      label{#3thechapter.arabic{#1@inner}}
      tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
      BODY
      end{#1@inner}
      seq_gput_right:Nx g_riccardo_theorems_seq
      {
      { #1 }
      { g__riccardo_theorems_number_tl }
      { exp_not:n { ##1 } }
      { exp_not:V BODY }
      { thechapter }
      }
      }
      AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
      counterwithin{equation}{#1@inner}
      counterwithin{footnote}{#1@inner}
      theoremstyle{mytheorem}
      }
      %
      prop_new:N g_riccardo_theorems_prop
      seq_new:N g_riccardo_theorems_seq
      tl_new:N g__riccardo_theorems_number_tl
      iow_new:N g_riccardo_theorems_stream
      seq_new:N g_riccardo_theorems_counters_seq

      NewDocumentCommand{printtheorems}{}
      {
      group_begin:
      cs_set_eq:NN label use_none:n
      file_if_exist_input:n { c_sys_jobname_str.thm }
      group_end:
      seq_map_inline:Nn g_riccardo_theorems_counters_seq
      {
      setcounter{##1@inner}{0}
      }
      newpage
      }
      %
      cs_new_protected:Nn riccardo_theorems_save:
      {
      seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
      }
      cs_new_protected:Nn __riccardo_theorems_save:n
      {
      iow_now:Nn g_riccardo_theorems_stream
      {
      savedtheorem #1
      }
      }
      AtEndDocument
      {
      iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
      riccardo_theorems_save:
      iow_close:N g_riccardo_theorems_stream
      }
      %
      NewDocumentCommand{savedtheorem}{mmmmm}
      {
      cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
      int_compare:nNnT {thechapter} = {#5} {
      tl_if_empty:nTF { #3 }
      {
      begin{#1@innerlinked} #4 end{#1@innerlinked}
      }
      {
      begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
      }
      }
      }
      %
      ExplSyntaxOff
      % ---------------------------
      newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
      newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
      theoremstyle{mytheorem}
      %
      newtheoremx{thm}{Theorem}[chapter]
      newtheoremx{lemma}[thm]{Lemma}
      %
      renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
      newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
      %
      counterwithout{equation}{chapter}
      counterwithout{footnote}{chapter}
      % --------------------------------
      begin{document}
      %
      chapter{A test chapter}
      begin{thm}
      A very important theorem è.
      end{thm}

      begin{lemma}
      A very important lemma.
      end{lemma}

      begin{thm}
      Another theorem.
      end{thm}
      %
      end{document}


      I think the main problem is that lemma@inner doesn't get recognised as a counter for the lemma environment, which causes the code to fail.







      expl3 amsthm xparse






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 mins ago









      noibenoibe

      586113




      586113






















          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%2f488006%2fproblems-with-an-automatic-theorem-list%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%2f488006%2fproblems-with-an-automatic-theorem-list%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

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

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...