Created
August 7, 2017 09:48
-
-
Save hellerbarde/9cd5418245d590e0c99b2751a1281e87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[english]{babel} | |
\usepackage[dvipsnames]{xcolor} | |
\colorlet{LightRubineRed}{RubineRed!70!} | |
\colorlet{Mycolor1}{green!10!orange!90!} | |
\definecolor{Mycolor2}{HTML}{00F9DE} | |
\definecolor{matrixcolor}{HTML}{FF0000} | |
\newcommand{\red}{\textcolor{matrixcolor}} | |
\begin{document} | |
This document present several examples on how to use the \texttt{color} package | |
to change the colour of elements in \LaTeX. | |
$$ \sum_{\red{foo}}^{bar} x^2 + y^3 $$ | |
\begin{itemize} | |
\item \textcolor{Mycolor1}{First item} | |
\item \textcolor{Mycolor2}{Second item} | |
\item \red{Second item} | |
\end{itemize} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment