ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* sqrt(3)/2 with metafun
@ 2017-02-02 20:54 Fabrice Couvreur
  2017-02-02 21:02 ` Rogers, Michael K
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2017-02-02 20:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 402 bytes --]

Hello,
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 magenta ;
    draw fullcircle scaled 1cm shifted (0.5cm,0.866cm) withcolor magenta ;
 \stopMPcode

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 690 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sqrt(3)/2 with metafun
  2017-02-02 20:54 sqrt(3)/2 with metafun Fabrice Couvreur
@ 2017-02-02 21:02 ` Rogers, Michael K
  2017-02-02 21:16   ` Fabrice Couvreur
  0 siblings, 1 reply; 3+ messages in thread
From: Rogers, Michael K @ 2017-02-02 21:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1705 bytes --]

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<mailto:fabrice1.couvreur@gmail.com>> wrote:

Hello,
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 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 the Wiki!

maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / http://www.ntg.nl/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).

[-- Attachment #1.2: Type: text/html, Size: 3260 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sqrt(3)/2 with metafun
  2017-02-02 21:02 ` Rogers, Michael K
@ 2017-02-02 21:16   ` Fabrice Couvreur
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2017-02-02 21:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2317 bytes --]

Hi Michael,
Thanks, it's ok.
Fabrice

2017-02-02 22:02 GMT+01:00 Rogers, Michael K <mroge02@emory.edu>:

> 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:
>
> Hello,
> 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 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
> the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/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).
>
> ____________________________________________________________
> _______________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 4533 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-02 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-02 20:54 sqrt(3)/2 with metafun Fabrice Couvreur
2017-02-02 21:02 ` Rogers, Michael K
2017-02-02 21:16   ` Fabrice Couvreur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).