未分類

tex で分数がつぶれないようにする

投稿日:2020年11月6日 更新日:

tex で、複数行を書いたときに分数がつぶれないようにする。

displaystyle を使う。

first $\frac{1}{1+\sqrt{x}+\sqrt{y}}$

のかわりに、

second $\displaystyle \frac{1}{1+\sqrt{2}+\sqrt{3}}$

とする。

結果

上の段は分数がつぶれているが、下の段は分数がつぶれない。

[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

ルパン三世 1【電子書籍】[ モンキー・パンチ ]
価格:660円(税別、送料別)(2020/12/27時点)

楽天で購入

-未分類

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

matplotlib で x軸・y軸ラベルをつける

plt.xlabel と plt.ylabel を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, …

no image

matplotlib で縦横の罫線を出力する

罫線を出力するには、pyplot.grid を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 2 …

no image

tex で⇔記号の上に文字を表示する方法

\underset を使って表示することができる。amsmath パッケージを使う。 例 \usepackage{amsmath} \begin{document} $\underset{\Leftr …

no image

tex 表の一部の列のみを中央揃えにする

中央揃えにしたい列を、c で指定すればよい。その他は l (左)または r (右)揃えに指定する 例 \begin{table} \begin{tabular}{ |r|c|r|} \hline Ta …

no image

python3 で、文字列が別の文字列に含まれているかどうか判定する方法

in 演算子を使うことが最も簡単。 例 str1 = “こんにちは” str2 = “んにち” if str2 in str1:  print(“含まれています”) else:  print(“含まれ …