From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Adjusting Font Based Math Parameters
Date: Sat, 12 Oct 2024 18:25:56 +0200 [thread overview]
Message-ID: <CAHy-LL89TDxqDwnJVDG5zb1REaVOHFpteyR91Ht5wMR5=Q+ymg@mail.gmail.com> (raw)
In-Reply-To: <172874220093.1601628.14297688910083135050@cgl.ntg.nl>
Hi,
I think \frac is resetting, or rather, that it sets to what one has set up, so:
\setupmathfractions
[distance=bottom,
bottomdistance=\exheight]
\startformula
\frac{a}{b}
\stopformula
I hope it is what you look for.
/Mikael
PS You can find a bit on how fractions and other stuff are meant to be
used in the manual
https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf.
On Sat, Oct 12, 2024 at 4:10 PM <juliusross@gmail.com> wrote:
>
> Hi,
>
> For testing I would like to be able to adjust the font-based math parameters within ConTeXt MKIV. I have been trying this
>
> \startformula
> \Umathfractiondenomdown\displaystyle=1em
> \displaystyle \frac{a}{b}
> \stopformula
>
> but the second command does not seem to have any effect on the output at all. I am sure I am missing something, any help much appreciated.
>
> JR
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-10-12 16:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-12 14:10 [NTG-context] " juliusross
2024-10-12 16:25 ` Mikael Sundqvist [this message]
2024-10-12 17:27 ` [NTG-context] " Julius Ross
2024-10-12 17:56 ` 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='CAHy-LL89TDxqDwnJVDG5zb1REaVOHFpteyR91Ht5wMR5=Q+ymg@mail.gmail.com' \
--to=mickep@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).