summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/urcls/URcolors.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/urcls/URcolors.sty')
-rw-r--r--Master/texmf-dist/tex/latex/urcls/URcolors.sty227
1 files changed, 131 insertions, 96 deletions
diff --git a/Master/texmf-dist/tex/latex/urcls/URcolors.sty b/Master/texmf-dist/tex/latex/urcls/URcolors.sty
index 2875bbaaf33..ad3d1ea57f8 100644
--- a/Master/texmf-dist/tex/latex/urcls/URcolors.sty
+++ b/Master/texmf-dist/tex/latex/urcls/URcolors.sty
@@ -1,107 +1,142 @@
-% Copyright 2013 by Marei Peischl
-%
-% This file may be distributed and/or modified
-%
-% under the LaTeX Project Public License
+%%
+%% 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
+%% ----------------------------------------------------------------------------
+%%
-%Definiert Farbwerte nach den Gestaltungsrichtlinien der Corporate Design der Universität Regensburg
-\def\fileversion{1.1}
-\def\filedate{2013/06/04}
+\def\fileversion{2.0}
+\def\filedate{2016/07/21}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{URcolors}[\filedate\space\fileversion\space]
-\RequirePackage{xcolor}
-\RequirePackage{ifthen}
+\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
-\newboolean{coated}
-\DeclareOption{coated}{\setboolean{coated}{true}}
+\UR_new@BoolOpt{coated}
%Option RGB für Bildschirmdarstellungen
-\newboolean{RGB}
-\DeclareOption{RGB}{\setboolean{RGB}{true}}
-\ProcessOptions\relax
+\UR_new@BoolOpt{RGB}
+
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+
+\RequirePackage{xcolor}
%Farbedfinitionen
%Abfrage RGB oder cmyk
-\ifthenelse{\boolean{RGB}}{
-%RGB-Farbdefinitionen
-\definecolor{UR@reingrau}{RGB}{142,142,141}
-\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}
-\ifthenelse{\boolean{coated}}{
-%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
+\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
}{
-%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
-}
+ %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
+ }
}