Why I don't get the wanted width of tcbox?How to limit the header to the page width?How to set fit height and width for tcbox according to the text inside?How can I make pages after the first come out correctly with fancyhdr?Why don't the chead and pagestyle commands affect page headers in the pagecommand of the pdfpages package?Create header with left, center, and right aligned itemsTable wanted that breaks across pages and has the wanted horizontal sizeUse of the width of a box as parshapewhy this command don't work?Adjusting the width of a tcolorbox to its content?Why does overlay work only on the first tcolorbox?

Would it be believable to defy demographics in a story?

Can "few" be used as a subject? If so, what is the rule?

Should a narrator ever describe things based on a characters view instead of fact?

Asserting that Atheism and Theism are both faith based positions

How to find the largest number(s) in a list of elements?

Why doesn't the chatan sign the ketubah?

TDE Master Key Rotation

Is VPN a layer 3 concept?

Why is this tree refusing to shed its dead leaves?

Turning a hard to access nut?

Does fire aspect on a sword, destroy mob drops?

Homology of the fiber

Why are there no stars visible in cislunar space?

Did Nintendo change its mind about 68000 SNES?

CLI: Get information Ubuntu releases

When should a starting writer get his own webpage?

Triple Trouble Tribond

Single word to change groups

What are rules for concealing thieves tools (or items in general)?

Do I need an EFI partition for each 18.04 ubuntu I have on my HD?

How are passwords stolen from companies if they only store hashes?

Jem'Hadar, something strange about their life expectancy

Would mining huge amounts of resources on the Moon change its orbit?

How to remove space in section title at KOMA-Script



Why I don't get the wanted width of tcbox?


How to limit the header to the page width?How to set fit height and width for tcbox according to the text inside?How can I make pages after the first come out correctly with fancyhdr?Why don't the chead and pagestyle commands affect page headers in the pagecommand of the pdfpages package?Create header with left, center, and right aligned itemsTable wanted that breaks across pages and has the wanted horizontal sizeUse of the width of a box as parshapewhy this command don't work?Adjusting the width of a tcolorbox to its content?Why does overlay work only on the first tcolorbox?













0















Here is a MWE:



documentclassscrartcl
usepackage[svgnames,x11names]xcolor
usepackagefancyhdr,tcolorbox
pagestylefancy
cfoottcbox[colback=Khaki1!25!white,colframe=DarkGoldenrod2!75!black,arc=1mm,width=5cm]textitemphthepage


begindocument

abc

enddocument


The result at the bottom of the page is:
enter image description here



Why the box is not 5cm long?



Thank you!









share


























    0















    Here is a MWE:



    documentclassscrartcl
    usepackage[svgnames,x11names]xcolor
    usepackagefancyhdr,tcolorbox
    pagestylefancy
    cfoottcbox[colback=Khaki1!25!white,colframe=DarkGoldenrod2!75!black,arc=1mm,width=5cm]textitemphthepage


    begindocument

    abc

    enddocument


    The result at the bottom of the page is:
    enter image description here



    Why the box is not 5cm long?



    Thank you!









    share
























      0












      0








      0








      Here is a MWE:



      documentclassscrartcl
      usepackage[svgnames,x11names]xcolor
      usepackagefancyhdr,tcolorbox
      pagestylefancy
      cfoottcbox[colback=Khaki1!25!white,colframe=DarkGoldenrod2!75!black,arc=1mm,width=5cm]textitemphthepage


      begindocument

      abc

      enddocument


      The result at the bottom of the page is:
      enter image description here



      Why the box is not 5cm long?



      Thank you!









      share














      Here is a MWE:



      documentclassscrartcl
      usepackage[svgnames,x11names]xcolor
      usepackagefancyhdr,tcolorbox
      pagestylefancy
      cfoottcbox[colback=Khaki1!25!white,colframe=DarkGoldenrod2!75!black,arc=1mm,width=5cm]textitemphthepage


      begindocument

      abc

      enddocument


      The result at the bottom of the page is:
      enter image description here



      Why the box is not 5cm long?



      Thank you!







      header-footer tcolorbox





      share












      share










      share



      share










      asked 6 mins ago









      heblyxheblyx

      923919




      923919




















          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%2f480179%2fwhy-i-dont-get-the-wanted-width-of-tcbox%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%2f480179%2fwhy-i-dont-get-the-wanted-width-of-tcbox%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"

          inputenc: Unicode character … not set up for use with LaTeX The Next CEO of Stack OverflowEntering Unicode characters in LaTeXHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 characterPackage inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. acroI2C[I²C]package inputenc error unicode char (u + 190) not set up for use with latexPackage inputenc Error: Unicode char u8:′ not set up for use with LaTeX. 3′inputenc Error: Unicode char u8: not set up for use with LaTeX with G-BriefPackage Inputenc Error: Unicode char u8: not set up for use with LaTeXPackage inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. includePackage inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $widehatleft (OA,AA' right )$Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. printbibliography[heading=bibintoc]Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeXPackage inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeXPackage inputenc Error: Unicode characterError: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX