Dear all,

the mwe shows my try to define a paragraph that stand out like this:


On right pages

xxxxxxx
xxxxxxx
   xxxxxx
   xxxxxx
xxxxxxx
xxxxxxx


On left pages

  xxxxxxx
  xxxxxxx
xxxxxx
xxxxxx
  xxxxxxx
  xxxxxxx


My try with setups does not work. The textcolor is restored but not the layout. Can I reset to the standard layout with an \after command?

Any hints?
juh
\setuplayout
  [
      cutspace=12em,
      leftmargin=2em,
      width=middle,
      backspace=8em,
      rightmargin=24em
    ]


\startsetups[paragraph:hinweis]
  \setuplayout
    [
      cutspace=2em,
      leftmargin=24em,
      backspace=8em,
      rightmargin=2em
    ]
  
\stopsetups

\defineparagraph[hinweis] [paragraph] []
\setupparagraph[hinweis] [color=red,setups=paragraph:hinweis]
\showframe
\starttext
\input knuth

\startparagraph[hinweis]
\input lorem
\stopparagraph

\input knuth

\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to