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
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
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
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster