ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \starttextbackground and \startbackground equivalent options
@ 2014-05-25 18:14 Xan
  0 siblings, 0 replies; only message in thread
From: Xan @ 2014-05-25 18:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi folks,

Just a question:

I have this textbackground environment:

\definestartstop
  [teoria]
  [  before={\startbackground[background=color, backgroundcolor=mteoria, frame=on, width=broad, after={\bigskip}, before={\blank[big]\testpage[2]}, backgroundcorner=round, backgroundradius=5ex, backgroundoffset=5pt, framecorner=round, radius=5ex, frameoffset=5pt]},
      after=\stopbackground
   ]

and I want an equivalent one with starttextbackground.

I try this:

\definetextbackground[provateoria]
        [background=color, backgroundcolor=mteoria, location=paragraph, frame=on, width=broad, after={\bigskip}, before={\blank[big]\testpage[2]}, backgroundcorner=round, backgroundradius=5ex, backgroundoffset=5pt, framecorner=round, radius=5ex, frameoffset=5pt
         ]

\definestartstop
  [teoria]
  [  before={\starttextbackground[provateoria]},
      after=\stoptextbackground
   ]


But I get:
  * The corners are not rounded
  * Can I achieve to "unbackground" footnotes inside \startteoria \stopteoria?


Thanks in advance,
Xan
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-25 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-25 18:14 \starttextbackground and \startbackground equivalent options Xan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).