Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

The description texts of the main documentation environments docCommandÕ P.

459 ,
docEnvironmentÕ P. 460 , docKeyÕ P. 461 , etc, are set in a compact form without indention
and parskip=0pt. This settings can overruled by using the following keys to insert code before
(or after) the description texts.
N 2015-10-09 /tcb/before doc body command=hcodei (no default, initially empty)
Executes hcodei before the description texts of docCommand Õ P. 459 and docCommand*Õ P. 460 .

\tcbset{before doc body command={%


\setlength{\parindent}{2.5em}%
\setlength{\parskip}{1ex plus 0.75ex minus 0.25ex}%
}}

\begin{docCommand*}{myCommandG}{\marg{argument}}
This is the documentation of \refCom{myCommandG} which takes one \meta{argument}.
\refCom{myCommandG} does some funny things with its \meta{argument}.
\end{docCommand*}

\myCommandG{hargumenti} (no default, initially empty)


This is the documentation of \myCommandG which takes one hargumenti. \myCommandG does
some funny things with its hargumenti.

N 2015-10-09 /tcb/after doc body command=hcodei (no default, initially empty)


Executes hcodei after the description texts of docCommandÕ P. 459 and docCommand*Õ P. 460 .

\tcbset{after doc body command={%


\hfill\nolinebreak[1]\hspace*{\fill}\textcolor{red}{$\diamondsuit$}%
}}

\begin{docCommand*}{myCommandH}{\marg{argument}}
This is the documentation of \refCom{myCommandH} which takes one \meta{argument}.
\refCom{myCommandH} does some funny things with its \meta{argument}.
\end{docCommand*}

\myCommandH{hargumenti} (no default, initially empty)


This is the documentation of \myCommandH which takes one hargumenti. \myCommandH does some
funny things with its hargumenti. ♦

N 2015-10-09 /tcb/before doc body environment=hcodei (no default, initially empty)


Executes hcodei before the description texts of docEnvironmentÕ P. 460 and
docEnvironment*Õ P. 460 .
N 2015-10-09 /tcb/after doc body environment=hcodei (no default, initially empty)
Executes hcodei after the description texts of docEnvironmentÕ P. 460 and
docEnvironment*Õ P. 460 .
N 2015-10-09 /tcb/before doc body key=hcodei (no default, initially empty)
Executes hcodei before the description texts of docKey Õ P. 461 and docKey*Õ P. 461 .
N 2015-10-09 /tcb/after doc body key=hcodei (no default, initially empty)
Executes hcodei after the description texts of docKeyÕ P. 461 and docKey*Õ P. 461 .
N 2015-10-09 /tcb/before doc body=hoptionsi (no default, initially empty)
Shortcut for setting the same hoptionsi for /tcb/before doc body command, /tcb/before
doc body environment, and /tcb/before doc body key.
N 2015-10-09 /tcb/after doc body=hoptionsi (no default, initially empty)
Shortcut for setting the same hoptionsi for /tcb/after doc body command, /tcb/after
doc body environment, and /tcb/after doc body key.

475

You might also like