
Ich möchte \check
das Symbol neu skalieren, aber nicht für das ganze Dokument. Beispiel:
\documentclass{article}
\usepackage{mathtools}
\usepackage{asana-math}
\begin{document}
this is a normal \check symbol $\check{u}$, but in $\check{U}$
I want the check symbol to be larger
\end{document}
Antwort1
Das mathabx
Paket stellt ein \widecheck
Makro bereit.
Da ich das Paket nicht auf meinem System habe asana-math
, verwendet das folgende Beispiel LuaLaTeX und das unicode-math
Paket, um es Asana Math
als OpenType-Mathematikschriftart anzugeben.
\documentclass{article}
\usepackage{mathabx} % for '\widecheck' macro
\usepackage{unicode-math}
\setmathfont[Scale=MatchLowercase]{Asana Math}
\begin{document}
$\check{u}$ $\widecheck{U}$
\end{document}
Antwort2
Seltsamerweise unicode-math
ist dies nicht definiert \widecheck
. Sie können es selbst tun.
\documentclass{article}
\usepackage{mathtools}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Pagella}
\setmathfont{Asana Math}
\def\removefixed#1fixed #2\removefixed#3{%
\protected\def#3{#1 #2}%
}
\AtBeginDocument{\expandafter\removefixed\check\removefixed\widecheck}
\begin{document}
this is a normal \verb|\check| symbol $\check{u}$, but in $\widecheck{U}$
I want the check symbol to be larger
\end{document}