0% found this document useful (0 votes)
55 views1 page

Tcolorbox Right Space Settings Guide

The document describes three tcolorbox parameters that control spacing on the right side of the box: 1. The /tcb/right parameter sets the right spacing for all text parts and defaults to 4mm. 2. The /tcb/righttitle parameter sets the right spacing specifically for the title and defaults to 4mm. 3. The /tcb/rightupper parameter sets the right spacing for the upper text and defaults to 4mm. Examples are given to demonstrate the effects of each parameter.

Uploaded by

jimuso
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views1 page

Tcolorbox Right Space Settings Guide

The document describes three tcolorbox parameters that control spacing on the right side of the box: 1. The /tcb/right parameter sets the right spacing for all text parts and defaults to 4mm. 2. The /tcb/righttitle parameter sets the right spacing specifically for the title and defaults to 4mm. 3. The /tcb/rightupper parameter sets the right spacing for the upper text and defaults to 4mm. Examples are given to demonstrate the effects of each parameter.

Uploaded by

jimuso
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

/tcb/right=hlengthi (style, no default, initially 4mm)

Sets the right space between all text parts and frame (additional to boxsep). This is an
abbreviation for setting righttitle, rightupper, and rightlower to the same value.

\begin{tcolorbox}[width=5cm,right=2cm]
This is a \textbf{tcolorbox}.
\end{tcolorbox}

This is a tcol-
orbox.

/tcb/righttitle=hlengthi (no default, initially 4mm)


Sets the right space between title text and frame (additional to boxsep).

\begin{tcolorbox}[width=5cm,righttitle=2cm,title=My very long title text]


This is a \textbf{tcolorbox} with standard upper box dimensions.
\end{tcolorbox}

My very long ti-


tle text

This is a tcolorbox with


standard upper box dimen-
sions.

/tcb/rightupper=hlengthi (no default, initially 4mm)


Sets the right space between upper text and frame (additional to boxsep).

\begin{tcolorbox}[width=5cm,rightupper=2cm,title=My very long title text]


This is a \textbf{tcolorbox} with compressed upper box dimensions.
\end{tcolorbox}

My very long title text

This is a tcol-
orbox with
compressed
upper box
dimensions.

12

You might also like