* Diamond, and Unicode math symbols @ 2016-03-10 21:00 Nicola 2016-03-11 19:03 ` Nicola 2016-03-11 20:18 ` Mikael P. Sundqvist 0 siblings, 2 replies; 6+ messages in thread From: Nicola @ 2016-03-10 21:00 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Diamond, and Unicode math symbols 2016-03-10 21:00 Diamond, and Unicode math symbols Nicola @ 2016-03-11 19:03 ` Nicola 2016-03-11 19:56 ` Hans Hagen 2016-03-11 20:18 ` Mikael P. Sundqvist 1 sibling, 1 reply; 6+ messages in thread From: Nicola @ 2016-03-11 19:03 UTC (permalink / raw) To: ntg-context On 2016-03-10 21:00:21 +0000, Nicola said: > I'm looking for a symbol similar to \lozenge, but squarer […] > Any idea how I may typeset it in ConTeXt (MKIV)? Unless I am overlooking something, there is no such symbol in TeX Gyre Pagella Math, so maybe this is not possible. > 2) The list shows a Unicode point for each symbol, but not the > corresponding TeX command (if it exists). Ok, this is not correct: the command is there, for symbols that have one. But how do I use symbols with no associated TeX command? 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Diamond, and Unicode math symbols 2016-03-11 19:03 ` Nicola @ 2016-03-11 19:56 ` Hans Hagen 0 siblings, 0 replies; 6+ messages in thread From: Hans Hagen @ 2016-03-11 19:56 UTC (permalink / raw) To: mailing list for ConTeXt users On 3/11/2016 8:03 PM, Nicola wrote: > On 2016-03-10 21:00:21 +0000, Nicola said: > >> I'm looking for a symbol similar to \lozenge, but squarer […] >> Any idea how I may typeset it in ConTeXt (MKIV)? > > Unless I am overlooking something, there is no such symbol in > TeX Gyre Pagella Math, so maybe this is not possible. > >> 2) The list shows a Unicode point for each symbol, but not the >> corresponding TeX command (if it exists). > > Ok, this is not correct: the command is there, for symbols that > have one. But how do I use symbols with no associated TeX command? \utfchar{number} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Diamond, and Unicode math symbols 2016-03-10 21:00 Diamond, and Unicode math symbols Nicola 2016-03-11 19:03 ` Nicola @ 2016-03-11 20:18 ` Mikael P. Sundqvist 2016-03-11 20:57 ` Hans Hagen 1 sibling, 1 reply; 6+ messages in thread From: Mikael P. Sundqvist @ 2016-03-11 20:18 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Diamond, and Unicode math symbols 2016-03-11 20:18 ` Mikael P. Sundqvist @ 2016-03-11 20:57 ` Hans Hagen 2016-03-12 9:13 ` Nicola 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 2016-03-11 20:57 UTC (permalink / raw) To: mailing list for ConTeXt users On 3/11/2016 9:18 PM, Mikael P. Sundqvist wrote: > 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. there are s-math-*.mkiv files that can generate all kind of lists you can run s-mkiv-repertoire.mkiv to get a comparison (at the end of the file you can see how) % list here (some 8 fonts) that you have on your system: \showmathcharacterssetbodyfonts{lucidaot,cambria,xits,modern,pagella,termes,bonum,schola,dejavu} \starttext \setupbodyfont[pagella, 12pt] \showmathfontrepertoire \stoptext you can click around (on a decent high res screen) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Diamond, and Unicode math symbols 2016-03-11 20:57 ` Hans Hagen @ 2016-03-12 9:13 ` Nicola 0 siblings, 0 replies; 6+ messages in thread From: Nicola @ 2016-03-12 9:13 UTC (permalink / raw) To: ntg-context On 2016-03-11 20:57:28 +0000, Hans Hagen said: > On 3/11/2016 9:18 PM, Mikael P. Sundqvist wrote: >> >> 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. > > there are s-math-*.mkiv files that can generate all kind of lists > > you can run s-mkiv-repertoire.mkiv to get a comparison (at the end of > the file you can see how) > > % list here (some 8 fonts) that you have on your system: > > \showmathcharacterssetbodyfonts{lucidaot,cambria,xits,modern,pagella,termes,bonum,schola,dejavu} > > > \starttext > > \setupbodyfont[pagella, 12pt] > > \showmathfontrepertoire > > \stoptext > > you can click around (on a decent high res screen) Hans, Mikael, thanks for your suggestions, all of them valuable. Borrowing the symbol from Xits is a fine solution. The comparison tables come in very handy, too. Thanks again, 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-03-12 9:13 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-03-10 21:00 Diamond, and Unicode math symbols Nicola 2016-03-11 19:03 ` Nicola 2016-03-11 19:56 ` Hans Hagen 2016-03-11 20:18 ` Mikael P. Sundqvist 2016-03-11 20:57 ` Hans Hagen 2016-03-12 9:13 ` Nicola
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).