From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \starttextbackground and \startbackground equivalent options
Date: Sun, 25 May 2014 20:14:26 +0200 [thread overview]
Message-ID: <20140525201426.890903ba731674a424c073b1@telefonica.net> (raw)
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
___________________________________________________________________________________
reply other threads:[~2014-05-25 18:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140525201426.890903ba731674a424c073b1@telefonica.net \
--to=dxpublica@telefonica.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).