ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Framedtext : text out of frame
@ 2021-09-26 15:07 Fabrice Couvreur via ntg-context
  2021-09-26 16:21 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2021-09-26 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


[-- Attachment #1.1: Type: text/plain, Size: 1384 bytes --]

Hi,
How to fix the small problem in the code below where the text goes out of
the frame ?
Thanks
Fabrice

\usecolors[x11]

\starttext
  \startframedtext[frame=off,width=\textwidth,
align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1]
      \startitemize[columns,three,n]
        \startitem
         Une quantité constante est une quantité déterminée, qui conserve
toujours la même valeur.
        \stopitem\par
        \startitem
          Une quantité variable est une quantité indéterminée, ou, si l'on
veut, une quantité universelle, qui comprend toutes les valeurs déterminées.
        \stopitem\par
        \startitem
          Une quantité variable devient déterminée, lorsqu'on lui attribue
une valeur déterminée quelconque.
        \stopitem\par
        \startitem
          Une fonction de quantité variable est une expression analytique
composée, de quelque manière que ce soit, de cette même quantité & de
nombres, ou de quantités constantes.

          Par exemple, \m{a+3z} ; \m{az-4zz} ;

          \m{az+b\sqrt{aa-zz}} , cz ; \m{etc}. sont des

          fonctions de \m{z}.
        \stopitem\par
        \startitem
          Une fonction de variable est

          donc aussi une quantité variable.
        \stopitem\par
      \stopitemize
    \stopframedtext
\stoptext1

[-- Attachment #1.2: Type: text/html, Size: 2726 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Framedtext : text out of frame
  2021-09-26 15:07 Framedtext : text out of frame Fabrice Couvreur via ntg-context
@ 2021-09-26 16:21 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2021-09-26 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 9/26/2021 5:07 PM, Fabrice Couvreur via ntg-context wrote:
> Hi,
> How to fix the small problem in the code below where the text goes out 
> of the frame ?
> Thanks
> Fabrice
> 
> \usecolors[x11]
> 
> \starttext
>    \startframedtext[frame=off,width=\textwidth, 
> align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1]
>        \startitemize[columns,three,n]
>          \startitem
>           Une quantité constante est une quantité déterminée, qui 
> conserve toujours la même valeur.
>          \stopitem\par
>          \startitem
>            Une quantité variable est une quantité indéterminée, ou, si 
> l'on veut, une quantité universelle, qui comprend toutes les valeurs 
> déterminées.
>          \stopitem\par
>          \startitem
>            Une quantité variable devient déterminée, lorsqu'on lui 
> attribue une valeur déterminée quelconque.
>          \stopitem\par
>          \startitem
>            Une fonction de quantité variable est une expression 
> analytique composée, de quelque manière que ce soit, de cette même 
> quantité & de nombres, ou de quantités constantes.
> 
>            Par exemple, \m{a+3z} ; \m{az-4zz} ;
> 
>            \m{az+b\sqrt{aa-zz}} , cz ; \m{etc}. sont des
> 
>            fonctions de \m{z}.
>          \stopitem\par
>          \startitem
>            Une fonction de variable est
> 
>            donc aussi une quantité variable.
>          \stopitem\par
>        \stopitemize
>      \stopframedtext
> \stoptext1
columns and framedtext etc kind of interfere here so the solution space 
becomes small

the best i can come up with now is:

\setupmixedcolumns[itemgroupcolumns][method=box,maxwidth=\availablehsize]
\startitemize[columns,three,n]
\setupalign[flushleft,broad,verytolerant,extremestretch]

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-09-26 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-26 15:07 Framedtext : text out of frame Fabrice Couvreur via ntg-context
2021-09-26 16:21 ` Hans Hagen via ntg-context

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