How to add babel captions to newfloat package environments?How to override command on my preamble, after its redefinition by my class with renewcommand?Write a class with language dependent stringsPackage babel error: Unknow optionError using ref in captions with Tufte and BabelProblem with babel packageExercise package with BabelOrdinal captions of figures with Basque-Babel in tufte-bookPackage babel errorHow to format paragraphs in newfloatsvmono + newfloat - caption: how to adjust spacing separating the caption and the float contentsHow to make multi language figure captions without babel package

How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?

Why didn't Boeing produce its own regional jet?

What is a Samsaran Word™?

Unlock My Phone! February 2018

How do conventional missiles fly?

How seriously should I take size and weight limits of hand luggage?

How exploitable/balanced is this homebrew spell: Spell Permanency?

Machine learning testing data

What is the opposite of "eschatology"?

Knowledge-based authentication using Domain-driven Design in C#

Is it a bad idea to plug the other end of ESD strap to wall ground?

Car headlights in a world without electricity

Is it possible to create a QR code using text?

Why were 5.25" floppy drives cheaper than 8"?

Implication of namely

Is this draw by repetition?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Do Iron Man suits sport waste management systems?

Convert seconds to minutes

Am I breaking OOP practice with this architecture?

Blending or harmonizing

What Exploit Are These User Agents Trying to Use?

Can compressed videos be decoded back to their uncompresed original format?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?



How to add babel captions to newfloat package environments?


How to override command on my preamble, after its redefinition by my class with renewcommand?Write a class with language dependent stringsPackage babel error: Unknow optionError using ref in captions with Tufte and BabelProblem with babel packageExercise package with BabelOrdinal captions of figures with Basque-Babel in tufte-bookPackage babel errorHow to format paragraphs in newfloatsvmono + newfloat - caption: how to adjust spacing separating the caption and the float contentsHow to make multi language figure captions without babel package













0















This minimal example, will produce the following PDF:



documentclass[12pt]abntex2
usepackage[utf8]inputenc

usepackagenewfloat
DeclareFloatingEnvironment[fileext=loq,placement=!hbtp,name=Frame,within=chapter,listname=List of Frames]board

% addtocaptionsbrazilrenewcommandboardnameQuadro
% addtocaptionsbrazilrenewcommandlistofboardsnameLista de Quadros

newififenglishenglishfalse
% englishtrue
newcommandlang[2]ifenglish#1else#2fi

ifenglish
PassOptionsToPackagelanguage=englishbiblatex
PassOptionsToPackagebrazil,main=english,spanish,frenchbabel
else
PassOptionsToPackagelanguage=brazilbiblatex
PassOptionsToPackagemain=brazil,english,spanish,frenchbabel
fi

begindocument

sectionlangEnglish SectionSeção em Português

listofboards*

langSection contents.Conteúdo da seção.

beginboard[htb]
centering
captionlangSubtitleLegenda
begintabular
hline
langContentConteúdo\
hline
endtabular
fontelangAuthorAutor
endboard

enddocument


enter image description here



Where the captions are mixed with English. If you uncomment the lines addtocaptionsbrazil, Latex will throw the error:



LaTeX Error: listofboardsname undefined.


I had used something like addtocaptionsbrazil on this other issue How to override command on my preamble, after its redefinition by my class with renewcommand?, and it fixed the problem. How can I use addtocaptionsbrazil with the newfloat package board environment I just created?









share


























    0















    This minimal example, will produce the following PDF:



    documentclass[12pt]abntex2
    usepackage[utf8]inputenc

    usepackagenewfloat
    DeclareFloatingEnvironment[fileext=loq,placement=!hbtp,name=Frame,within=chapter,listname=List of Frames]board

    % addtocaptionsbrazilrenewcommandboardnameQuadro
    % addtocaptionsbrazilrenewcommandlistofboardsnameLista de Quadros

    newififenglishenglishfalse
    % englishtrue
    newcommandlang[2]ifenglish#1else#2fi

    ifenglish
    PassOptionsToPackagelanguage=englishbiblatex
    PassOptionsToPackagebrazil,main=english,spanish,frenchbabel
    else
    PassOptionsToPackagelanguage=brazilbiblatex
    PassOptionsToPackagemain=brazil,english,spanish,frenchbabel
    fi

    begindocument

    sectionlangEnglish SectionSeção em Português

    listofboards*

    langSection contents.Conteúdo da seção.

    beginboard[htb]
    centering
    captionlangSubtitleLegenda
    begintabular
    hline
    langContentConteúdo\
    hline
    endtabular
    fontelangAuthorAutor
    endboard

    enddocument


    enter image description here



    Where the captions are mixed with English. If you uncomment the lines addtocaptionsbrazil, Latex will throw the error:



    LaTeX Error: listofboardsname undefined.


    I had used something like addtocaptionsbrazil on this other issue How to override command on my preamble, after its redefinition by my class with renewcommand?, and it fixed the problem. How can I use addtocaptionsbrazil with the newfloat package board environment I just created?









    share
























      0












      0








      0








      This minimal example, will produce the following PDF:



      documentclass[12pt]abntex2
      usepackage[utf8]inputenc

      usepackagenewfloat
      DeclareFloatingEnvironment[fileext=loq,placement=!hbtp,name=Frame,within=chapter,listname=List of Frames]board

      % addtocaptionsbrazilrenewcommandboardnameQuadro
      % addtocaptionsbrazilrenewcommandlistofboardsnameLista de Quadros

      newififenglishenglishfalse
      % englishtrue
      newcommandlang[2]ifenglish#1else#2fi

      ifenglish
      PassOptionsToPackagelanguage=englishbiblatex
      PassOptionsToPackagebrazil,main=english,spanish,frenchbabel
      else
      PassOptionsToPackagelanguage=brazilbiblatex
      PassOptionsToPackagemain=brazil,english,spanish,frenchbabel
      fi

      begindocument

      sectionlangEnglish SectionSeção em Português

      listofboards*

      langSection contents.Conteúdo da seção.

      beginboard[htb]
      centering
      captionlangSubtitleLegenda
      begintabular
      hline
      langContentConteúdo\
      hline
      endtabular
      fontelangAuthorAutor
      endboard

      enddocument


      enter image description here



      Where the captions are mixed with English. If you uncomment the lines addtocaptionsbrazil, Latex will throw the error:



      LaTeX Error: listofboardsname undefined.


      I had used something like addtocaptionsbrazil on this other issue How to override command on my preamble, after its redefinition by my class with renewcommand?, and it fixed the problem. How can I use addtocaptionsbrazil with the newfloat package board environment I just created?









      share














      This minimal example, will produce the following PDF:



      documentclass[12pt]abntex2
      usepackage[utf8]inputenc

      usepackagenewfloat
      DeclareFloatingEnvironment[fileext=loq,placement=!hbtp,name=Frame,within=chapter,listname=List of Frames]board

      % addtocaptionsbrazilrenewcommandboardnameQuadro
      % addtocaptionsbrazilrenewcommandlistofboardsnameLista de Quadros

      newififenglishenglishfalse
      % englishtrue
      newcommandlang[2]ifenglish#1else#2fi

      ifenglish
      PassOptionsToPackagelanguage=englishbiblatex
      PassOptionsToPackagebrazil,main=english,spanish,frenchbabel
      else
      PassOptionsToPackagelanguage=brazilbiblatex
      PassOptionsToPackagemain=brazil,english,spanish,frenchbabel
      fi

      begindocument

      sectionlangEnglish SectionSeção em Português

      listofboards*

      langSection contents.Conteúdo da seção.

      beginboard[htb]
      centering
      captionlangSubtitleLegenda
      begintabular
      hline
      langContentConteúdo\
      hline
      endtabular
      fontelangAuthorAutor
      endboard

      enddocument


      enter image description here



      Where the captions are mixed with English. If you uncomment the lines addtocaptionsbrazil, Latex will throw the error:



      LaTeX Error: listofboardsname undefined.


      I had used something like addtocaptionsbrazil on this other issue How to override command on my preamble, after its redefinition by my class with renewcommand?, and it fixed the problem. How can I use addtocaptionsbrazil with the newfloat package board environment I just created?







      captions babel newfloat





      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%2f482886%2fhow-to-add-babel-captions-to-newfloat-package-environments%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%2f482886%2fhow-to-add-babel-captions-to-newfloat-package-environments%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

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

          Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica