I followed this answer to use the Neo Euler font in math mode. I found that the dagger symbol (†) is missing in Euler. Is there a way to use the dagger symbol from the text mode font in math mode?
Here’s a minimal example:
\usetypescriptfile[euler]
\definetypeface[mainface][rm][serif][palatino] [default]
\definetypeface[mainface][ss][sans] [helvetica] [default] [rscale=auto]
\definetypeface[mainface][mm][math] [pagellaovereuler] [default] [rscale=auto]
\setupbodyfont[mainface,12pt]
\appendtoks \rm \to \everymathematics
\setupmathematics
[lcgreek=normal, ucgreek=normal, integral=nolimits]
\starttext
Dagger in text mode: †
Math mode: $†$ ${\rm †}$ % Both don’t work.
\stoptext
And rendered result:
My ConTeXt version is “current version: 2015.04.15 01:44”.
What I want is to at least make ${\rm †}$
work.
UPDATE: In comment, @Thruston mentioned that $\hbox{†}$
works. The problem is then I only use dagger for superscript, and $x^{\hbox{†}}$
will not shrink the size of dagger like usual superscript would do. So for now my workaround is
\define\dagger{\hbox{\tfx †}}
I’ve used \dagger
instead of the unicode character in all my previous documents, so this would work (at least in documents without nestied superscripts involving daggers) if I ever want to recompile my existing documents.
UPDATE2: Well…
Turns out I can just $x^{\text{†}}$
, not sure how I managed to forget that.
$\hbox{†}$
acceptable? Seems to work at my end.$x^{\hbox{†}}$
, the dagger won’t shrink as a normal superscript would. Any idea how to fix this?\usepackage{scalerel} \def\sdagger{\ThisStyle{\scalerel*{\hbox{$\SavedStyle \dagger$}}{f}}}