From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100714 Path: news.gmane.org!.POSTED!not-for-mail From: "Mikael P. Sundqvist" Newsgroups: gmane.comp.tex.context Subject: Re: Size of fences, factor key Date: Wed, 25 Apr 2018 07:29:48 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8477919842888493532==" X-Trace: blaine.gmane.org 1524634136 29240 195.159.176.226 (25 Apr 2018 05:28:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2018 05:28:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 25 07:28:52 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBCz5-0007XE-JR for gctc-ntg-context-518@m.gmane.org; Wed, 25 Apr 2018 07:28:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 635CD62636E; Wed, 25 Apr 2018 07:30:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yo1z4aztAj-E; Wed, 25 Apr 2018 07:30:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id F40A862636F; Wed, 25 Apr 2018 07:30:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7451662636E for ; Wed, 25 Apr 2018 07:30:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aSckam2WUNkn for ; Wed, 25 Apr 2018 07:30:30 +0200 (CEST) Original-Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C461D62636D for ; Wed, 25 Apr 2018 07:30:20 +0200 (CEST) Original-Received: by mail-qt0-f176.google.com with SMTP id d3-v6so3308724qtp.11 for ; Tue, 24 Apr 2018 22:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Ai3vwoY4/JEJ58XFb9Gde2IJK6GcZ9s17fMjyOyZoX4=; b=Di0fpp0BXfhiy5VYgsjkKHqaXUEi2IxYtu5bHxQDLLjkhTw6HsynD0/YRWhq+T/un7 p25WUdcXYSqc02ZYaH5awapf0xbDHeCv1yqcBnKBf0pu2p0K4OyaR2AR8rImsMrpotcX 0RGWXNnOI/ck1ouqxumrZi2WE1wSDzniMbU038A0E5949OEETOHNdWrow1vcGSi+S4/o Tsks7WVbEw/3Ru1xN0Qlaqx3nBriQuSIyknsHrWshO5InbtDmhaW5FxtKvQ8PwcLiQAM bQGvyUA0C3H6c+Zxx2X5r0oXDuNK3eAZtv2fOukwolWnVe5Mk8gPdX7NbqDps7xwtf0X OWJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Ai3vwoY4/JEJ58XFb9Gde2IJK6GcZ9s17fMjyOyZoX4=; b=PbvvhpSaH3cpnVZZN5LtvOJrtLSP3Sy/1a4pWpjixKQb5yLaQAKRnwwnlW8RVbPDGi Yjg3AtpWYsKiiFvADKXx+akhgPDjgAqENoDVeX2u9DJAdXgcsw3rYC1msBY5Ed0f37cC 7AcQ3Papa9uOkwQakKnk5Vo2L1Aajl2o2+P2nK2ymPjNXXqKAPnThkq9BFGf4pJq5R/d eIwu1LziTDMOU1zKLZdP8ak6za2uW2aV1xTe5oOHLJ/iOT39es6okcYdxXCclAuTf0kO O1BPiXhTF0hlPb732HzlxroSGHGJroMPhbJXAXHW53rI7I2t+Tqwms1z/94zgey2hSgK LrCw== X-Gm-Message-State: ALQs6tA5QSrD8XAEaZlj/+P0NN/yDe+aey6noAefDQEvIzJVTSrBZUbV qyaRBWvArIMSoS52A4IacEZb+Woezy+0ca+U6+Q= X-Google-Smtp-Source: AB8JxZqbluCEr5Q3RxdgbG4zL6oHTHcRX9ot+oiCFxX13hgeIyM1WzuOI3kHiEm+YV9tZCaaCmelUw0Hm08jJn4+6MU= X-Received: by 10.12.138.12 with SMTP id 12mr6801414qvt.240.1524634219163; Tue, 24 Apr 2018 22:30:19 -0700 (PDT) Original-Received: by 10.237.59.113 with HTTP; Tue, 24 Apr 2018 22:29:48 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100714 Archived-At: --===============8477919842888493532== Content-Type: multipart/alternative; boundary="94eb2c0ddfe20bb34b056aa59199" --94eb2c0ddfe20bb34b056aa59199 Content-Type: text/plain; charset="UTF-8" On Sat, Apr 21, 2018 at 7:30 PM, Mikael P. Sundqvist wrote: > Dear Hans and others, > > I'm usually use the \big, \Big, \bigg etc to get the size of parentheses, > brackets and braces to be the size I want. I realize that the fences > machinery is probably a cleaner way of doing this. > > I tried it a bit, and it usually gives the result I like. But sometimes > not, and it seems that the way to change the size of the > parentheses/brackets/braces is to use the factor key. > > 1) Are the different options none, auto NUMBER explained somehere? > 2) Could one have, for exceptional cases where the default is not > satisfactory, a keyword like factor=big for example, to get the same size > as if one would have used \big? > > I am a bit confused. See the example below, with output (from latest > standalone) attached. > > /Mikael > > PS: I would suggest to have > italic = { feature = 'ss01', value = 1, comment = "Mathematical > Alternative Lowercase Italic" }, > set in lucida-opentype-math.lfg. In all books (on math) I have seen, I > think this is what is used. > > %%% Example file: > > \setupbodyfont[lucidaot] > > \definemathfence[Set][left="007B,right="007D,command=yes] > > \startbuffer > \startformula > \Set{x\in\mathbb R~:~x^2=1} > \stopformula > \stopbuffer > > > \startTEXpage[offset=3bp] > > \startformula > \{x\in\mathbb R~:~ x^2=1\}%Too small > \stopformula > > \startformula > \bigl\{x\in\mathbb R~:~ x^2=1\bigr\}%I like this one > \stopformula > > \startformula > \Bigl\{x\in\mathbb R~:~ x^2=1\Bigr\}%Too big > \stopformula > > \getbuffer > > \setupmathfence[Set][factor=1]%I like this one > \getbuffer > > \setupmathfence[Set][factor=auto]%Too big > \getbuffer > > %\setupmathfence[Set][factor=big]%Perhaps this could work? Or size=big or > something > %\getbuffer > \stopTEXpage > I hate to do this, but a small *bump* (If it is unclear what I'm asking for, I could try to clarify) /Mikael --94eb2c0ddfe20bb34b056aa59199 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On S= at, Apr 21, 2018 at 7:30 PM, Mikael P. Sundqvist <mickep@gmail.com><= /span> wrote:
Dear = Hans and others,

I'm usually use the \big, \Bi= g, \bigg etc to get the size of parentheses, brackets and braces to be the = size I want. I realize that the fences machinery is probably a cleaner way = of doing this.

I tried it a bit, and it usually gi= ves the result I like. But sometimes not, and it seems that the way to chan= ge the size of the parentheses/brackets/braces is to use the factor key.

1) Are the different options none, auto NUMBER expla= ined somehere?
2) Could one have, for exceptional cases where the= default is not satisfactory, a keyword like factor=3Dbig for example, to g= et the same size as if one would have used \big?

I= am a bit confused. See the example below, with output (from latest standal= one) attached.

/Mikael

PS= : I would suggest to have
=C2=A0italic=C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D { feature =3D 'ss01', value =3D 1, comment =3D "Mathematic= al Alternative Lowercase Italic" },
set in lucida-openty= pe-math.lfg. In all books (on math) I have seen, I think this is what is us= ed.

%%% Example file:

\setupbodyfont[lucidaot]

\definemathfence[Set][l= eft=3D"007B,right=3D"007D,command=3Dyes]

\startbuffer
\startformula
\Set{x\in\mathbb R~:~x= ^2=3D1}
\stopformula
\stopbuffer


\startTEXpage[offset=3D3bp]

\sta= rtformula
\{x\in\mathbb R~:~ x^2=3D1\}%Too small
\stopf= ormula

\startformula
\bigl\{x\in\mathbb = R~:~ x^2=3D1\bigr\}%I like this one
\stopformula

\startformula
\Bigl\{x\in\mathbb R~:~ x^2=3D1\Bigr\}%Too= big
\stopformula

\getbuffer
<= br>
\setupmathfence[Set][factor=3D1]%I like this one
\getbuffer

\setupmathfence[Set][factor=3Dauto]%Too big
\getbuffer

%\setupmathfence= [Set][factor=3Dbig]%Perhaps this could work? Or size=3Dbig or somethin= g
%\getbuffer
\stopTEXpage

I hate to do this, = but a small *bump*

(If it is unclear what I'm asking for, I could try to clar= ify)

/= Mikael
--94eb2c0ddfe20bb34b056aa59199-- --===============8477919842888493532== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8477919842888493532==--