I am using XeTeX and need a text above the \mapsto arrow. So I googled for it and found the command for it. But unfortunately, this comes out:
So here's the code:
\documentclass[a4paper,10pt]{scrartcl}
\usepackage{unicode-math}
\usepackage[leqno]{mathtools}
\begin{document}
\begin{align*}
F:\;\mathbb{K}^n \xmapsto{A} \mathbb{K}^m
\end{align*}
\end{document}
fontenc
with XeTeX or LuaTeX. (That does not solve your issue here, but you should still not do loadfontenc
.) – moewe Jul 7 '18 at 13:43times
andlmodern
packages? – Mico Jul 7 '18 at 13:51unicode-math
afteramssymb
and other math-related packages (tex.stackexchange.com/q/434645/35864). You should definitely consider following the advice you get in answers. – moewe Jul 7 '18 at 14:26