2012-03-11, 19:28
Hier ein Minimalbeispiel, wie man mit xcolor
Farben definiert.
\documentclass{scrartcl}
\usepackage{xcolor}
\definecolor{myred}{rgb}{1,0,0}
\definecolor{myblue}{RGB}{0,0,255}
\begin{document}
\fcolorbox{gray}{myred}{Test}
\fcolorbox{gray}{myblue}{Test}
\end{document} |
\documentclass{scrartcl}
\usepackage{xcolor}
\definecolor{myred}{rgb}{1,0,0}
\definecolor{myblue}{RGB}{0,0,255}
\begin{document}
\fcolorbox{gray}{myred}{Test}
\fcolorbox{gray}{myblue}{Test}
\end{document}
Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined.
Do you like my content and would like to thank me for it? Consider making a small donation to my local fablab, the Dingfabrik Köln. Details on how to donate can be found here Spenden für die Dingfabrik.
More Posts - Website