From: John Culleton <john@wexfordpress.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Centering framed text.
Date: Sat, 13 Nov 2010 19:35:23 -0500 [thread overview]
Message-ID: <201011131935.23812.john@wexfordpress.com> (raw)
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
----------------------------------------
--
John Culleton, Wexford Press
"Create Book Covers with Scribus" $5.95 at
http://www.booklocker.com/books/4055.html
Free eps format barcode: http://www.tux.org/~milgram/bookland/
___________________________________________________________________________________
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 reply other threads:[~2010-11-14 0:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-14 0:35 John Culleton [this message]
2010-11-14 2:11 ` Li Yanrui (李延瑞)
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=201011131935.23812.john@wexfordpress.com \
--to=john@wexfordpress.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).