ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xan <dxpublica@telefonica.net>
To: Xan <dxpublica@telefonica.net>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: diameter symbol in ConTeXt?
Date: Sat, 21 Sep 2013 17:37:14 +0200	[thread overview]
Message-ID: <20130921173714.244a6db798c38e33617074ab@telefonica.net> (raw)
In-Reply-To: <20130921165619.5e896da63d5ad353889cd6c7@telefonica.net>

> On 2013–09–21 Xan wrote:
> 
> > \diameter produces a diameter symbol. What is the equivalent in ConTeXt?
> 
>   ⌀ or \varnothing


Really varnothing is not the same as diameter (see the reference of LaTeX I posted before)

> 
> Have a look at char-def.lua for a list of context names for various
> glyphs. It might make sense to enable the fonts.missing tracker.
> Then ConTeXt warns you that a particular glyph is not available.
> 
>   \enabletrackers [fonts.missing]
> 
> > Is there any compilation of symbols avaliable in ConTeXt?
> 
> Not that I'm aware of. In ConTeXt you have easy access to all
> characters of any font¹. Either input the character directly if it's
> present in the current font or you can create a symbol:
> 
> \definefontsynonym
>   [minion]
>   [name:minionproregular]
> 
> \definesymbol
>   [leaf]
>   [\getnamedglyphdirect
>     {minion}
>     {bullet.010}]
> 
> \starttext
>   Foo \symbol[leaf] Bar
> \stoptext
> 
> Marco
> 



How can I define symbol with unicode equivalent? \diameter really is U+2300 I think.

Thanks,
Xan.
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2013-09-21 15:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-21 14:56 Xan
2013-09-21 15:14 ` Marco Patzer
2013-09-21 15:16   ` Aditya Mahajan
2013-09-21 20:11   ` Hans Hagen
2013-09-21 15:37 ` Xan [this message]
2013-09-21 16:25   ` Marco Patzer
2013-09-21 16:43     ` Aditya Mahajan
2013-09-21 16:48     ` Wolfgang Schuster
2013-09-21 16:38   ` Xan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130921173714.244a6db798c38e33617074ab@telefonica.net \
    --to=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).