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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,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 5C22A216FF for ; Sat, 26 Oct 2024 14:58:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 896A54853E8 for ; Sat, 26 Oct 2024 14:57:39 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-language:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:received:received :received:received:received:received:received; s=cgl; t= 1729947459; x=1732539460; bh=8qFE9RYIuNppCmgq1+KstHSQJDq5NrK+qrX H/Z4IEak=; b=AEo7DV6uGG25cK+MnlCNDOG2Ej1c7IchCuLg/rtY0z81YC5ifvI LPOHC+3JV5C6bN5P+XZLjn3d1Yzsa7nRpD14XBCbF//7NXrHIU+A/dl+xtc2fkoh myRcqzwGq+yrsSNFMqTLL6Wy1eTR30FncqqxpFiq3h7bnEc6gxaORcKE= 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=gmail.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 WGRWQXsg7Mix for ; Sat, 26 Oct 2024 14:57:39 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 59DFC484D50 for ; Sat, 26 Oct 2024 14:57:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3FE58484CDF for ; Sat, 26 Oct 2024 14:56:55 +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 Nko_r098qThU for ; Sat, 26 Oct 2024 14:56:54 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.48; helo=mail-ej1-f48.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 F19AF484CDE for ; Sat, 26 Oct 2024 14:56:54 +0200 (CEST) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a9aa8895facso452460866b.2 for ; Sat, 26 Oct 2024 05:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729947414; x=1730552214; darn=ntg.nl; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=z+Q98XWRWBTQkcUNe2NLgIz8/93keXUaFw4/tX8SxIk=; b=MiNWuIGQyir2YftIo49Z5R/N1ljIdMO0A2qAk9YIWhd7YDPmkj4ASzG3+1Xe98Zp3j P+90M8igPkidBZjC0dlLe6b1Px2/A4x8zTMBOj7gN8yKc3ULeeZ449GYiPOEV+LgsmeN 3xwpD2SKYus0ryx0hpMMOqHj6PiQVJZ4FZZ+njWBDwH7utcdTTIxPc3MBzAziRTjm/bj /HwNN5KWkwMbIcMCRsyj5TsXjMIEwIhCvjc3J6Mz/nOo/QXxRaOaVhSPjgB7oAG2GeSb Ycmj96IFwutHEUKG+1dNybReeuNBjvZWXTHiAJjUEdxkkcsnPyjf+7VChtQ6qL434UrQ EMkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729947414; x=1730552214; h=content-language:content-transfer-encoding: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=z+Q98XWRWBTQkcUNe2NLgIz8/93keXUaFw4/tX8SxIk=; b=bnCEdYJDH7OJAvF9kCwJYY4fLIpIgfrlIfC/CHyON+Q16r7hOk2rUWehKsEv7Hj5Ta jd4U2zplsak+aPlRORcL6qedAqAxAEcjCYtAaV7NRdSV6+Kf1x26dzyA3P8VLzWEvJOc 3Y9zP8aOLjWrqCmpBgvP7n90D0vlStPl7BTvr2SlevbRJXpkhp4Qnsvs9Slc6h3J45kq SY5e4x6h5rqIrYDcY5j6FKzTiFP26+qoHak/OUPjFXA0Ig0TN0OUkYSP8ZJT6c8dpAfX RxAiTBzYjvrel/CyS0GgqW2c9L/JD2skfhpXLQ4CnWQaiRdld04O6sEg6N/cenate2K0 Tl/Q== X-Gm-Message-State: AOJu0YxvafyZuOA+Y17mLYCfLySyo7IAx8wdC3LRTQ4pyTQggOa6FhtO k9y45KX+H0oLX70xkQDs7tbtMopnXXD7RGSl3Lv5U4YGkS+dncEwXvCoDw== X-Google-Smtp-Source: AGHT+IGZsugZEJgXcnXIst/dggd/+aJgfJE5miNmjCkRxx2DYlBHrIx+TcVAWs8vh3OhNwJUbwJ85g== X-Received: by 2002:a17:907:7289:b0:a99:fa4e:ba97 with SMTP id a640c23a62f3a-a9de5ff9192mr180358066b.39.1729947414130; Sat, 26 Oct 2024 05:56:54 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:e1a8::4b99? ([2a02:810d:a8bf:e1a8::4b99]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9b1ee3dc7csm170522866b.46.2024.10.26.05.56.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Oct 2024 05:56:53 -0700 (PDT) To: mailing list for ConTeXt users , Kirill Davidov References: <91e4731e-b875-419c-b24d-eebc19406043@edu.surgu.ru> From: Wolfgang Schuster Message-ID: <0cc4315d-dc06-e954-cf05-b08921716264@gmail.com> Date: Sat, 26 Oct 2024 14:56:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.64 MIME-Version: 1.0 In-Reply-To: <91e4731e-b875-419c-b24d-eebc19406043@edu.surgu.ru> Content-Language: en-US Message-ID-Hash: 5AJYNFVOHRIFMYLGW6LPSBRHRUUZHOHZ X-Message-ID-Hash: 5AJYNFVOHRIFMYLGW6LPSBRHRUUZHOHZ 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Spacing issue in \digits with mode=3 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"; format="flowed" Content-Transfer-Encoding: 7bit Kirill Davidov schrieb am 26.10.2024 um 11:32: > Greetings, > > I have been making a table with \digits aligned cells and noticed that > in mode 3 (thin mu skips as group separator, comma as decimal separator) > a specification like {_X.=} causes the single digit number to be > misaligned, it's like there's about 2mu worth of space just before the > number. I don't have much of an idea as to what causes it. It doesn't > seem to be an issue in mode 1, although it may be simply not as > noticeable. This also affects \unit. There are no mu skips in your example because the values are math. When you use modes 0--2 ConTeXt inserts a space based on the width of an period but the other modes use either \thinspace (mode 3 and 4) or \thickspace (mode 5 and 6) as separator. %%%% begin example \setdigitmode{3} \startdocument \type{1,000} = \the\dimexpr\widthofstring{1,000}\relax \type{1.000} = \the\dimexpr\widthofstring{\digits{1.000}}\relax \type{1\thinspace 000} = \the\dimexpr\widthofstring{1\thinspace 000}\relax \type{1.000} = \the\dimexpr\widthofstring{\digits{1.===}}\relax \stopdocument %%%% end example Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________