有没有推荐的方法来排版句子中的分数(在括号中)?

有没有推荐的方法来排版句子中的分数(在括号中)?

在这两种情况下,添加了内括号以避免歧义。我想知道除了完全删除外括号之外,还有没有其他选择?

...some quantity defined by a quotient ($y / (\Delta y)$) in this case...

...some fractional value (e.g. $z = 1 / (2 x)$)...

答案1

以下是一些选项:

\documentclass{article}

\usepackage{lmodern}
\usepackage{amsmath}

\begin{document}

\section{Original version}
\par\emph{Slightly modified.}
\par\dots{} some quantity defined by a quotient ($y / \Delta y$) in this case \dots
\par\dots{} some fractional value (e.\,g., $z = 1 / (2\,x)$) \dots

\section{Replacing the outer pair of parentheses}
\par\emph{Might be a good option.}
\par\dots{} some quantity defined by \emph{the} quotient $y / \Delta y$ in this case \dots
\par\dots{} some fractional value, e.\,g., $z = 1 / (2\,x)$, \dots

\section{Using a negative exponent}
\par\emph{Seems even better.}
\par\dots{} some quantity defined by a quotient ($y \cdot \Delta y^{-1})$ in this case \dots
\par\dots{} some fractional value (e.\,g., $z = (2\,x)^{-1}$), \dots

\section{Using a text fraction}
\par\emph{Not recommended because it increases the line spread.}
\par\dots{} some quantity defined by a quotient \big($\tfrac{y}{\Delta y}$\big) in this case \dots
\par\dots{} some fractional value \big(e.\,g., $z = \tfrac{1}{2\,x}$\big), \dots

\section{Using display math style}
\par\emph{May put too much emphasis on the formulae to be embedded.}
\par\dots{} some quantity defined by a quotient 
\begin{equation*}
\frac{y}{\Delta y}
\end{equation*}
in this case \dots
\par\dots{} some fractional value, e.\,g., 
\begin{equation*}
z = \frac{1}{2\,x}\,, 
\end{equation*}
\dots

\end{document}

MWE 的输出

相关内容