From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: defined symbols - question/feature suggestion
Date: Fri, 18 Feb 2011 18:30:52 +0100 [thread overview]
Message-ID: <4D5EACCC.6030006@wxs.nl> (raw)
In-Reply-To: <60157C18-F6B8-4EE0-BAF2-C9D71EEFA370@awi.de>
On 18-2-2011 10:39, Florian Wobbe wrote:
> Hi Hans,
>
> in symb-mis.mkiv you define most symbols with \mathematics. I don't know why you take these symbols from the math font. Just in case the symbol does not exist in the regular font, I would guess.
>
> Problem is only, that you will loose most symbols when switching the math font to something else than computer-modern (I tested with euler and cambria). BTW: I wonder how many contexters use modern for math...
>
> Anyway it appears most fonts have geometric shapes and common symbols and dingbats. So I end up redefining the symbols:
>
> \definesymbol [bullet] [\textbullet]
> \definesymbol [dash] [--]
> \definesymbol [star] [\char"2734]
> \definesymbol [triangle] [\char"25B6]
> \definesymbol [square] [\char"25A0]
> \definesymbol [diamond] [\char"25C6]
> \definesymbol [checkmark] [\char"2713]
>
> Also it looks nicer when you use item symbols matching the text font.
a next beta will have
\definesymbol [bullet] [\textormathchar{"2022}] % • \bullet
\definesymbol [dash] [\textormathchar{"2013}] % –
\definesymbol [star] [\textormathchar{"22C6}] % ✴ \star
\definesymbol [triangle] [\textormathchar{"22B3}] % ⊳ \triangleright
\definesymbol [circle] [\textormathchar{"2218}] % ∘ \circ
\definesymbol [square] [\textormathchar{"25A1}] % □ \square
\definesymbol [diamond] [\textormathchar{"22C4}] % ⋄ \diamond
\definesymbol [checkmark] [\textormathchar{"2713}] % ✓ \checkmark
\definesymbol [blacktriangle] [\textormathchar{"25B6}] % ▶
\definesymbol [blacksquare] [\textormathchar{"25A0}] % ■
\definesymbol [blackdiamond] [\textormathchar{"25C6}] % ◆
but it's experimental (and fonts like cambria don't have all of them)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-02-18 17:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 9:39 Florian Wobbe
2011-02-18 9:52 ` Mojca Miklavec
2011-02-18 13:50 ` C.
2011-02-19 19:28 ` Johannes Kuester
2011-02-19 23:24 ` C.
2011-02-19 23:40 ` Hans Hagen
2011-02-20 7:41 ` Wolfgang Schuster
2011-02-20 11:08 ` Johannes Kuester
2011-02-18 16:21 ` Hans Hagen
2011-02-18 17:30 ` Hans Hagen [this message]
2011-02-27 10:09 ` Florian Wobbe
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=4D5EACCC.6030006@wxs.nl \
--to=pragma@wxs.nl \
--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).