* math with Unicode characters @ 2016-02-28 23:27 Pablo Rodriguez 2016-02-29 14:21 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Pablo Rodriguez @ 2016-02-28 23:27 UTC (permalink / raw) To: mailing list for ConTeXt users Dear list, I have the following sample: \definefallbackfamily[mainface][rm][TeX Gyre Pagella][range={⋀}] \definefontfamily[mainface][rm][EB Garamond] \starttext ⋀ \stoptext Is there any way to have the Unicode character on the final PDF document without having to edit the text? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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] 3+ messages in thread
* Re: math with Unicode characters 2016-02-28 23:27 math with Unicode characters Pablo Rodriguez @ 2016-02-29 14:21 ` Wolfgang Schuster 2016-02-29 20:16 ` Pablo Rodriguez 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2016-02-29 14:21 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 830 bytes --] > Pablo Rodriguez <mailto:oinos@gmx.es> > 29. Februar 2016 um 00:27 > Dear list, > > I have the following sample: > > \definefallbackfamily[mainface][rm][TeX Gyre Pagella][range={⋀}] > \definefontfamily[mainface][rm][EB Garamond] > \starttext > ⋀ > \stoptext > > Is there any way to have the Unicode character on the final PDF document > without having to edit the text? You have to switch to math mode to show the symbol \starttext $⋀$ \stoptext or use a math font as fallback to show the symbol in text mode. \definefallbackfamily[mainface][rm][TeX Gyre Pagella Math][range=0x22C0] %\definefontfamily[mainface][rm][EB Garamond] \definefontfamily[mainface][rm][Latin Modern Roman] \setupbodyfont[mainface] \starttext ⋀ \stoptext BTW: Use default fonts in your examples. Wolfgang [-- Attachment #1.2: Type: text/html, Size: 1906 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: math with Unicode characters 2016-02-29 14:21 ` Wolfgang Schuster @ 2016-02-29 20:16 ` Pablo Rodriguez 0 siblings, 0 replies; 3+ messages in thread From: Pablo Rodriguez @ 2016-02-29 20:16 UTC (permalink / raw) To: mailing list for ConTeXt users On 02/29/2016 03:21 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 29. Februar 2016 um 00:27 >> [...] >> Is there any way to have the Unicode character on the final PDF document >> without having to edit the text? > > You have to switch to math mode to show the symbol > [...] > or use a math font as fallback to show the symbol in text mode. > > \definefallbackfamily[mainface][rm][TeX Gyre Pagella Math][range=0x22C0] > %\definefontfamily[mainface][rm][EB Garamond] > \definefontfamily[mainface][rm][Latin Modern Roman] Many thanks for your reply, Wolfgang. It works perfect now. > BTW: Use default fonts in your examples. Sorry, I simply forgot. Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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] 3+ messages in thread
end of thread, other threads:[~2016-02-29 20:16 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-02-28 23:27 math with Unicode characters Pablo Rodriguez 2016-02-29 14:21 ` Wolfgang Schuster 2016-02-29 20:16 ` Pablo Rodriguez
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).