colored frames latex - latex red


How to change color for a block of texts? - TeX - LaTeX Stack Exchange latex red

The colour of a second block of text, delimited by { and }, is set to red with the how to use the \texttt{xcolor} package to change the colour of elements in \LaTeX.

\usepackage[colorlinks]{hyperref} \begin{document} This is {\color{red} Note you need to enable " -shell-escape " option with either LaTeX or pdfLaTeX.

Predefined colors[edit]. The predefined color names are black, blue, brown, cyan, darkgray, gray, green, lightgray, lime, magenta, olive, orange, pink, purple, red.