ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Centering framed text.
@ 2010-11-14  0:35 John Culleton
  2010-11-14  2:11 ` Li Yanrui (李延瑞)
  2010-11-14  4:06 ` New paragraphs in the Correspondence module Russell Urquhart
  0 siblings, 2 replies; 5+ messages in thread
From: John Culleton @ 2010-11-14  0:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-14  7:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-14  0:35 Centering framed text John Culleton
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

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).