06.01.2015 Views

Manual for the tcolorbox package

Manual for the tcolorbox package

Manual for the tcolorbox package

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2 Lower Part<br />

/tcb/lowerbox=〈mode〉<br />

(no default, initially visible)<br />

Controls <strong>the</strong> treatment of <strong>the</strong> lower part of <strong>the</strong> box. Feasible values <strong>for</strong> 〈mode〉 are:<br />

• visible: usual type setting of <strong>the</strong> lower part,<br />

• invisible: empty space instead of <strong>the</strong> lower part contents,<br />

• ignored: <strong>the</strong> lower part is not used (here).<br />

The last two values are usually applied in connection with savelowerto.<br />

\begin{<strong>tcolorbox</strong>}[lowerbox=invisible,colback=white]<br />

This is a \textbf{<strong>tcolorbox</strong>}.<br />

\tcblower<br />

This is <strong>the</strong> lower part (but invisible).<br />

\end{<strong>tcolorbox</strong>}<br />

\begin{<strong>tcolorbox</strong>}[lowerbox=ignored,colback=white]<br />

This is a \textbf{<strong>tcolorbox</strong>}.<br />

\tcblower<br />

This is <strong>the</strong> lower part (but ignored).<br />

\end{<strong>tcolorbox</strong>}<br />

This is a <strong>tcolorbox</strong>.<br />

This is a <strong>tcolorbox</strong>.<br />

/tcb/savelowerto=〈file name〉<br />

(no default, initially empty)<br />

Saves <strong>the</strong> content of <strong>the</strong> lower part in a file <strong>for</strong> an optional later usage.<br />

\begin{<strong>tcolorbox</strong>}[lowerbox=invisible,savelowerto=\jobname_bspsave.tex,colback=white]<br />

This is a \textbf{<strong>tcolorbox</strong>}.<br />

\tcblower<br />

This is <strong>the</strong> lower part which may be quite complex:<br />

$\displaystyle f(x)=\frac{1+x^2}{1-x^2}$.<br />

\end{<strong>tcolorbox</strong>}<br />

Now, we load <strong>the</strong> saved text:\\<br />

\input{\jobname_bspsave.tex}<br />

This is a <strong>tcolorbox</strong>.<br />

Now, we load <strong>the</strong> saved text:<br />

This is <strong>the</strong> lower part which may be quite complex: f(x) = 1 + x2<br />

1 − x 2 .<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!