Why abntex2 class is inserting a new line after the chapter title? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to automatically put a [Go To Summary] | [Go Back] on each section?What is the equivalent to `Sectionformat` on memoir class for `Chapterformat`?How can the go to summary be fixed so the section[Some]Some more does not throw all these errors?Chapter number and chapter title in one lineInserting undertilde in Chapter titleInserting chapter* title to TOCRemoving the “chapter” title for one chapter onlyon new page and chapter title in an imageInserting section titles on the chapter title pageChanging Chapter Title in scrrprt-classVertical Spacing after the Chapter TitleHow to add the chapter number into the chapter title using memoir class?Chapter title under chapter number in KOMA class

Does silver oxide react with hydrogen sulfide?

How can I save and copy a screenhot at the same time?

Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?

New Order #6: Easter Egg

Mounting TV on a weird wall that has some material between the drywall and stud

Weaponising the Grasp-at-a-Distance spell

How does light 'choose' between wave and particle behaviour?

NERDTreeMenu Remapping

Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?

What would you call this weird metallic apparatus that allows you to lift people?

"klopfte jemand" or "jemand klopfte"?

What does it mean that physics no longer uses mechanical models to describe phenomena?

A `coordinate` command ignored

Universal covering space of the real projective line?

Is openssl rand command cryptographically secure?

Getting out of while loop on console

Special flights

Differences to CCompactSize and CVarInt

How to ask rejected full-time candidates to apply to teach individual courses?

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

How to ternary Plot3D a function

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Why are vacuum tubes still used in amateur radios?

Was Kant an Intuitionist about mathematical objects?



Why abntex2 class is inserting a new line after the chapter title?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to automatically put a [Go To Summary] | [Go Back] on each section?What is the equivalent to `Sectionformat` on memoir class for `Chapterformat`?How can the go to summary be fixed so the section[Some]Some more does not throw all these errors?Chapter number and chapter title in one lineInserting undertilde in Chapter titleInserting chapter* title to TOCRemoving the “chapter” title for one chapter onlyon new page and chapter title in an imageInserting section titles on the chapter title pageChanging Chapter Title in scrrprt-classVertical Spacing after the Chapter TitleHow to add the chapter number into the chapter title using memoir class?Chapter title under chapter number in KOMA class










0















I am using this customization How to automatically put a [Go To Summary] | [Go Back] on each section?, but when I load it together with abntex2 class, my go back buttons are put on the next line for the chapter command. Everything works fine for section and others:



enter image description here



If I remove the following code from the abntex2 class, then, it is fixed:



https://github.com/abntex/abntex2/blob/15a981c300198ca59920eea17f02893490adf878/tex/latex/abntex2/abntex2.cls#L603-L614



 defprintchaptertitle##1%
chaptitlefont%
ifthenelsebooleanabntex@innonumchaptercenteringABNTEXchapterupperifneeded##1%
ifthenelsebooleanabntex@apendiceousecao%
centering%
settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
ABNTEXchapterupperifneeded##1%
%
settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
parbox[t]columnwidth-chapternamenumlengthABNTEXchapterupperifneeded##1%




enter image description here




This is my minimal example:



documentclass[
10pt,
a5paper
]abntex2

usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor

definecolorultramarineRGB0,32,96
RequirePackageamssymb
newcommandgoToSummaryText
%
smallmdseries
hyperlinksummarytextcolorultramarine$leftleftarrows$
$
AcrobatmenuGoBacktextcolorultramarine$leftarrow$

makeatletter
newififismemoirloadedismemoirloadedfalse
@ifclassloadedmemoir
%
ismemoirloadedtrue

newcommandaddGoToSummary
%
renewcommandSectionformat[2]##1 protectgoToSummaryText
ifismemoirloaded
letoldprintchaptertitleprintchaptertitle
renewcommandprintchaptertitle[1]oldprintchaptertitle##1 protectgoToSummaryText
elsefi

newcommandremoveGoToSummary
%
renewcommandSectionformat[2]##1
ifismemoirloaded
letprintchaptertitleoldprintchaptertitle
elsefi

makeatother
letoldtableofcontentstableofcontents
renewcommandtableofcontents
%
hypertargetsummary%
oldtableofcontents%


begindocument
addGoToSummary
chapterSection contents
thing2.
enddocument


How can I patch abntex2 class or my command to fix this issue?



References:



  1. What is the equivalent to `Sectionformat` on memoir class for `Chapterformat`?

  2. How can the go to summary be fixed so the section[Some]Some more does not throw all these errors?









share|improve this question


























    0















    I am using this customization How to automatically put a [Go To Summary] | [Go Back] on each section?, but when I load it together with abntex2 class, my go back buttons are put on the next line for the chapter command. Everything works fine for section and others:



    enter image description here



    If I remove the following code from the abntex2 class, then, it is fixed:



    https://github.com/abntex/abntex2/blob/15a981c300198ca59920eea17f02893490adf878/tex/latex/abntex2/abntex2.cls#L603-L614



     defprintchaptertitle##1%
    chaptitlefont%
    ifthenelsebooleanabntex@innonumchaptercenteringABNTEXchapterupperifneeded##1%
    ifthenelsebooleanabntex@apendiceousecao%
    centering%
    settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
    ABNTEXchapterupperifneeded##1%
    %
    settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
    parbox[t]columnwidth-chapternamenumlengthABNTEXchapterupperifneeded##1%




    enter image description here




    This is my minimal example:



    documentclass[
    10pt,
    a5paper
    ]abntex2

    usepackage[utf8]inputenc
    usepackage[T1]fontenc
    usepackagexcolor

    definecolorultramarineRGB0,32,96
    RequirePackageamssymb
    newcommandgoToSummaryText
    %
    smallmdseries
    hyperlinksummarytextcolorultramarine$leftleftarrows$
    $
    AcrobatmenuGoBacktextcolorultramarine$leftarrow$

    makeatletter
    newififismemoirloadedismemoirloadedfalse
    @ifclassloadedmemoir
    %
    ismemoirloadedtrue

    newcommandaddGoToSummary
    %
    renewcommandSectionformat[2]##1 protectgoToSummaryText
    ifismemoirloaded
    letoldprintchaptertitleprintchaptertitle
    renewcommandprintchaptertitle[1]oldprintchaptertitle##1 protectgoToSummaryText
    elsefi

    newcommandremoveGoToSummary
    %
    renewcommandSectionformat[2]##1
    ifismemoirloaded
    letprintchaptertitleoldprintchaptertitle
    elsefi

    makeatother
    letoldtableofcontentstableofcontents
    renewcommandtableofcontents
    %
    hypertargetsummary%
    oldtableofcontents%


    begindocument
    addGoToSummary
    chapterSection contents
    thing2.
    enddocument


    How can I patch abntex2 class or my command to fix this issue?



    References:



    1. What is the equivalent to `Sectionformat` on memoir class for `Chapterformat`?

    2. How can the go to summary be fixed so the section[Some]Some more does not throw all these errors?









    share|improve this question
























      0












      0








      0








      I am using this customization How to automatically put a [Go To Summary] | [Go Back] on each section?, but when I load it together with abntex2 class, my go back buttons are put on the next line for the chapter command. Everything works fine for section and others:



      enter image description here



      If I remove the following code from the abntex2 class, then, it is fixed:



      https://github.com/abntex/abntex2/blob/15a981c300198ca59920eea17f02893490adf878/tex/latex/abntex2/abntex2.cls#L603-L614



       defprintchaptertitle##1%
      chaptitlefont%
      ifthenelsebooleanabntex@innonumchaptercenteringABNTEXchapterupperifneeded##1%
      ifthenelsebooleanabntex@apendiceousecao%
      centering%
      settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
      ABNTEXchapterupperifneeded##1%
      %
      settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
      parbox[t]columnwidth-chapternamenumlengthABNTEXchapterupperifneeded##1%




      enter image description here




      This is my minimal example:



      documentclass[
      10pt,
      a5paper
      ]abntex2

      usepackage[utf8]inputenc
      usepackage[T1]fontenc
      usepackagexcolor

      definecolorultramarineRGB0,32,96
      RequirePackageamssymb
      newcommandgoToSummaryText
      %
      smallmdseries
      hyperlinksummarytextcolorultramarine$leftleftarrows$
      $
      AcrobatmenuGoBacktextcolorultramarine$leftarrow$

      makeatletter
      newififismemoirloadedismemoirloadedfalse
      @ifclassloadedmemoir
      %
      ismemoirloadedtrue

      newcommandaddGoToSummary
      %
      renewcommandSectionformat[2]##1 protectgoToSummaryText
      ifismemoirloaded
      letoldprintchaptertitleprintchaptertitle
      renewcommandprintchaptertitle[1]oldprintchaptertitle##1 protectgoToSummaryText
      elsefi

      newcommandremoveGoToSummary
      %
      renewcommandSectionformat[2]##1
      ifismemoirloaded
      letprintchaptertitleoldprintchaptertitle
      elsefi

      makeatother
      letoldtableofcontentstableofcontents
      renewcommandtableofcontents
      %
      hypertargetsummary%
      oldtableofcontents%


      begindocument
      addGoToSummary
      chapterSection contents
      thing2.
      enddocument


      How can I patch abntex2 class or my command to fix this issue?



      References:



      1. What is the equivalent to `Sectionformat` on memoir class for `Chapterformat`?

      2. How can the go to summary be fixed so the section[Some]Some more does not throw all these errors?









      share|improve this question














      I am using this customization How to automatically put a [Go To Summary] | [Go Back] on each section?, but when I load it together with abntex2 class, my go back buttons are put on the next line for the chapter command. Everything works fine for section and others:



      enter image description here



      If I remove the following code from the abntex2 class, then, it is fixed:



      https://github.com/abntex/abntex2/blob/15a981c300198ca59920eea17f02893490adf878/tex/latex/abntex2/abntex2.cls#L603-L614



       defprintchaptertitle##1%
      chaptitlefont%
      ifthenelsebooleanabntex@innonumchaptercenteringABNTEXchapterupperifneeded##1%
      ifthenelsebooleanabntex@apendiceousecao%
      centering%
      settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
      ABNTEXchapterupperifneeded##1%
      %
      settowidthchapternamenumlengthprintchapternameprintchapternumafterchapternum%
      parbox[t]columnwidth-chapternamenumlengthABNTEXchapterupperifneeded##1%




      enter image description here




      This is my minimal example:



      documentclass[
      10pt,
      a5paper
      ]abntex2

      usepackage[utf8]inputenc
      usepackage[T1]fontenc
      usepackagexcolor

      definecolorultramarineRGB0,32,96
      RequirePackageamssymb
      newcommandgoToSummaryText
      %
      smallmdseries
      hyperlinksummarytextcolorultramarine$leftleftarrows$
      $
      AcrobatmenuGoBacktextcolorultramarine$leftarrow$

      makeatletter
      newififismemoirloadedismemoirloadedfalse
      @ifclassloadedmemoir
      %
      ismemoirloadedtrue

      newcommandaddGoToSummary
      %
      renewcommandSectionformat[2]##1 protectgoToSummaryText
      ifismemoirloaded
      letoldprintchaptertitleprintchaptertitle
      renewcommandprintchaptertitle[1]oldprintchaptertitle##1 protectgoToSummaryText
      elsefi

      newcommandremoveGoToSummary
      %
      renewcommandSectionformat[2]##1
      ifismemoirloaded
      letprintchaptertitleoldprintchaptertitle
      elsefi

      makeatother
      letoldtableofcontentstableofcontents
      renewcommandtableofcontents
      %
      hypertargetsummary%
      oldtableofcontents%


      begindocument
      addGoToSummary
      chapterSection contents
      thing2.
      enddocument


      How can I patch abntex2 class or my command to fix this issue?



      References:



      1. What is the equivalent to `Sectionformat` on memoir class for `Chapterformat`?

      2. How can the go to summary be fixed so the section[Some]Some more does not throw all these errors?






      chapters abnt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 15 mins ago









      useruser

      1,28821030




      1,28821030




















          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%2f485834%2fwhy-abntex2-class-is-inserting-a-new-line-after-the-chapter-title%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%2f485834%2fwhy-abntex2-class-is-inserting-a-new-line-after-the-chapter-title%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

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm