%%
%% The LaTeX Companion, 3ed
%%
%% Example 8-4-6 on page I-618 in "Altering corners".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{135.0pt}

%StartShownPreambleCommands
\usepackage{tcolorbox}
%StopShownPreambleCommands

\begin{document}
\footnotesize
\begin{tcolorbox}[sharp corners=northwest]
   A box with one sharp corner             \end{tcolorbox}
\begin{tcolorbox}[sharp corners=downhill]
   A box with two opposite sharp corners   \end{tcolorbox}
\begin{tcolorbox}[sharp corners,rounded corners=southeast]
   A box with just one rounded corner at the bottom right
\end{tcolorbox}
\end{document}