ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Diamond, and Unicode math symbols
Date: Fri, 11 Mar 2016 21:18:34 +0100	[thread overview]
Message-ID: <CAHy-LL8-_fymp=yLWmnV4HBvYov_Pr65U5oAoD5cWnVr=CXzTQ@mail.gmail.com> (raw)
In-Reply-To: <nbsn95$vh3$1@ger.gmane.org>

On Thu, Mar 10, 2016 at 10:00 PM, Nicola <nvitacolonna@gmail.com> wrote:
> I'm looking for a symbol similar to \lozenge, but squarer (like
> \Diamond in some LaTeX packages, see The Comprehensive Symbol List,
> p. 112). Any idea how I may typeset it in ConTeXt (MKIV)? \diamond
> is too small. I am using TeX Gyre Pagella Math if that matters.
>
> I also have a couple of questions about \showmathfontcharacters:
>
> 1) does that list show all and only the symbols available in the
> current font, or a predefined list of symbols?
>
> 2) The list shows a Unicode point for each symbol, but not the
> corresponding TeX command (if it exists). Say I need U+02B31
> (three leftwards arrows), and I don't want to bother searching
> TCSL above.  May I use the Unicode code point to define a control
> sequence in ConTeXt that prints the symbol? If so, how?
>
> Nicola
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

I could not find a diamond on p. 112 in my version of the
comprehensive symbol list, but maybe:

\definefontfamily[myface][rm][TeX Gyre Pagella]
\definefallbackfamily[myface][mm][Xits][range={"025C7}]
\definefontfamily[myface][mm][TeX Gyre Pagella Math]

\setupbodyfont[myface]

\starttext
You could try $⋄\quad   ⃟ $ from Pagella or $◇$ from Xits.
\stoptext

There is a nice document, unicode-symbols.pdf you can have a look in
for a list of (unicode) math symbols.

/Mikael
___________________________________________________________________________________
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:[~2016-03-11 20:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 21:00 Nicola
2016-03-11 19:03 ` Nicola
2016-03-11 19:56   ` Hans Hagen
2016-03-11 20:18 ` Mikael P. Sundqvist [this message]
2016-03-11 20:57   ` Hans Hagen
2016-03-12  9:13     ` Nicola

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='CAHy-LL8-_fymp=yLWmnV4HBvYov_Pr65U5oAoD5cWnVr=CXzTQ@mail.gmail.com' \
    --to=mickep@gmail.com \
    --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).