background color for makeups
Dear list, the only way I found to center content horizontally and vertically on a page is a makeup, such as: \startstandardmakeup[align=middle] content to be centered \stopstandardmakeup I need to be able to change the background on some given pages. Which is the way to do this? I have tried with (what I understand from) setups: \startsetups[setups:redcolor] \setupbackgrounds[page][background=color,backgroundcolor=red] \stopsetups \startstandardmakeup[setups=setups:redcolor] content \stopstandardmakeup But it didn't work. Could you help me with this? Many thanks for your help, Pablo -- http://www.ousia.tk
On 6/18/2013 10:58 PM, Pablo Rodríguez wrote:
\startstandardmakeup[align=middle] content to be centered \stopstandardmakeup
I need to be able to change the background on some given pages. Which is the way to do this?
I have tried with (what I understand from) setups:
\startsetups[setups:redcolor] \setupbackgrounds[page][background=color,backgroundcolor=red] \stopsetups
\startstandardmakeup[setups=setups:redcolor] content \stopstandardmakeup
why not just \startstandardmakeup[align=middle] content to be centered \stopstandardmakeup \setupbackgrounds[page][background=color,backgroundcolor=red] \startstandardmakeup[align=middle] content \stopstandardmakeup -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 18/06/13 23:38, Hans Hagen wrote:
On 6/18/2013 10:58 PM, Pablo Rodríguez wrote:
\startstandardmakeup[align=middle] content to be centered \stopstandardmakeup
I need to be able to change the background on some given pages. Which is the way to do this?
why not just
\startstandardmakeup[align=middle] content to be centered \stopstandardmakeup
\setupbackgrounds[page][background=color,backgroundcolor=red]
\startstandardmakeup[align=middle] content \stopstandardmakeup
Well, so stupid it sounds, I had no idea this was possible (I thought it was forbidden to setup anything after \starttext). Many thank for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Hans Hagen
-
Pablo Rodríguez