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

* Re: Centering framed text.
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Li Yanrui (李延瑞) @ 2010-11-14  2:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: Centering framed text.
  2010-11-14  2:11 ` Li Yanrui (李延瑞)
@ 2010-11-14  2:43   ` John Culleton
  0 siblings, 0 replies; 5+ messages in thread
From: John Culleton @ 2010-11-14  2:43 UTC (permalink / raw)
  To: ntg-context

On Saturday 13 November 2010 21:11:50 Li Yanrui (李延瑞) wrote:
> 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

My thanks Yanrui.
-- 
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

* New paragraphs in the Correspondence module
  2010-11-14  0:35 Centering framed text John Culleton
  2010-11-14  2:11 ` Li Yanrui (李延瑞)
@ 2010-11-14  4:06 ` Russell Urquhart
  2010-11-14  7:04   ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Russell Urquhart @ 2010-11-14  4:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Hi All,

I hope this is my last question for awhile.

In the default correspondence letter, i have tried using a double carriage return as well as \par to try and have a blank line between paragraphs, but none of these work. 

Do i need to create a new paragraph action?

Any reponse is greatly appreciated.

Thanks again,


Russ
___________________________________________________________________________________
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

* Re: New paragraphs in the Correspondence module
  2010-11-14  4:06 ` New paragraphs in the Correspondence module Russell Urquhart
@ 2010-11-14  7:04   ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2010-11-14  7:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.11.2010 um 05:06 schrieb Russell Urquhart:

> Hi All,
> 
> I hope this is my last question for awhile.
> 
> In the default correspondence letter, i have tried using a double carriage return as well as \par to try and have a blank line between paragraphs, but none of these work. 
> 
> Do i need to create a new paragraph action?
> 
> Any reponse is greatly appreciated.

\setupletterstyle[whitespace=line]

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