colored frames latex

colored frames latex

< include pdf in latex    > colored text

include pdf in latex

To get color into LaTeX use the usepackage xcolor. By using the command \fcolorbox{frame color}{background color}{Text which should be framed}

example red framed text

\documentclass{article}
\usepackage{xcolor}
\begin{document}
\fcolorbox{red}{white}{Text with a red frame}
\end{document}

example red framed text on blue ground

\documentclass{article}
\usepackage{xcolor}
\begin{document}
\fcolorbox{red}{blue}{Text with a red frame on blue background}
\end{document}
To see the writing in a better way change also the writing color; for example:
\documentclass{article}
\usepackage{xcolor}
\begin{document}
\fcolorbox{red}{blue}{\textcolor{white}{Text mit farbigen Rahmen}} 
\end{document}

Contact