How to override command on my preamble, after its redefinition by my class with renewcommand? ...

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Is it ever safe to open a suspicious HTML file (e.g. email attachment)?

Is it convenient to ask the journal's editor for two additional days to complete a review?

Can you teleport closer to a creature you are Frightened of?

Why am I getting "Static method cannot be referenced from a non static context: String String.valueOf(Object)"?

free fall ellipse or parabola?

Easy to read palindrome checker

What was Carter Burke's job for "the company" in Aliens?

Help! I cannot understand this game’s notations!

Are the names of these months realistic?

How to Implement Deterministic Encryption Safely in .NET

Towers in the ocean; How deep can they be built?

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

How to use ReplaceAll on an expression that contains a rule

Is there an equivalent of cd - for cp or mv

Does higher Oxidation/ reduction potential translate to higher energy storage in battery?

Why did early computer designers eschew integers?

Decide between Polyglossia and Babel for LuaLaTeX in 2019

How to get the last not-null value in an ordered column of a huge table?

Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Redefining symbol midway through a document

Which one is the true statement?



How to override command on my preamble, after its redefinition by my class with renewcommand?



The Next CEO of Stack OverflowRedefinition problem with maketitle from KOMA class (with optional argument)Declare new command using another command with a name based on its input?How to display command name and its valueWhy can’t I define a command with renewcommand?How to define _or_ redefine a command (mixing providecommand + renewcommand)?Can I reobtain a command I've overwritten with renewcommand?LaTeX Warning: Label(s) may have changed. Rerun to get cross-references rightHow to set topsep=0pt on the latex standard list implementation inside an environment?Command with a space after itOverride macro with renewcommand{} multiple times from different files - toc addcontentsline












0















I use this document class: https://ctan.org/pkg/abntex2?lang=en, but when I generate this:



documentclass[12pt]{abntex2}

renewcommand{listfigurename}{My List}

begin{document}

listoffigures*

end{document}


The list of figures name is not overwritten by My List, it still Lista de Ilustrações:



enter image description here



It only works if I put renewcommand{listfigurename}{My List} inside the document like this:



documentclass[12pt]{abntex2}

begin{document}

renewcommand{listfigurename}{My List}
listoffigures*

end{document}


enter image description here



Why I cannot override it?



Looking at the abntex2 code, I see they redefine the command:




  1. https://github.com/abntex/abntex2/blob/master/tex/latex/abntex2/abntex2.cls#L163


  renewcommand{listfigurename}{Lista de ilustrac{c}~{o}es}


How to override the listfigurename on my preamble, after the abntex class inclusion?









share



























    0















    I use this document class: https://ctan.org/pkg/abntex2?lang=en, but when I generate this:



    documentclass[12pt]{abntex2}

    renewcommand{listfigurename}{My List}

    begin{document}

    listoffigures*

    end{document}


    The list of figures name is not overwritten by My List, it still Lista de Ilustrações:



    enter image description here



    It only works if I put renewcommand{listfigurename}{My List} inside the document like this:



    documentclass[12pt]{abntex2}

    begin{document}

    renewcommand{listfigurename}{My List}
    listoffigures*

    end{document}


    enter image description here



    Why I cannot override it?



    Looking at the abntex2 code, I see they redefine the command:




    1. https://github.com/abntex/abntex2/blob/master/tex/latex/abntex2/abntex2.cls#L163


      renewcommand{listfigurename}{Lista de ilustrac{c}~{o}es}


    How to override the listfigurename on my preamble, after the abntex class inclusion?









    share

























      0












      0








      0








      I use this document class: https://ctan.org/pkg/abntex2?lang=en, but when I generate this:



      documentclass[12pt]{abntex2}

      renewcommand{listfigurename}{My List}

      begin{document}

      listoffigures*

      end{document}


      The list of figures name is not overwritten by My List, it still Lista de Ilustrações:



      enter image description here



      It only works if I put renewcommand{listfigurename}{My List} inside the document like this:



      documentclass[12pt]{abntex2}

      begin{document}

      renewcommand{listfigurename}{My List}
      listoffigures*

      end{document}


      enter image description here



      Why I cannot override it?



      Looking at the abntex2 code, I see they redefine the command:




      1. https://github.com/abntex/abntex2/blob/master/tex/latex/abntex2/abntex2.cls#L163


        renewcommand{listfigurename}{Lista de ilustrac{c}~{o}es}


      How to override the listfigurename on my preamble, after the abntex class inclusion?









      share














      I use this document class: https://ctan.org/pkg/abntex2?lang=en, but when I generate this:



      documentclass[12pt]{abntex2}

      renewcommand{listfigurename}{My List}

      begin{document}

      listoffigures*

      end{document}


      The list of figures name is not overwritten by My List, it still Lista de Ilustrações:



      enter image description here



      It only works if I put renewcommand{listfigurename}{My List} inside the document like this:



      documentclass[12pt]{abntex2}

      begin{document}

      renewcommand{listfigurename}{My List}
      listoffigures*

      end{document}


      enter image description here



      Why I cannot override it?



      Looking at the abntex2 code, I see they redefine the command:




      1. https://github.com/abntex/abntex2/blob/master/tex/latex/abntex2/abntex2.cls#L163


        renewcommand{listfigurename}{Lista de ilustrac{c}~{o}es}


      How to override the listfigurename on my preamble, after the abntex class inclusion?







      macros lists abnt





      share












      share










      share



      share










      asked 6 mins ago









      useruser

      1,2402930




      1,2402930






















          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%2f482523%2fhow-to-override-command-on-my-preamble-after-its-redefinition-by-my-class-with%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%2f482523%2fhow-to-override-command-on-my-preamble-after-its-redefinition-by-my-class-with%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