Neuskalierung des Symbols `\check`

Neuskalierung des Symbols `\check`

Ich möchte \checkdas 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 mathabxPaket stellt ein \widecheckMakro bereit.

Da ich das Paket nicht auf meinem System habe asana-math, verwendet das folgende Beispiel LuaLaTeX und das unicode-mathPaket, um es Asana Mathals OpenType-Mathematikschriftart anzugeben.

Bildbeschreibung hier eingeben

\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-mathist 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}

Bildbeschreibung hier eingeben

verwandte Informationen