如何讓這個分數平衡?

如何讓這個分數平衡?

我想平衡這個分數 \frac{2.5^{13.6}}{100} \sim 2700。如果不進行任何修改,分子 2.5 會向左走得太遠,平衡點是分子和指數的組合。

在此輸入影像描述

我嘗試了給出的方法這裡使用mathtools,但在這種情況下指數會超過 sim 符號。如何實現分子和分母之間的平衡,並使指數整齊地出現(而不是在 上方\sim)?

附MWE。

\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}


\begin{document}

\begin{equation*}%
\frac{2.5^{13.6}}{100} \sim 2600
\end{equation*}

\begin{equation*}%
\frac{2.5\mathrlap{^{13.6}}}{100} \sim 2600
\end{equation*}
\end{document}

答案1

首先,分子是 2.5 13.6,而零件具有較大尺寸字形的事實是符號的意外(已經建立了幾個世紀)。您不會問該數字是否必須表示為 exp(13.6; 2.5)。

排版平衡應始終考慮到不妨礙可讀性並保持意義

\documentclass{article}
\usepackage{mathtools}

\begin{document}

The standard way to print the statement
\[
\frac{2.5^{13.6}}{100}\sim 2600
\]

The nonstandard way
\[
\settowidth{\dimen0}{$2.5$}
\settowidth{\dimen2}{$100$}
\settowidth{\dimen4}{$^{13.6}$}
\setlength{\dimen0}{\dimeval{\dimen4-(\dimen2-\dimen0)/2}}
\frac{2.5^{\mathrlap{13.6}}}{100}\hspace{\dimen0}\sim 2600
\]

\end{document}

在此輸入影像描述

非標準方式看起來像是您想要列印的方式,但它是

  1. 反對幾個世紀以來生效的既定公約;
  2. 不明確,因為指數可能被認為是指整個分數 2.5/100。

相關內容