From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97195 Path: news.gmane.org!.POSTED!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: sqrt(3)/2 with metafun Date: Thu, 2 Feb 2017 21:02:58 +0000 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="===============3476853785793662379==" X-Trace: blaine.gmane.org 1486069404 775 195.159.176.226 (2 Feb 2017 21:03:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2017 21:03:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 02 22:03:20 2017 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 1cZOXI-0008TT-AX for gctc-ntg-context-518@m.gmane.org; Thu, 02 Feb 2017 22:03:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C2EBD12800F7; Thu, 2 Feb 2017 22:03:16 +0100 (CET) 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 kpCQG7_YeROi; Thu, 2 Feb 2017 22:03:15 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 43D8312800E5; Thu, 2 Feb 2017 22:03:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D126B12800E4 for ; Thu, 2 Feb 2017 22:03:13 +0100 (CET) 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 CNJVY11E620n for ; Thu, 2 Feb 2017 22:03:12 +0100 (CET) Original-Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0078.outbound.protection.outlook.com [104.47.32.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9DF2912800E3 for ; Thu, 2 Feb 2017 22:03:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emory.onmicrosoft.com; s=selector1-emory-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1jWGPozSMtOSdXVwl1wWNjOnCGahL4dgcHc7gGRt/M4=; b=kmzZTnd0zGtAaGkGVs4Pt391EMMFzEAiX2VZXeMg61/d0IfzQ4z1+kOmUMZiuKGZ2rb1Bc3MQiRuZfmKLKSY2irdZk5HWMwg2kyhnAqGIybeM5MnOHEFz+MJMfPOduDnJTo5PWrQJM72D7Tw0rw2SjVfyCOryoIFQRYpDAtR7zk= Original-Received: from SN1PR05MB1999.namprd05.prod.outlook.com (10.162.132.29) by SN1PR05MB1998.namprd05.prod.outlook.com (10.162.132.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Thu, 2 Feb 2017 21:02:58 +0000 Original-Received: from SN1PR05MB1999.namprd05.prod.outlook.com ([10.162.132.29]) by SN1PR05MB1999.namprd05.prod.outlook.com ([10.162.132.29]) with mapi id 15.01.0888.019; Thu, 2 Feb 2017 21:02:58 +0000 Thread-Topic: [NTG-context] sqrt(3)/2 with metafun Thread-Index: AQHSfZaSk+3a0gWPdEuSn02d6fU1GKFWNEkA In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mroge02@emory.edu; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [170.140.104.21] x-ms-office365-filtering-correlation-id: ea172700-5846-402f-7ffe-08d44baeddf0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN1PR05MB1998; x-microsoft-exchange-diagnostics: 1; SN1PR05MB1998; 7:fltuNS9N8JaaQ3H1XT6f6ucC3SYWJvKkEvSk5fjIVSw0qnTQsvw4nXyjz8/8jBYld/IgGYvVGwf74H6JZEH78mZ8mjpq0euIzkdwtPYSN3+I0oFagFRJOS69MSsFcVKVDdF/SEi4zdGIvDXboUwl+DXeNR7mOF/bZhEDaAEfzT4IFhkOXUdTna+OIIknUJKMEJv8HQRJMpnljNzZn8ut8axeUHSfK4SwF08xGKnX2eKeDq97WPmBSrUfp9Gi1e3BXP1/Fja3rw5MvOqQK4xb8Y8+/aCQ6CNAEWG1WbI6fhwkk5w8Gid0K4nVCyx8VeLCovuMzrGI7E+DmF1xFDpu8UCKERjYEjyKoo9I1e4aI8VrHOG+GTfYDRqZNqBj+dyvRaFBSsO07wcNu6NdY7wR+bs+EpfF+Ba/VQ9EClW6QdFnjkkqyCqi5Pvf6q18gyrvMePXPFKZjv+2zQLsjO+7PCMotw27mfJIKKGltbQS68huXASZdBQZpn98f+rqbe5m+Kqxmwr75vJVVY24nVI9b601spir7zx7YexIbUks/yxexKAnqvBgIWlWJmsQVb1j x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(63843785518722); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(7006096)(3002001)(10201501046)(6041248)(20161123558025)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(6072148); SRVR:SN1PR05MB1998; BCL:0; PCL:0; RULEID:; SRVR:SN1PR05MB1998; x-forefront-prvs: 02065A9E77 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(39450400003)(24454002)(36304003)(377454003)(189002)(199003)(16601075003)(6512007)(99286003)(5660300001)(66066001)(86362001)(7906003)(7736002)(2950100002)(229853002)(68736007)(16297215004)(6916009)(25786008)(38730400001)(3660700001)(77096006)(6486002)(6506006)(236005)(6246003)(36756003)(53936002)(75432002)(110136003)(102836003)(6116002)(122556002)(587094005)(3846002)(2906002)(606005)(106356001)(450100001)(106116001)(6436002)(189998001)(76176999)(54356999)(50986999)(105586002)(2900100001)(3280700002)(8676002)(88552002)(92566002)(101416001)(8936002)(33656002)(81156014)(97736004)(81166006)(107886002)(6306002)(82746002)(83716003)(966004)(5890100001)(54896002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR05MB1998; H:SN1PR05MB1999.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: emory.edu does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM X-OriginatorOrg: emory.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2017 21:02:58.5220 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e004fb9c-b0a4-424f-bcd0-322606d5df38 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR05MB1998 X-MS-Exchange-CrossPremises-AuthAs: Internal X-MS-Exchange-CrossPremises-AuthMechanism: 04 X-MS-Exchange-CrossPremises-AuthSource: SN1PR05MB1999.namprd05.prod.outlook.com X-MS-Exchange-CrossPremises-SCL: 1 X-MS-Exchange-CrossPremises-messagesource: StoreDriver X-MS-Exchange-CrossPremises-BCC: X-MS-Exchange-CrossPremises-originalclientipaddress: 170.140.104.21 X-MS-Exchange-CrossPremises-avstamp-service: 1.0 X-MS-Exchange-CrossPremises-disclaimer-hash: 956ca9582f0c56a948c0eab4336682eb81d9fee3fb5d7d73573c398a9b6d648a X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating; SFV:NSPM; SKIP:0; X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent X-OrganizationHeadersPreserved: SN1PR05MB1998.namprd05.prod.outlook.com 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:97195 Archived-At: --===============3476853785793662379== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B6DD7824E0EA4E7CAF265FE0234BAC12emoryedu_" --_000_B6DD7824E0EA4E7CAF265FE0234BAC12emoryedu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This seems to work in place of 0.866cm: sqrt(3)/2*cm Michael On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur > wrote: Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this val= ue with an approximate value 0.866 How should it be done ? Thank you Fabrice \starttext \startMPcode draw fullcircle scaled 1cm withcolor magenta ; draw fullcircle scaled 1cm shifted (1cm,0) withcolor magenta ; draw fullcircle scaled 1cm shifted (0.5cm,0.866cm) withcolor magenta ; \stopMPcode \stoptext ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.n= l/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). --_000_B6DD7824E0EA4E7CAF265FE0234BAC12emoryedu_ Content-Type: text/html; charset="us-ascii" Content-ID: <71DE90274992724988E671EB50602A2E@namprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable This seems to work in place of 0.866cm: sqrt(3)/2*cm

Michael

On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur <fabrice1.couvreur@gmail.com= > wrote:

Hell= o,
I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an approximate value 0.866
How should it be done ?
Thank you
Fabrice

\starttext

\startMPcode
    draw fullcircle scaled 1cm withcolor magenta ;
    draw fullcircle scaled 1cm shifted (1cm,0) withcolor mag= enta ;
    draw fullcircle scaled 1cm shifted (0.5cm,0.866cm) withc= olor magenta ;
 \stopMPcode

\stoptext
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg= .nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.= pragma-ade.nl / http://context.aanhet.net<= /a>
archive  :
https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________= ________




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
--_000_B6DD7824E0EA4E7CAF265FE0234BAC12emoryedu_-- --===============3476853785793662379== 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 --===============3476853785793662379==--