From: "Li Yanrui (李延瑞)" <liyanrui.m2@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Centering framed text.
Date: Sun, 14 Nov 2010 10:11:50 +0800 [thread overview]
Message-ID: <AANLkTi=buJ5FxO2x_9NP4VcGeHWYESpNV8B0jSfrH_nb@mail.gmail.com> (raw)
In-Reply-To: <201011131935.23812.john@wexfordpress.com>
2010/11/14 John Culleton <john@wexfordpress.com>:
> Given the following, how do I center the framed text box on the page?
> --------------------------------
> \setupframedtexts[background=screen,width=.6\hsize, align=middle]
> \setupcolors[state=start]
> %
> \starttext
> \startframedtext
> \cbox{\bf\ss\tfb WARNING}
> The text of the warning.
> %
> \stopframedtext
> \stoptext
> ----------------------------------------
\startframedtext[middle]
your text
\stopframedtext
--
Best regards,
Li Yanrui (李延瑞)
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-14 2:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-14 0:35 John Culleton
2010-11-14 2:11 ` Li Yanrui (李延瑞) [this message]
2010-11-14 2:43 ` John Culleton
2010-11-14 4:06 ` New paragraphs in the Correspondence module Russell Urquhart
2010-11-14 7:04 ` Wolfgang Schuster
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='AANLkTi=buJ5FxO2x_9NP4VcGeHWYESpNV8B0jSfrH_nb@mail.gmail.com' \
--to=liyanrui.m2@gmail.com \
--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).