ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mia Bikey <redspacecube@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Inline mathematics is stretched
Date: Sun, 29 Oct 2023 18:03:05 +0530	[thread overview]
Message-ID: <CALdMdOH_GWOdQCSHNy=C9GYgE1L3d6iDt1pE+900ksMKivwpRg@mail.gmail.com> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2023-10-29 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-29 12:33 Mia Bikey [this message]
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

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='CALdMdOH_GWOdQCSHNy=C9GYgE1L3d6iDt1pE+900ksMKivwpRg@mail.gmail.com' \
    --to=redspacecube@gmail.com \
    --cc=ntg-context@ntg.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).