summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/urcls/tex/URcolors.sty
blob: ad3d1ea57f8fad723363be1b955e321bace6faa5 (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
%% 
%%  This is file `URcolors.sty' version 2.0 (2017/04/05),
%%	it is part of
%%  urcls -- Corporate Design for the University of Regensburg
%% ----------------------------------------------------------------------------
%%
%%  Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
%%
%% ----------------------------------------------------------------------------
%%  License information
%% ----------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Marei Peischl.
%%
%% ============================================================================
%%
%%  Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
%%  in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
%%  Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
%%  Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01. 
%%  Dieses Werk hat den LPPL-Verwaltungs-Status "maintained". 
%%  Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
%%
%% ----------------------------------------------------------------------------
%%  End of license information
%% ----------------------------------------------------------------------------
%%

\def\fileversion{2.0}
\def\filedate{2016/07/21}
\NeedsTeXFormat{LaTeX2e}

\RequirePackage{expl3}
\ProvidesExplPackage{URcolors}{\filedate}{\fileversion}{Color definitions for the urcls-bundle}

\RequirePackage{URoptions}

%Deklaration der Paketoptionen für die Unterscheidung der Farbwerte je nach Anwendung
%Option "coated" für gestrichenes Papier
\UR_new@BoolOpt{coated}
%Option RGB für Bildschirmdarstellungen
\UR_new@BoolOpt{RGB}

\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }

\RequirePackage{xcolor}

%Farbedfinitionen
%Abfrage RGB oder cmyk
\bool_if:NTF \g_UR@RGB_bool {
	%RGB-Farbdefinitionen
	\definecolor{UR@reingrau}{RGB}{142,142,141}
	\definecolor{UR@hellgrau}{RGB}{191,191,191}
	\definecolor{UR@dunkelgrau}{RGB}{89,89,88}
	\definecolor{UR@color@1}{RGB}{29,63,75} %LOV - Blaugrau
	\definecolor{UR@color@2}{RGB}{95,0,47} %FFg Schwarzrot
	\definecolor{UR@color@3}{RGB}{61,65,0} %ASZ Schilfgrün
	\definecolor{UR@color@4}{RGB}{205,211,15}%RWS, urangelb
	\definecolor{UR@color@5}{RGB}{174,167,0}%WiWi lärchennadelgrün
	\definecolor{UR@color@6}{RGB}{236,188,00}%KT	vatikangelb
	\definecolor{UR@color@7}{RGB}{236,98,0}%PKGGorangerot
	\definecolor{UR@color@8}{RGB}{191,0,42}%PPSheucherarot
	\definecolor{UR@color@9}{RGB}{156,0,75}%SLKheidenelkenrot
	\definecolor{UR@color@10}{RGB}{79,184,0}%Bioblattgrün
	\definecolor{UR@color@11}{RGB}{0,155,119}%mathematiktürkisgrün
	\definecolor{UR@color@12}{RGB}{0,137,147}%physik eisvogelblau
	\definecolor{UR@color@13}{RGB}{0,135,178}%Chem spektralblau
	\definecolor{UR@color@14}{RGB}{0,85,106}%Medi capriblau
	\definecolor{UR@color@15}{RGB}{164,102,116} %UB dianthusrot
	\definecolor{UR@color@16}{RGB}{114,75,81}%ZSK rotbraun
	\definecolor{UR@color@17}{RGB}{86,78,111}%EUR perlviolett
	\definecolor{UR@color@18}{RGB}{59,0,65}%ZHW violettrot
	\definecolor{UR@color@19}{RGB}{134,104,0}%RUL grünbraun
	\definecolor{UR@color@20}{RGB}{65,98,36}%ZFW farngrün
	\definecolor{UR@color@21}{RGB}{0,129,123}%SPO wasserblau
	\definecolor{UR@color@22}{RGB}{3,35,82}%RZ saphirblau
	\definecolor{UR@color@23}{RGB}{0,146,133} %FSImphy 
}{
	%cmyk-Farbdefinitionen
	\definecolor{UR@reingrau}{cmyk}{0,0,0,0.5}
	\bool_if:NTF \g_UR@coated_bool {
		%Farbwerte für gestrichenes Papier
		\definecolor{UR@color@1}{cmyk}{0.6,0,0,0.7} %LOV - Blaugrau
		\definecolor{UR@color@2}{cmyk}{0,0.5,0,0.7} %FFg Schwarzrot
		\definecolor{UR@color@3}{cmyk}{0,0,0.5,0.7} %ASZ Schilfgrün
		\definecolor{UR@color@4}{cmyk}{0.3,0,1,0}%RWS, urangelb
		\definecolor{UR@color@5}{cmyk}{0,0,1,0.35}%WiWi lärchennadelgrün
		\definecolor{UR@color@6}{cmyk}{0,0.3,1,0}%KT	vatikangelb
		\definecolor{UR@color@7}{cmyk}{0,0.6,1,0}%PKGGorangerot
		\definecolor{UR@color@8}{cmyk}{0,1,0.6,0}%PPSheucherarot
		\definecolor{UR@color@9}{cmyk}{0,1,0,0.3}%SLKheidenelkenrot
		\definecolor{UR@color@10}{cmyk}{0.6,0,1,0}%Bioblattgrün
		\definecolor{UR@color@11}{cmyk}{1,0,0.6,0}%mathematiktürkisgrün
		\definecolor{UR@color@12}{cmyk}{1,0,0.3,0}%physik eisvogelblau
		\definecolor{UR@color@13}{cmyk}{1,0.3,0,0}%Chem spektralblau
		\definecolor{UR@color@14}{cmyk}{1,0,0,0.5}%Medi capriblau
		\definecolor{UR@color@15}{cmyk}{0,0.6,0.3,0.3} %UB dianthusrot
		\definecolor{UR@color@16}{cmyk}{0,0.6,0.3,0.6}%ZSK rotbraun
		\definecolor{UR@color@17}{cmyk}{0.6,0.6,0.15,0.3}%EUR perlviolett
		\definecolor{UR@color@18}{cmyk}{0.6,1,0,0.6}%ZHW violettrot
		\definecolor{UR@color@19}{cmyk}{0,0.3,1,0.6}%RUL grünbraun
		\definecolor{UR@color@20}{cmyk}{0.6,0,1,0.6}%ZFW farngrün
		\definecolor{UR@color@21}{cmyk}{1,0,0.3,0.3}%SPO wasserblau
		\definecolor{UR@color@22}{cmyk}{1,0.6,0,0.6}%RZ saphirblau
		\definecolor{UR@color@23}{cmyk}{1,0,0.45,0} %FSImphy 
	}{
		%Farbwerte für ungestrichenes Papier
		\definecolor{UR@color@1}{cmyk}{0.9,0.3,0.2,0.5} %LOV - Blaugrau
		\definecolor{UR@color@2}{cmyk}{0.4,0.9,0.2,0.5} %FFg Schwarzrot
		\definecolor{UR@color@3}{cmyk}{0.2,0.05,0.7,0.5} %ASZ Schilfgrün
		\definecolor{UR@color@4}{cmyk}{0.2,0,1,0}%RWS, urangelb
		\definecolor{UR@color@5}{cmyk}{0.1,0.1,1,0.2}%WiWi lärchennadelgrün
		\definecolor{UR@color@6}{cmyk}{0,0.2,1,0}%KT	vatikangelb
		\definecolor{UR@color@7}{cmyk}{0,0.5,1,0}%PKGGorangerot
		\definecolor{UR@color@8}{cmyk}{0,1,0.6,0}%PPSheucherarot
		\definecolor{UR@color@9}{cmyk}{0.1,1,0.1,0.1}%SLKheidenelkenrot
		\definecolor{UR@color@10}{cmyk}{0.5,0,1,0}%Bioblattgrün
		\definecolor{UR@color@11}{cmyk}{1,0.1,0.5,0}%mathematiktürkisgrün
		\definecolor{UR@color@12}{cmyk}{0.9,0,0.3,0}%physik eisvogelblau
		\definecolor{UR@color@13}{cmyk}{1,0.2,0,0}%Chem spektralblau
		\definecolor{UR@color@14}{cmyk}{1,0.2,0.1,0.3}%Medi capriblau
		\definecolor{UR@color@15}{cmyk}{0.1,0.6,0.4,0.1} %UB dianthusrot
		\definecolor{UR@color@16}{cmyk}{0.2,0.7,0.5,0.4}%ZSK rotbraun
		\definecolor{UR@color@17}{cmyk}{0.68,0.73,0.18,0.18}%EUR perlviolett
		\definecolor{UR@color@18}{cmyk}{0.7,0.9,0.1,0.4}%ZHW violettrot
		\definecolor{UR@color@19}{cmyk}{0.11,0.36,1,0.44}%RUL grünbraun
		\definecolor{UR@color@20}{cmyk}{0.6,0.2,1,0.4}%ZFW farngrün
		\definecolor{UR@color@21}{cmyk}{1,0,0.3,0.2}%SPO wasserblau
		\definecolor{UR@color@22}{cmyk}{1,0.7,0.1,0.4}%RZ saphirblau
		\definecolor{UR@color@23}{cmyk}{0.95,0.05,0.45,0} %FSIpmphy
	}
}