`\check` 기호 크기 조정

`\check` 기호 크기 조정

전체 문서에 대한 기호 크기 를 조정하고 싶지만 \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}

여기에 이미지 설명을 입력하세요

관련 정보