diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/jeopardy/example/blackpanel.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/jeopardy/example/blackpanel.tex | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/jeopardy/example/blackpanel.tex b/Master/texmf-dist/doc/latex/jeopardy/example/blackpanel.tex new file mode 100644 index 00000000000..e29da914575 --- /dev/null +++ b/Master/texmf-dist/doc/latex/jeopardy/example/blackpanel.tex @@ -0,0 +1,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 |