
分数内の平方根記号に問題があります。このコード
\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}
これを返す
さて、それは私だけでしょうか、それとも平方根の水平線がその下の数字とその上の分数線の両方に非常に近いのでしょうか?
これはちょっと不器用だと思います。
解決策はあるのでしょうか?それともこれはただの私の妄想でしょうか?:P
どうもありがとうございます。
答え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}