mycolors.tex 1.07 KB
Newer Older
Loïc Barrault's avatar
Loïc Barrault committed
1
2
3
4
5
6
7
8

%see http://latexcolor.com/

%colors
\newcommand{\red}[1]{{\color{red} #1}}
\newcommand{\blue}[1]{{\color{blue} #1}}
\newcommand{\cyan}[1]{{\color{cyan} #1}}
\newcommand{\orange}[1]{{\color{orange} #1}}
Loïc Barrault's avatar
Loïc Barrault committed
9
10
\newcommand{\green}[1]{{\color{darkpastelgreen} #1}}
\newcommand{\gray}[1]{{\color{gray} #1}}
Loïc Barrault's avatar
Loïc Barrault committed
11
12
13
14
15
16
17
18
19
20
21
22

\newcommand{\edinblue}[1]{{\color{edinblue} #1}}
\newcommand{\edinred}[1]{{\color{edinred} #1}}
\newcommand{\edinorange}[1]{{\color{edinorange} #1}}
\newcommand{\edinmagenta}[1]{{\color{edinmagenta} #1}}
\newcommand{\edingreen}[1]{{\color{edingreen} #1}}

\definecolor{liumbrown}{HTML}{996633}
\newcommand{\liumbrown}[1]{{\color{liumbrown} #1}}
\definecolor{liumgreen}{rgb}{0.010,0.350,0.188}
\newcommand{\liumgreen}[1]{{\color{liumgreen} #1}}
\definecolor{liumcyan}{HTML}{19C1BF}
Loïc Barrault's avatar
Loïc Barrault committed
23
\newcommand{\liumcyan}[1]{\textcolor{liumcyan}{#1}}
Loïc Barrault's avatar
Loïc Barrault committed
24
25
26
\definecolor{liumlightgray}{rgb}{0.9,0.9,0.9}
\newcommand{\liumlightgray}[1]{{\color{liumlightgray} #1}}

Loïc Barrault's avatar
Loïc Barrault committed
27
\newcommand{\myemph}[1]{\liumcyan{\textbf{#1}}}
Loïc Barrault's avatar
Loïc Barrault committed
28
\newcommand{\myemphb}[1]{\orange{\textbf{#1}}}
Loïc Barrault's avatar
Loïc Barrault committed
29

Loïc Barrault's avatar
Loïc Barrault committed
30
31
32
\newcommand<>{\mycolor}[2]{%
  \alt#3{{\color{#1}{#2}}}{#2}%
}
Loïc Barrault's avatar
Loïc Barrault committed
33