分数空間における平方根の問題

分数空間における平方根の問題

分数内の平方根記号に問題があります。このコード

\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}

ここに画像の説明を入力してください

関連情報