[NTG-context] Macro to write the euro symbol

Fabrice Couvreur fabrice1.couvreur at gmail.com
Mon Apr 9 09:25:58 CEST 2018


Hi Hans,
Thank you for the clarification.
Fabrice

2018-04-08 11:50 GMT+02:00 Hans Hagen <j.hagen at xs4all.nl>:

> On 4/8/2018 9:09 AM, Otared Kavian wrote:
>
>> Hi Fabrice,
>>
>> I don't know about the \symbol[EUR], but you can use directly the €
>> symbol as in:
>>
>> \unexpanded\def\euros#1{#1\,€}
>> \starttext
>>
>> \euros{100}
>> \stoptext
>>
> most fonts nowadays have a properly matched euro
>
> \usesymbols[mvs] % has your EUR
>
> \starttext
>
>     \unexpanded\def\euros#1{#1\,€}
>
>     \euros{100}
>
>     \unexpanded\def\euros#1{#1\,\symbol[europe][EUR]}
>
>     \euros{100}
>
> \stoptext
>
> We don't load these symbol sets by default. Soon the tex gyre fonts will
> contain many more symbols which means that we will also get away from some
> currently traditional symbols taken from math fonts.
>
> Hans
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ____________________________________________________________
> _______________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ____________________________________________________________
> _______________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180409/1f72b1aa/attachment-0001.html>


More information about the ntg-context mailing list