ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: diameter symbol in ConTeXt?
Date: Sat, 21 Sep 2013 17:14:10 +0200	[thread overview]
Message-ID: <20130921151410.GE17308@homerow> (raw)
In-Reply-To: <20130921165619.5e896da63d5ad353889cd6c7@telefonica.net>


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

On 2013–09–21 Xan wrote:

> \diameter produces a diameter symbol. What is the equivalent in ConTeXt?

  ⌀ or \varnothing

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

¹ http://tex.stackexchange.com/a/87563/5245

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2013-09-21 15:14 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 [this message]
2013-09-21 15:16   ` Aditya Mahajan
2013-09-21 20:11   ` Hans Hagen
2013-09-21 15:37 ` Xan
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=20130921151410.GE17308@homerow \
    --to=lists@homerow.info \
    --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).