diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-default.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-default.tex | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-default.tex b/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-default.tex index 58764fa0b53..08da947b477 100644 --- a/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-default.tex +++ b/Master/texmf-dist/tex/context/third/simpleslides/simpleslides-s-default.tex @@ -66,12 +66,12 @@ %D Presentations have relatively dense lines, we do not care about underfull %D lines, but allow emergency stretch. -\setuptolerance[verytolerant,stretch] +\setuptolerance[\v!verytolerant,\v!stretch] %D We use combinations for placing vertical pictures and text side by side, and -%D we want a distance of 1.1 cm between both. +%D we want a distance of 3em between both. -\setupcombinations[distance=1.1cm] +\setupcombinations[distance=3em] %D Next we define some dimensions that are used as nominal values by other %D macros and the user. @@ -170,19 +170,19 @@ \def\setupTitle% {\dosingleargument\dosetupTitle} -\def\dosetupTitle[#1]% - {\setupmodule[simpleslides:title][#1]} +\def\dosetupTitle%[#1]% + {\setvariables[simpleslides:title]}% [#1] %D A few macros to save some typing \def\simpleslidestitleparameter%#1 - {\moduleparameter{simpleslides:title}} + {\getvariable{simpleslides:title}} \def\simpleslidestitlecomponent#1% {\simpleslidestitleparameter{\c!before#1} \startalignment[\simpleslidestitleparameter{#1\c!align}] \doattributes{\??md:simpleslides:title:}{#1\c!style}{#1\c!color} - {\moduleparameter{simpleslides:title}{#1}} + {\getvariable{simpleslides:title}{#1}} \stopalignment \simpleslidestitleparameter{\c!after#1}} @@ -255,12 +255,12 @@ {\dosingleargument\dosetupSlideTitle} \def\dosetupSlideTitle[#1]% - {\setupmodule[simpleslides:slidetitle] - [\c!alternative=\v!normal,\c!width=\textwidth, - \c!height=2\lineheight,#1]} + {\setvariables[simpleslides:slidetitle] + [\c!alternative=\v!normal,\c!width=\textwidth, + \c!height=2\lineheight,#1]} \def\simpleslidesslidetitleparameter%#1 - {\moduleparameter{simpleslides:slidetitle}} + {\getvariable{simpleslides:slidetitle}} \def\defineSlideTitleAlternative {\dodoubleargument\dodefineSlideTitleAlternative} @@ -331,13 +331,13 @@ {\dosingleargument\dosetupPicture} \def\dosetupPicture[#1]% - {\setupmodule[simpleslides:picture] - [highlight=\v!no, - steps=5, - opacity=0.5, - \c!x\c!scale=couple, - \c!y\c!scale=couple, - \c!width=,\c!height=,#1]} + {\setvariables[simpleslides:picture] + [highlight=\v!no, + steps=5, + opacity=0.5, + \c!x\c!scale=couple, + \c!y\c!scale=couple, + \c!width=,\c!height=,#1]} \setupPicture [highlight=\v!no,%yes|no|default=no @@ -357,10 +357,13 @@ opacity=0.5, shadow=\v!no, shadow\c!color=black, + verticalbackground=none, + verticalbackgroundcolor=simpleslides:backgroundcolor, + verticalforegroundcolor=simpleslides:textcolor, ] \def\simpleslidesPictureParameter%#1 - {\moduleparameter{simpleslides:picture}} + {\getvariable{simpleslides:picture}} \newconditional\simpleslidesHighlight \setfalse\simpleslidesHighlight @@ -472,7 +475,7 @@ \c!strut=\v!no, \c!offset=\zeropoint,#1] {\framed[\c!frame=\v!off, - \c!framecolor=red, + \c!framecolor=red, \c!strut=\v!no, \c!offset=\zeropoint, \c!width=\v!fit, @@ -512,6 +515,9 @@ {\framed[\c!frame=\v!off, \c!height=\textheight, \c!width=\PictureFrameWidth, + background=\simpleslidesPictureParameter{verticalbackground}, + backgroundcolor=\simpleslidesPictureParameter{verticalbackgroundcolor}, + foregroundcolor=\simpleslidesPictureParameter{verticalforegroundcolor}, \c!top=\vss, \c!bottom=\vss, \c!align=\v!middle, |