[texhax] Help Regarding \tcolorbox font size

Shubho Roy shubho.roy85 at gmail.com
Thu Sep 10 09:26:19 CEST 2015

I am trying to make a standardised box environment for a document. In the
preamble I am describing the features of the \tcolorbox and calling in

I want all the text in the mybox to be smaller than the normal text in the

While I am able to do it for each box using \tcbfontsize{0.8} in the box, I
am unable to put it as a *general *feature when I am defining "mybox"

The following is my code


\newtcolorbox[auto counter, list inside=boxes]{mybox}[2][]{%
  arc=0mm, enhanced, breakable, floatplacement=tp,float,
  colback=blue!0!white,colframe=blue!65!black, fonttitle=\bfseries,
  title=Box~\thetcbcounter: #2, #1}

  Minimum Working Example}

  \begin{mybox}[label={tt:test-box}]{Caption for test-box}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20150910/4da411ee/attachment.html>

More information about the texhax mailing list