Sie sind auf Seite 1von 1

24.

2 Option Keys of the Library


U 2015-03-16 /tcb/docexample (style, no value)
Sets the style for dispExampleÕ P. 464 and dispListingÕ P. 465 with the colors ExampleBack
and ExampleFrame. To change the appearance of the examples, this style can be redefined.

% Predefined style:
\tcbset{
docexample/.style={colframe=ExampleFrame,colback=ExampleBack,
before skip=\medskipamount,after skip=\medskipamount,
fontlower=\footnotesize}
}

/tcb/documentation listing options=hkey listi (no default,


initially style=tcbdocumentation)
Sets the options from the package listings [6]. They are used inside dispExampleÕ P. 464
and dispListingÕ P. 465 to typeset the listings. Note that this is not identical to the key
/tcb/listing optionsÕ P. 305 which is used for ’normal’ listings.
Used for /tcb/listing engineÕ P. 310 =listings only.
/tcb/documentation listing style=hlisting stylei (no default, initially tcbdocumentation)
Abbreviation for documentation listing options={style=...}. This key sets a hstylei
for the listings package, see [6]. Note that this is not identical to the key /tcb/listing
styleÕ P. 305 which is used for ’normal’ listings.
Used for /tcb/listing engineÕ P. 310 =listings only.
/tcb/documentation minted options=hminted stylei (no default,
initially tabsize=2,fontsize=\small)
Sets the options from the package minted [12] which are used during typesetting of the
listing, if used. Note that this is not identical to the key /tcb/minted optionsÕ P. 308
which is used for ’normal’ listings.
Used for /tcb/listing engineÕ P. 310 =minted only.
/tcb/documentation minted style=hkey listi (no default, initially unset)
Sets a hstylei known to Pygments [14] for the package minted [12], if used. Note that this
is not identical to the key /tcb/minted styleÕ P. 309 which is used for ’normal’ listings.
Used for /tcb/listing engineÕ P. 310 =minted only.
N 2017-04-24 /tcb/documentation minted language=hprogramming languagei (no default, initially latex)
Sets a hprogramming languagei known to Pygments [14] for the package minted [12], if used.
Note that this is not identical to the key /tcb/minted languageÕ P. 308 which is used for
’normal’ listings.
Used for /tcb/listing engineÕ P. 310 =minted only.

The following two keys are deprecated and without function (v3.50 and above). Use
! /tcb/beforeÕ P. 78 and /tcb/afterÕ P. 78 with appropriate values instead. Also see
/tcb/docexample.

U 2015-03-16 /tcb/before example=hmacrosi (no default, initially empty)

deprecated
Sets the hmacrosi which are executed before dispExampleÕ P. 464 and dispListingÕ P. 465

additional to /tcb/beforeÕ P. 78 .
/tcb/after example=hmacrosi (no default, initially empty)
deprecated
Sets the hmacrosi which are executed after dispExample and dispListingÕ P. 465
Õ P. 464

additional to /tcb/afterÕ P. 78 .

469

Das könnte Ihnen auch gefallen