From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Fabrice Couvreur <fabrice1.couvreur@gmail.com>
Subject: [NTG-context] Re: Fractions (was \placefigure[location=here...] problem)
Date: Sat, 9 Dec 2023 15:52:08 +0100 [thread overview]
Message-ID: <b6dae0df-ab90-0850-d628-3ea7514bf62e@gmail.com> (raw)
In-Reply-To: <CACyK-eraTYiqXZC6=__2zm8xN+_d0cQybc1-ysCATm11W2vMmA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]
Fabrice Couvreur schrieb am 09.12.2023 um 16:13:
> Hi Wolfgang,
> I'm reading this thread and I'm interested because I type a lot of
> text with mathematical formulas.
> In fact, I find that \dfrac{} creates unsightly leading space and that
> \frac{} is too small. What is the difference between \frac{} and
> \tfrac{} ?
\frac switches the math style while \tfrac (textstyle), \dfrac
(displaystyle) and \sfrac (scriptstyle) enforce a certain style.
%%%% begin example
\startbuffer[frac]
\frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2}
\stopbuffer
\starttext
\startformula
\getbuffer[frac]
\stopformula
\m{\getbuffer[frac]}
\startformula
\frac
{\getbuffer[frac]}
{\getbuffer[frac]}
\stopformula
\m{\frac
{\getbuffer[frac]}
{\getbuffer[frac]}}
\stoptext
%%%% end example
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1552 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
___________________________________________________________________________________
next prev parent reply other threads:[~2023-12-09 14:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-09 13:43 [NTG-context] " Wolfgang Schuster
2023-12-09 13:57 ` [NTG-context] " Henning Hraban Ramm
2023-12-09 14:47 ` anton.chigurh
2023-12-09 15:13 ` Fabrice Couvreur
2023-12-09 14:52 ` Wolfgang Schuster [this message]
[not found] ` <CACyK-ep3tOb5w5pWwqYBt5pOwBFGr=H19vGbJ9pJ61Xmz7zwtw@mail.gmail.com>
2023-12-09 15:39 ` Wolfgang Schuster
2023-12-09 22:30 ` Mikael Sundqvist
2023-12-10 12:24 ` [NTG-context] Re: Fractions Henning Hraban Ramm
2023-12-10 13:19 ` Gavin via ntg-context
2023-12-11 14:23 ` Henning Hraban Ramm
2023-12-09 15:33 ` [NTG-context] Re: Fractions (was \placefigure[location=here...] problem) Aditya Mahajan
2023-12-10 11:37 ` 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=b6dae0df-ab90-0850-d628-3ea7514bf62e@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=fabrice1.couvreur@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).