ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [framed] how to deal with big text?
@ 2011-03-04 20:47 Milton Galo Patricio Inostroza Aguilera
  2011-03-05 12:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Milton Galo Patricio Inostroza Aguilera @ 2011-03-04 20:47 UTC (permalink / raw)
  To: ntg-context

Hi,

I'm a new user of context.  I'm working with \framed and I have a
problem when I try to fit a big text in it :-(.  The system cuts the
text and it doesn't display in the next page. I read the manual but I
can not find an argument of framed that can do this job.

An example of my code is the following:

\framed[align={stretch}]{

a big text......

}

Regards,

-- 
Milton
___________________________________________________________________________________
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] 3+ messages in thread

* Re: [framed] how to deal with big text?
  2011-03-04 20:47 [framed] how to deal with big text? Milton Galo Patricio Inostroza Aguilera
@ 2011-03-05 12:31 ` Wolfgang Schuster
  2011-03-05 16:41   ` Milton Galo Patricio Inostroza Aguilera
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-03-05 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.03.2011 um 21:47 schrieb Milton Galo Patricio Inostroza Aguilera:

> Hi,
> 
> I'm a new user of context.  I'm working with \framed and I have a
> problem when I try to fit a big text in it :-(.  The system cuts the
> text and it doesn't display in the next page. I read the manual but I
> can not find an argument of framed that can do this job.


Use textbackground.

\definetextbackground
  [myframe]
  [location=paragraph,
   framecolor=black,
   background=]

\starttext
\startmyframe
\dorecurse{20}{\input knuth\par}
\stopmyframe
\stoptext

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] 3+ messages in thread

* Re: [framed] how to deal with big text?
  2011-03-05 12:31 ` Wolfgang Schuster
@ 2011-03-05 16:41   ` Milton Galo Patricio Inostroza Aguilera
  0 siblings, 0 replies; 3+ messages in thread
From: Milton Galo Patricio Inostroza Aguilera @ 2011-03-05 16:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/3/5 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>

>
> Use textbackground.
>
> \definetextbackground
>  [myframe]
>  [location=paragraph,
>   framecolor=black,
>   background=]
>
> \starttext
> \startmyframe
> \dorecurse{20}{\input knuth\par}
> \stopmyframe
> \stoptext

thanks! it works like a charm :-)

-- 
Milton
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-03-05 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 20:47 [framed] how to deal with big text? Milton Galo Patricio Inostroza Aguilera
2011-03-05 12:31 ` Wolfgang Schuster
2011-03-05 16:41   ` Milton Galo Patricio Inostroza Aguilera

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