
분수 내의 제곱근 기호에 문제가 있습니다. 이 코드
\documentclass{book}
\begin{document}
\begin{equation}
h_4 = \frac{\sqrt{1.5 \gamma_4 -3.5}-1}{18}
\end{equation}
\begin{equation}
h_3 = \frac{\gamma_3}{4+ \sqrt{6\gamma_4-14}}
\end{equation}
\end{document}
이것을 반환합니다
자, 나만 그런 걸까요, 아니면 제곱근의 수평선이 그 아래의 숫자와 그 위의 분수선에 정말 가깝나요?
나는 이것이 조금 어색하다고 생각합니다.
해결책이 있나요? 아니면 그냥 내 편집증인가요? :피
매우 감사합니다
답변1
너무 크지 않으면 \strut
해결책이 될 수 있습니다(비교를 위해 남겨진 원본). Mico의 제안에 따르면, \mathstrut
그들 사이에 가치를 부여합니다. 예를 들어 를 사용하여 수직 간격을 예상된 값으로 정확하게 조정할 수도 있습니다 \rule
.
\documentclass{book}
\newcommand\uprule{\rule{0mm}{1.9ex}} %shortcut macro
\begin{document}
\begin{equation}
h_4 = \frac{\sqrt{1.5 \gamma_4 -3.5}-1}{18}
\end{equation}
\begin{equation}
h_3 = \frac{\gamma_3}{4+ \sqrt{6\gamma_4-14}}
\end{equation}
strut
\begin{equation}
h_4 = \frac{\sqrt{\strut1.5 \gamma_4 -3.5}-1}{18}
\end{equation}
\begin{equation}
h_3 = \frac{\gamma_3}{4+ \sqrt{\strut6\gamma_4-14}}
\end{equation}
mathstrut
\begin{equation}
h_4 = \frac{\sqrt{\mathstrut1.5 \gamma_4 -3.5}-1}{18}
\end{equation}
\begin{equation}
h_3 = \frac{\gamma_3}{4+ \sqrt{\mathstrut6\gamma_4-14}}
\end{equation}
rule
\begin{equation}
h_4 = \frac{\sqrt{\uprule1.5 \gamma_4 -3.5}-1}{18}
\end{equation}
\begin{equation}
h_3 = \frac{\gamma_3}{4+ \sqrt{\uprule 6\gamma_4-14}}
\end{equation}
\end{document}
답변2
\mathstrut
제곱근 기호의 크기가 커지면 증가합니다 . 이러한 경우 디센더를 마스킹하는 것이 아마도 가장 좋은 방법일 것입니다.
\documentclass{book}
\usepackage{amsmath}
\begin{document}
\begin{align}
h_4 &= \frac{\sqrt{1.5 \smash[b]{\gamma^{}_4} -3.5}-1}{18}
\\[1ex]
h_3 &= \frac{\gamma_3}{4+ \sqrt{6\smash[b]{\gamma^{}_4}-14}}
\end{align}
\end{document}
다음도 마찬가지입니다 \mathstrut
.
\begin{align}
h_4 &= \frac{\sqrt{\mathstrut 1.5 \gamma^{}_4 -3.5}-1}{18}
\\[1ex]
h_3 &= \frac{\gamma_3}{4+ \sqrt{\mathstrut 6 \gamma^{}_4-14}}
\end{align}