\colorbox{}{}

Beschreibung

Bildet eine \mbox{} mit dem ersten Argument als Hintergrundfarbe und dem zweiten als Inhalt.

Voraussetzungen

\usepackage{color}

Beispielcode

Siehe: LaTeX-Wörterbuch: textcolor

%Preamble
\usepackage{framed, color}

%Dokument
Der \colorbox{green}{Text hier ist grün} hinterlegt.

Siehe auch

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.