ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: Framedtext : text out of frame
Date: Sun, 26 Sep 2021 18:21:07 +0200	[thread overview]
Message-ID: <4876ff47-ae39-4b6c-37cc-80eed0833f81@xs4all.nl> (raw)
In-Reply-To: <CACyK-ep4Ui8mtngQHqrNTuk5OPF_DwMja+TumzFsGK8jc4Z9Zw@mail.gmail.com>

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
___________________________________________________________________________________

      reply	other threads:[~2021-09-26 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26 15:07 Fabrice Couvreur via ntg-context
2021-09-26 16:21 ` Hans Hagen via ntg-context [this message]

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=4876ff47-ae39-4b6c-37cc-80eed0833f81@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.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).