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.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=no 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 6B12821281 for ; Sat, 8 Jun 2024 13:16:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 46BEB484598 for ; Sat, 8 Jun 2024 13:16:27 +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 sfnPjTtH14Sc for ; Sat, 8 Jun 2024 13:16:26 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id CCF814845D3 for ; Sat, 8 Jun 2024 13:16:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A7C5F484593 for ; Sat, 8 Jun 2024 13:16:07 +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 dL4Fv6uC3vbg for ; Sat, 8 Jun 2024 13:16:07 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6E53F484585 for ; Sat, 8 Jun 2024 13:16:07 +0200 (CEST) MIME-Version: 1.0 From: seyal.zavira@gmail.com To: ntg-context@ntg.nl Date: Sat, 08 Jun 2024 11:16:07 -0000 Message-ID: <171784536743.1997.15533790176512028090@cgl.ntg.nl> User-Agent: HyperKitty on http://mailman.ntg.nl/ Message-ID-Hash: XMMRHZQBQHRYAEQKROSWGVEJ5XD74NHJ X-Message-ID-Hash: XMMRHZQBQHRYAEQKROSWGVEJ5XD74NHJ X-MailFrom: seyal.zavira@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] Scale notation base on current font List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, There's a problem when I want to define the note so that it's displayed according to the size and font of the text: this MWE change the notation size: \definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand=\tfb \raise 0.2ex\hbox, ] \starttext hello \Mynote{refrence} \placenotes[Mynote] \stoptext but i cannot set it for \tfxx. also it's relative to my main body font, and my current font and color doesn't apply to text. for example if my current text has color red with another font the note doesn't change according to it, and will display identical everywhere. And when I try to define it like this MWE: \definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand= \scale [height=0.7ex] \raise 0.2ex\hbox, ] \starttext hello \Mynote{refrence} \placenotes[Mynote] \stoptext it doesn't work. how i should define such notes? ___________________________________________________________________________________ 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 ___________________________________________________________________________________