ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Changing the line spacing
@ 2025-09-02 16:15 Fabrice Couvreur
  2025-09-02 17:11 ` [NTG-context] " Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2025-09-02 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,
In my class, I have a student with special needs, specifically requiring
more space between lines than for other students. Should I choose a
specific font with a specific size ?
Thanks
Fabrice

\starttext
 Nous allons faire un raisonnement par {\bf l'absurde}. Supposons que
\dm{\frac13} est un nombre décimal.

      Il existe donc un entier relatif \im{a} et un entier naturel \im{p}
tels que
      \startformula
        \frac13=\frac{a}{10^p}
      \stopformula
      Par conséquent, on aurait alors \im{10^p=3a}. Ainsi, 3 divise
\im{10^p}.

      Or, un nombre est divisible par 3 si la somme de ses chiffres est
divisible par 3. Cependant, la somme des chiffres de \im{10^p} est 1 qui
n'est pas divisible par 3. On arrive donc à une absurdité.

      Par conséquent, \dm{\frac13} n'est pas un nombre décimal.

\stoptext

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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Changing the line spacing
  2025-09-02 16:15 [NTG-context] Changing the line spacing Fabrice Couvreur
@ 2025-09-02 17:11 ` Pablo Rodriguez via ntg-context
  2025-09-02 17:31   ` Fabrice Couvreur
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-09-02 17:11 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 9/2/25 18:15, Fabrice Couvreur wrote:
> Hi,
> In my class, I have a student with special needs, specifically requiring
> more space between lines than for other students. Should I choose a
> specific font with a specific size ?

Hi Fabrice,

for more interlinear space, I’d use something like:

  \showframe\showgrid
  \setupwhitespace[lin]
  \setupinterlinespace[line=6ex]

Otherwise, the sample you provided has irregular interlinear space in
fractions. This improves the legibility in general (not just for your
student).

Use both `\showframe` and `\showgrid` to check whether spacing is
consistent for the contents of each line.

As for your student, I guess you might need to figure out first which
their individual needs are.

I hope it might help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Changing the line spacing
  2025-09-02 17:11 ` [NTG-context] " Pablo Rodriguez via ntg-context
@ 2025-09-02 17:31   ` Fabrice Couvreur
  2025-09-02 17:36     ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2025-09-02 17:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Pablo,
Thanks for your suggestion, which works as long as you remove the line "
\setupwhitespace[lin]" that generates the error message.
Fabrice

Le mar. 2 sept. 2025 à 19:16, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 9/2/25 18:15, Fabrice Couvreur wrote:
> > Hi,
> > In my class, I have a student with special needs, specifically requiring
> > more space between lines than for other students. Should I choose a
> > specific font with a specific size ?
>
> Hi Fabrice,
>
> for more interlinear space, I’d use something like:
>
>   \showframe\showgrid
>   \setupwhitespace[lin]
>   \setupinterlinespace[line=6ex]
>
> Otherwise, the sample you provided has irregular interlinear space in
> fractions. This improves the legibility in general (not just for your
> student).
>
> Use both `\showframe` and `\showgrid` to check whether spacing is
> consistent for the contents of each line.
>
> As for your student, I guess you might need to figure out first which
> their individual needs are.
>
> I hope it might help,
>
> Pablo
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>

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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Changing the line spacing
  2025-09-02 17:31   ` Fabrice Couvreur
@ 2025-09-02 17:36     ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-09-02 17:36 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 9/2/25 19:31, Fabrice Couvreur wrote:
> Hi Pablo,
> Thanks for your suggestion, which works as long as you remove the line
> " \setupwhitespace[lin]" that generates the error message.

Of course, Fabrice, `\setupwhitespace[line]` was intended.

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2025-09-02 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02 16:15 [NTG-context] Changing the line spacing Fabrice Couvreur
2025-09-02 17:11 ` [NTG-context] " Pablo Rodriguez via ntg-context
2025-09-02 17:31   ` Fabrice Couvreur
2025-09-02 17:36     ` Pablo Rodriguez 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).