
シンボルのサイズを変更したいのです\check
が、文書全体は変更しません。例えば、
\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}
答え1
パッケージはマクロをmathabx
提供します\widecheck
。
私のシステムにはパッケージがないのでasana-math
、次の例では LuaLaTeX とパッケージを使用してOpenType 数学フォントとしてunicode-math
指定します。Asana Math
\documentclass{article}
\usepackage{mathabx} % for '\widecheck' macro
\usepackage{unicode-math}
\setmathfont[Scale=MatchLowercase]{Asana Math}
\begin{document}
$\check{u}$ $\widecheck{U}$
\end{document}
答え2
不思議なことに、unicode-math
定義されていません\widecheck
。自分で行うことができます。
\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}