
我想重新調整\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 和該unicode-math
軟體包指定Asana Math
為 OpenType 數學字體。
\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}