* [NTG-context] Inline mathematics is stretched
@ 2023-10-29 12:33 Mia Bikey
2023-10-29 22:16 ` [NTG-context] " Hans Hagen via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Mia Bikey @ 2023-10-29 12:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1302 bytes --]
Hi,
I was using \setupalign[verytolerant,stretch] so that the mono font does
not go inside the right inline image but after using that command the
inline math seems to spread.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbodyfont[10pt, mono]
This is how it should look. \\
When $a, b, c$ are given, two values of $x$ and no more can be found which
shall make the function $ax^2 + bx + c$ vanish; that is, the equation
always has two roots and no more. The roots may be equal or unequal, real
or imaginary, according to circumstances. \\
\starttext
\setupalign[stretch]
This paragraph seems to look fine on 12pt. \\
When $a, b, c$ are given, two values of $x$ and no more can be found which
shall make the function $ax^2 + bx + c$ vanish; that is, the equation
always has two roots and no more. The roots may be equal or unequal, real
or imaginary, according to circumstances. \\
\setupalign[verytolerant, nothyphenated]
It looks even worse when I also use verytolerant and nothyphenated. \\
When $a, b, c$ are given, two values of $x$ and no more can be found which
shall make the function $ax^2 + bx + c$ vanish; that is, the equation
always has two roots and no more. The roots may be equal or unequal, real
or imaginary, according to circumstances.
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 1445 bytes --]
[-- Attachment #2: Thisishowitlooks.pdf --]
[-- Type: application/pdf, Size: 10859 bytes --]
[-- Attachment #3: 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] 3+ messages in thread
* [NTG-context] Re: Inline mathematics is stretched
2023-10-29 12:33 [NTG-context] Inline mathematics is stretched Mia Bikey
@ 2023-10-29 22:16 ` Hans Hagen via ntg-context
[not found] ` <CALdMdOH+5xHa4jN=S-QiQA708G6wdBaO1GR9ej=UfZ=WbfT4WQ@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-10-29 22:16 UTC (permalink / raw)
To: Mia Bikey, mailing list for ConTeXt users; +Cc: Hans Hagen
On 10/29/2023 1:33 PM, Mia Bikey wrote:
> Hi,
> I was using \setupalign[verytolerant,stretch] so that the mono font does
> not go inside the right inline image but after using that command the
> inline math seems to spread.
how about just using this
\setupbodyfont[concrete]
\starttext
When $a, b, c$ are given, two values of $x$ and no more can be found
which shall make the function $ax^2 + bx + c$ vanish; that is, the
equation always has two roots and no more. The roots may be equal or
unequal, real or imaginary, according to circumstances.
\stoptext
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 / 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] 3+ messages in thread
end of thread, other threads:[~2023-10-30 7:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-29 12:33 [NTG-context] Inline mathematics is stretched Mia Bikey
2023-10-29 22:16 ` [NTG-context] " Hans Hagen via ntg-context
[not found] ` <CALdMdOH+5xHa4jN=S-QiQA708G6wdBaO1GR9ej=UfZ=WbfT4WQ@mail.gmail.com>
2023-10-30 7:28 ` 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).