-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtango.sty
47 lines (45 loc) · 1.76 KB
/
tango.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{tango}
[2022/11/01 v0.01 LaTeX package providing the tango color palette]
% Define colors
% =============
% Full tango palette
\definecolor{Aluminium1}{HTML}{EEEEEC}
\definecolor{Aluminium2}{HTML}{D3D7CF}
\definecolor{Aluminium3}{HTML}{BABDB6}
\definecolor{Aluminium4}{HTML}{888A85}
\definecolor{Aluminium5}{HTML}{555753}
\definecolor{Aluminium6}{HTML}{2E3436}
\definecolor{Butter1}{HTML}{FCE94F}
\definecolor{Butter2}{HTML}{EDD400}
\definecolor{Butter3}{HTML}{C4A000}
\definecolor{Chameleon1}{HTML}{8AE234}
\definecolor{Chameleon2}{HTML}{73D216}
\definecolor{Chameleon3}{HTML}{4E9A06}
\definecolor{Orange1}{HTML}{FCAF3E}
\definecolor{Orange2}{HTML}{F57900}
\definecolor{Orange3}{HTML}{CE5C00}
\definecolor{Chocolate1}{HTML}{E9B96E}
\definecolor{Chocolate2}{HTML}{C17D11}
\definecolor{Chocolate3}{HTML}{8F5902}
\definecolor{SkyBlue1}{HTML}{729FCF}
\definecolor{SkyBlue2}{HTML}{3465A4}
\definecolor{SkyBlue3}{HTML}{204A87}
\definecolor{Plum1}{HTML}{AD7FA8}
\definecolor{Plum2}{HTML}{75507B}
\definecolor{Plum3}{HTML}{5C3566}
\definecolor{ScarletRed1}{HTML}{EF2929}
\definecolor{ScarletRed2}{HTML}{CC0000}
\definecolor{ScarletRed3}{HTML}{A40000}
% Commands to colorize text with the tango palette with 2 arguments:
% #1 is the depth of the color (1, 2 or 3)
% #2 is the text
% overlay specification <> is passed to \color
\newcommand<>{\plum}[2]{{\color#3{Plum#1}#2}}
\newcommand<>{\butter}[2]{{\color#3{Butter#1}#2}}
\newcommand<>{\chameleon}[2]{{\color#3{Chameleon#1}#2}}
\newcommand<>{\orange}[2]{{\color#3{Orange#1}#2}}
\newcommand<>{\chocolate}[2]{{\color#3{Chocolate#1}#2}}
\newcommand<>{\skyblue}[2]{{\color#3{SkyBlue#1}#2}}
\newcommand<>{\scarletred}[2]{{\color#3{ScarletRed#1}#2}}
\newcommand<>{\aluminium}[2]{{\color#3{Aluminium#1}#2}}