From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10778 invoked from network); 9 Dec 2023 14:52:47 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 9 Dec 2023 14:52:47 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E7680483C04 for ; Sat, 9 Dec 2023 15:52:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hA2pfLFtxC4l for ; Sat, 9 Dec 2023 15:52:31 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7DBD3483B52 for ; Sat, 9 Dec 2023 15:52:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6C057483A14 for ; Sat, 9 Dec 2023 15:52:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oAzySQfr4wiw for ; Sat, 9 Dec 2023 15:52:10 +0100 (CET) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 2445D483A11 for ; Sat, 9 Dec 2023 15:52:10 +0100 (CET) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2c9f62fca3bso37962201fa.0 for ; Sat, 09 Dec 2023 06:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702133529; x=1702738329; darn=ntg.nl; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:from:to:cc:subject:date :message-id:reply-to; bh=e6KW7RTWPGR+AIosNlRjTS3ueLF4bzvIl1euVCie9rE=; b=Kediuogeue6IedJ4/34jz1HkZluzNS5WuIA1luUx8t97J0+EuRw/FU5Wj+GZ1jZtz9 TuSP6UTpL9r30CIOfGjno8dsnKIe107PWLNdIrBWbr39YyrOqjJkDFL84DXZQWDDdLp0 vtq+JhTlvVeosNCjYptWcKX4xex9YS1CTuAA1TsrH9XcemwDpfRWA4gUAIaKcTkvRtUS 9x42JcuCDhyvILZOOz+P+nsCialXG+SPb6AVwn8kvjtSqRvjr18g4N/CKrY3FZENlBR/ 8Lj6805oRZVqN53AaUzx9CmhRt3jYZP3GHO+D4G5As4emKeGzZaunqZCohgPINUQpSo1 2YXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702133529; x=1702738329; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e6KW7RTWPGR+AIosNlRjTS3ueLF4bzvIl1euVCie9rE=; b=vTzobDPLE+YhhJJVTIs3DaayitbLf+7xugwIxVnPAjIvfLX38zdkyRe6zcVnjcOjvv /fk8szhQTex8abkA5g3ViX29Jhgi0u/vSbi0pafXPZaoETq4/ev/nCBKoj8xGYRS6J/y PHUFmrUt+4BNcoLloX89kQaYS4EbmQulRqc6ElDQAo5DPayec591llrWNx7TDTG7hzLY vWk/TcHieBbLWtOdtVNM6BdpHbnN6gPXDMYMV6XMC9ahGvXuV/vBnFXq9+kaOWAZbXFM i1nj4xzBqJ1Yb9zMoYSjJe5qje+S+8cYEYrlu0C3ABrt1W8kAz4i8SkUuYOF0JpW+oC7 0MTQ== X-Gm-Message-State: AOJu0Yzs9X/yVxZcqWczqiQtqLmNsnQKpy9l/yrUvGAb3I2c0KRit96E PiGRd6tBPd1vTS6Qazh5ID7sba7XX68= X-Google-Smtp-Source: AGHT+IE56IVfjqKS66lDH1sEO4PkhsWTr0ugXwP8sVDWWY2YkJ/vDvvmnLZ5FekaEmZrMS36ELaMZw== X-Received: by 2002:a2e:950d:0:b0:2c9:f0e8:bb5f with SMTP id f13-20020a2e950d000000b002c9f0e8bb5fmr797667ljh.40.1702133529107; Sat, 09 Dec 2023 06:52:09 -0800 (PST) Received: from ?IPv6:2a02:810d:a8bf:dc10:8586:7a6c:7ddc:b5a6? ([2a02:810d:a8bf:dc10:8586:7a6c:7ddc:b5a6]) by smtp.gmail.com with ESMTPSA id ps9-20020a170906bf4900b00a19a8f81ae5sm2293289ejb.39.2023.12.09.06.52.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Dec 2023 06:52:08 -0800 (PST) To: mailing list for ConTeXt users , Fabrice Couvreur References: <94f4ce2c-2b14-4530-b724-3e0c4e2c2ba4@fiee.net> From: Wolfgang Schuster Message-ID: Date: Sat, 9 Dec 2023 15:52:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Message-ID-Hash: 7YHD4F3Y5GOPK6E45UEFRGSJHUU5U42P X-Message-ID-Hash: 7YHD4F3Y5GOPK6E45UEFRGSJHUU5U42P X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Fractions (was \placefigure[location=here...] problem) List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5746261086672163260==" This is a multi-part message in MIME format. --===============5746261086672163260== Content-Type: multipart/alternative; boundary="------------CE5D4DD83C698E048F549611" Content-Language: en-US This is a multi-part message in MIME format. --------------CE5D4DD83C698E048F549611 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------CE5D4DD83C698E048F549611 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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

--------------CE5D4DD83C698E048F549611-- --===============5746261086672163260== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============5746261086672163260==--