-
Notifications
You must be signed in to change notification settings - Fork 0
/
nycoldefs.tex
63 lines (53 loc) · 1.59 KB
/
nycoldefs.tex
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
\def\blau#1{{\color{tuegreen}#1}}
\def\rot#1{{\color{tuered}#1}}
\def\gruen#1{{\color{tueblue}#1}}
\def\yzr{\rot{\yz}}
\def\ynr{\rot{\yn}}
\def\byzr{\rot{\byz}}
\def\bynr{\rot{\byn}}
\def\yzor{\rot{y\uz_1}}
\def\yzjr{\rot{y\uz_j}}
\def\yzkr{\rot{y\uz_k}}
\def\yzlr{\rot{\yzl}}
\def\yzur{\rot{\yzu}}
\def\ynjr{\rot{y\un_j}}
\def\ynlr{\rot{\ynl}}
\def\ynur{\rot{\ynu}}
\def\yzjlr#1{\rot{\ul{y}\uz_#1}}
\def\yzjur#1{\rot{\ol{y}\uz_#1}}
\def\yktzr{\rot{\yktz}}
\def\yktnr{\rot{\yktn}}
\def\nzg{\gruen{\nz}}
\def\nng{\gruen{\nn}}
\def\nzlg{\gruen{\nzl}}
\def\nzug{\gruen{\nzu}}
\def\nnlg{\gruen{\nnl}}
\def\nnug{\gruen{\nnu}}
\def\nzjlg#1{\gruen{\ul{n}\uz_#1}}
\def\nzjug#1{\gruen{\ol{n}\uz_#1}}
\def\nktzg{\gruen{\nktz}}
\def\nktng{\gruen{\nktn}}
\def\psib{\blau{\psi}}
\def\bpsib{\blau{{b}(\psi)}}
% ------------ shading start
\newsavebox{\tempbox}
\newcommand\leftrightshading[3]{%
\begin{tikzfadingfrompicture}[name=inputtext]
\node [text=white] {#1};
\end{tikzfadingfrompicture}
\begin{lrbox}{\tempbox}%
\begin{tikzpicture}
\node [text=white,inner sep=0pt,outer sep=0pt] (textnode) {#1};
\shade[path fading=inputtext,fit fading=false,left color=#2,right color=#3]
(textnode.south west) rectangle (textnode.north east);
\end{tikzpicture}%
\end{lrbox}
% Now we use the fading in another picture:
\usebox\tempbox{}%
}
% ------------ shading end
%\def\PZc{\mathrm I\!\Pi\uz}
\def\PZc{\leftrightshading{$\mathrm I\!\Pi\uz$}{blue}{red}}
\def\PktZc{\leftrightshading{${\mathrm I\!\Pi_{k,t}\uz}$}{blue}{red}}
%\def\PNc{\PN}
\def\PNc{\leftrightshading{$\mathrm I\!\Pi\un$}{blue}{red}}