diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-Shaded.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-Shaded.tex | 56 |
1 files changed, 31 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-Shaded.tex b/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-Shaded.tex index 7da4ef5d847..25869b1e0d4 100644 --- a/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-Shaded.tex +++ b/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-Shaded.tex @@ -27,11 +27,11 @@ rightmargindistance=0pt, height=fit, header=0pt, - footer=5pt, + footer=0pt, topspace=.8cm, backspace=1.5cm, - bottomspace=.8cm, - bottom=12pt, + bottomspace=1cm, + bottom=1cm, location=singlesided] %D These macros are used for placing figures/pictures: @@ -43,7 +43,6 @@ %D This module has three color schemes, blue, green and bluered. - \startsetups simpleslides:setups:bluered \definecolor [simpleslides:textcolor] [white] \definecolor [simpleslides:interactioncolor] [b=.2] @@ -78,18 +77,22 @@ \setupcolors[textcolor={simpleslides:textcolor}] +\setupTitle[color=white] %D This module shades the background in a gradient. We use \METAPOST\ to draw %D the background. -\startuniqueMPgraphic{simpleslides:MP:ornament} -save p; -path p ; -p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; -linear_shade(p,6, + +\startuseMPgraphic{simpleslides:MP:ornament} +StartPage ; +linear_shade(Page, 6, \MPcolor{simpleslides:backgroundcolor}, \MPcolor{simpleslides:variantcolor}) ; -\stopuniqueMPgraphic +if PageNumber >1: + \includeMPgraphic{\simpleslidescounter} ; +fi +StopPage ; +\stopuseMPgraphic %D We define these backgrounds as overlays: @@ -105,21 +108,24 @@ linear_shade(p,6, \definesymbol[1][\useMPgraphic{simpleslides:itemize:square}] \setupitemize[1][color={simpleslides:itemize:color}] - -%D The \quotation{Shaded} style uses \CONTEXT's interactionbar: - -\setupsubpagenumber[way=bytext,state=start] - -\setupinteraction - [page=yes, - color=simpleslides:interactioncolor, - contrastcolor=simpleslides:contrastcolor, - menu=on, - state=start] - -\startinteractionmenu[bottom] -{\interactionbar[alternative=f,width=\makeupwidth,height=1ex]} -\stopinteractionmenu + +% %D The \quotation{Shaded} style uses \CONTEXT's interactionbar: +% +% \setupsubpagenumber[way=bytext,state=start] +% +% \setupinteraction +% [page=yes, +% color=simpleslides:interactioncolor, +% contrastcolor=simpleslides:contrastcolor, +% menu=on, +% state=start] +% +% %\setupinteractionbar +% %\startinteractionmenu[bottom] +% \setupbottomtexts[XXX{\interactionbar[state=start,alternative=e,width=8cm,height=0.2cm,step=small,frame=on]}YYY] +% %\stopinteractionmenu + +%\setupbottomtexts[\useMPgraphic{shaded:counter}] \protect \stopmodule |