粘性減衰係数の組版

粘性減衰係数の組版

減衰係数(力/速度)を次のようにタイプセットしたい

c = 100 N/(m/s)

または

               -1
c = 100 N (m/s)

LaTeX とsiunitxパッケージを使用していますが、私が望むようなグループ化が可能かどうかはわかりません。

私たちを手伝ってくれますか?

答え1

\documentclass[12pt]{article}
\usepackage{siunitx}
% \usepackage{amsmath}

\begin{document}

First method, from @Sebastiano:
\begin{verbatim}
$c=100\, \unit{N \per(\meter\per\second)}$ or $c=\,100 \unit{N (m\per s)^{-1}}$
\end{verbatim}

$c=100\, \unit{N \per(\meter\per\second)}$ or $c=\,100 \unit{N (m\per s)^{-1}}$

\vspace{1ex}
Same, but with the thin space separating the number from the units in the second case corrected:

\begin{verbatim}
$c=100\, \unit{N \per(\meter\per\second)}$ or $c=100 \, \unit{N (m\per s)^{-1}}$
\end{verbatim}

$c=100\, \unit{N \per(\meter\per\second)}$ or $c=100 \, \unit{N (m\per s)^{-1}}$

\vspace{1ex}
Another approach which uses a fractional form.  This wasn't requested by the original poster, but I personally find it more readable:
\begin{verbatim}
$c = \qty{100}{\frac{N}{m/s}}$
\end{verbatim}

$c = \qty{100}{\frac{N}{m/s}}$

\end{document}

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

答え2

こんな感じですか?

\documentclass[12pt]{article}
\usepackage{siunitx}

\begin{document}
$c=100\, \unit{N \per(\meter\per\second)}$ or $c=\,100 \unit{N (m\per s)^{-1}}$
\end{document}

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

関連情報