06.01.2015 Views

Manual for the tcolorbox package

Manual for the tcolorbox package

Manual for the tcolorbox package

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

tcb/rounded corners=〈position〉<br />

(default all, initially all)<br />

The /tcb/rounded corners can be used to revert a /tcb/sharp corners → P. 33 setting.<br />

The 〈position〉 denotes one or more of <strong>the</strong> four box corners to be set as rounded corners.<br />

The not assigned corners will retain <strong>the</strong>ir mode. Feasible values <strong>for</strong> 〈position〉 are 2 :<br />

• northwest<br />

• nor<strong>the</strong>ast<br />

• southwest<br />

• sou<strong>the</strong>ast<br />

• north<br />

• south<br />

• east<br />

• west<br />

• downhill<br />

• uphill<br />

• all<br />

\begin{<strong>tcolorbox</strong>}[colback=red!5!white,<br />

colframe=red!75!black,sharp corners,<br />

rounded corners=northwest ]<br />

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

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

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

/tcb/sharpish corners<br />

(style, no value)<br />

Shortcut <strong>for</strong> setting /tcb/arc → P. 24 and /tcb/outer arc → P. 24 to 0pt. With this setting,<br />

rounded corners will appear als quasi-sharp, but e. g. <strong>the</strong> shadow will be somewhat rounder<br />

than <strong>the</strong> shadow of really sharp corners.<br />

Corners are still of type rounded with this option, but appear sharp. To switch back to<br />

rounded corners, one has to adapt /tcb/arc!<br />

→ P. 24 and /tcb/outer arc → P. 24 .<br />

\begin{<strong>tcolorbox</strong>}[colback=red!5!white,<br />

colframe=red!75!black,<br />

sharpish corners ]<br />

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

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

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

2 The graphical examples assume that <strong>the</strong> boxes where set to have sharp corners be<strong>for</strong>e.<br />

34

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

Saved successfully!

Ooh no, something went wrong!