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
|
\definecolor{panelbackground}{rgb}{0,0,0}
\definecolor{stara}{rgb}{.992, .96187, .902}
\definecolor{svetlehneda}{rgb}{0.93, 0.73, 0.49}
\definecolor{svetlehnedaB}{rgb}{0.92, 0.87, 0.79}
\definecolor{vybledlazluta}{rgb}{0.97,0.87,0.52}
\backgroundcolor{vybledlazluta}
\backgroundcolor{svetlehnedaB}
\edef\restoreAtCatcode{\noexpand\catcode64 =\the\catcode64 }%
\makeatletter
\long\def\contentsline#1#2#3#4{\def\@@cHead{#1}%
\ifx\@@cHead\@@secHead\stepcounter{NUM}%
\ifnum\thepanel@section=\theNUM%
{\definecolor{panelbackground}{gray}{0}%
\definecolor{fgcolor}{rgb}{1,0,0}%
\hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}%
}\par\vskip1truept%
\else
{\definecolor{panelbackground}{gray}{0}%%
\definecolor{fgcolor}{gray}{0.5}%
\hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}%
}\par\vskip1truept%
\fi\fi}
\restoreAtCatcode
|