From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id C8DC2249BF for ; Sat, 27 Apr 2024 22:01:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 300DC484528 for ; Sat, 27 Apr 2024 21:59:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=yahoo.com 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 cObl1HOSi1Ki for ; Sat, 27 Apr 2024 21:59:46 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E42B4484496 for ; Sat, 27 Apr 2024 21:58:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2F4D7484426 for ; Sat, 27 Apr 2024 21:57:46 +0200 (CEST) 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 riR8dJz3Bxwb for ; Sat, 27 Apr 2024 21:57:45 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.132.41; helo=sonic306-2.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Received: from sonic306-2.consmr.mail.bf2.yahoo.com (sonic306-2.consmr.mail.bf2.yahoo.com [74.6.132.41]) (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 966AA484420 for ; Sat, 27 Apr 2024 21:57:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714247861; bh=IAtgqZUv7tg7dbxP1LISnt60Mu0td/BBqBOOi1E6MH4=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=OsXkA37CFEHifEe12rF6ljuxCSr1H2IlU5kMYeFOqRBt1i2AbyKyJlbIK2qc+8NAfj76k3/w5H8T3RRDFtPBNgs+HxIYdUkv3LRZlq0VtRVjZISD5VDKYqBNwtTID4pg/VVHUJBZb/1Na7f8dj+4MC0DBu8PWOjkGgBVB1rmqAb7ENQ/8/k8OhxcYSMLN8aV6m3Mgkw4dzHpg4AfDcalnIkWOCmKlMHEP0m5tOtaL5Cm2yc/P8aIsodRVwW7avrNghMvb4itdNqSlZp24A5YyFdgHtgCFfT+5ddtlOqIZw6Mni8zAKXpqrPGVz0BEGvMUznpYaVs7s0zH8G2AL7B/A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714247861; bh=Kbe34jvqdLEEtnhdRumjLphdtn7j6DT3PMNhE4PIhD0=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=S9KSbXIGn1aOM3AZxF7Pn96fuLJg/T4E8RHvjMn7EeAjeJ7rEbLZkm4Zf2boL0y5o+ZJM7k5/sFs2AzWxTGi5s6JYgQstpu0om/Zl+opNqk+js3ItXROeWhYJRPIZnjHYB1kJwVGU2H1xacAI7+jTitKCBTuT56i2CuwwmBd685dpNQaxI9rgBQ/erYDWDrprvCmcNWuZ8EMEUjGl4YpAipNYpFGUxvNiUMzm2NbIpWzlUh7JfCO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._cIDL_2cGJtG4Lw1IBplT9mxmKbVMR B4NIrD64C_SRchjNIeT5idyeTULmqNLE.WjTrh4DgjRRNvo3dHKOM.bv2jPaniDdJOGo7QOEfh17 A9e5aX0ljLrYNif8XeD56oOdi9vWJpJUI.QvSpYmbl43Rws2EblmqpxQLobRcjRYOAmu85UVL9bL fHT53W3MKEK.zdQu0ffn2MscO0B3ROrr_7zXQR80f8aZgRjdfjgmh7yd6a_dB1GirzJZGlS2R9M4 2w45khCwXglyXBdRfBQKIsDkt501mqsL.0LUGpQ5AC9hcxxSvPE3.1zFnJUOx_mowqk2_xA-- X-Sonic-MF: X-Sonic-ID: 19d69860-5f88-4e4a-bf8f-7812279e1ca2 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Sat, 27 Apr 2024 19:57:41 +0000 Date: Sat, 27 Apr 2024 19:57:36 +0000 (UTC) To: mailing list for ConTeXt users , Wolfgang Schuster Message-ID: <1848948608.2471192.1714247856540@mail.yahoo.com> In-Reply-To: <7c8c0d14-5d96-e772-b4fd-464b14b25bba@gmail.com> References: <769759528.2453623.1714238203650.ref@mail.yahoo.com> <769759528.2453623.1714238203650@mail.yahoo.com> <7c8c0d14-5d96-e772-b4fd-464b14b25bba@gmail.com> MIME-Version: 1.0 X-Mailer: WebService/1.1.22256 YMailNorrin Message-ID-Hash: 6CCPNLRDK5KO4FJF6MOKELWJ432FGIHT X-Message-ID-Hash: 6CCPNLRDK5KO4FJF6MOKELWJ432FGIHT X-MailFrom: uaru99@yahoo.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: How to make superscript text match footnote mark formatting? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Joel via ntg-context Cc: Joel Content-Type: multipart/mixed; boundary="===============6392601778472646262==" --===============6392601778472646262== Content-Type: multipart/alternative; boundary="----=_Part_2471191_86855050.1714247856539" ------=_Part_2471191_86855050.1714247856539 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you! --Joel On Saturday, April 27, 2024 at 12:08:13 PM MDT, Wolfgang Schuster wrote: =20 =20 Joel via ntg-context schrieb am 27.04.2024 um 19:16: > \starttext >=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 test\high{1}test\footnote{some text} > \stoptext >=20 > How can I create a superscript number that has exactly the same=20 > formatting as a footnote, but which won't create a footnote. I tried=20 > \high{}, which I believe should be the way to superscript text, but if=20 > you compile this, you can see the first "1" and second "1" have entirely= =20 > different formatting. How do I make the first one have the same exact=20 > formtating as the real footnote? Footnotes apply the \tx style to the number in the running text and to=20 get the same text size with \high you need \tx before the argument. Another solution is to create your own \high command where you set the=20 text size as default value but now you have to pass \txx as value=20 because by default \high already uses style=3D\tx. When you now combine=20 the default \tx from \high and the \tx from the footnote you get the=20 \txx size (which is used in the custom \high command). %%%% begin example \definehigh[fakenotesymbol][style=3D\txx] \starttext \startlines test\footnote{\unknown} test\high{\tx 1} test\fakenotesymbol{1} \stoplines \stoptext %%%% end example Wolfgang =20 ------=_Part_2471191_86855050.1714247856539 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=
Thank you! --Joel
<= div>
=20
=20
On Saturday, April 27, 2024 at 12:08:13 PM MDT, Wol= fgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:


=20 =20
Joel via ntg-context schrieb am 27.04= .2024 um 19:16:
> \starttext
>&nb= sp;      test\high{1}test\footnote{some text}
> \stoptext
>
> How= can I create a superscript number that has exactly the same
> formatting as a footnote, but which won't create a footnote. I tr= ied
> \high{}, which I believe should be the way to s= uperscript text, but if
> you compile this, you can s= ee the first "1" and second "1" have entirely
> diffe= rent formatting. How do I make the first one have the same exact
> formtating as the real footnote?

Footnotes apply the \tx style to the number in the running text a= nd to
get the same text size with \high you need \tx bef= ore the argument.

Another solution is = to create your own \high command where you set the
text = size as default value but now you have to pass \txx as value
because by default \high already uses style=3D\tx. When you now combin= e
the default \tx from \high and the \tx from the footno= te you get the
\txx size (which is used in the custom \h= igh command).

%%%% begin example
\definehigh[fakenotesymbol][style=3D\txx]
\starttext

\startline= s
test\footnote{\unknown}
test\high{\tx= 1}
test\fakenotesymbol{1}
\stoplines

\stoptext

%%%% end ex= ample

Wolfgang

------=_Part_2471191_86855050.1714247856539-- --===============6392601778472646262== 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 ___________________________________________________________________________________ --===============6392601778472646262==--