未分類

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

python3 で、ある文字列で始まるかどうか判定する方法

文章が、ある文字列で始まるかどうかを判定するには startswith を使う。 例 str = “こんにちは。” print(str.startswith(‘こん’)) print(str.star …

no image

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

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

no image

python3 で文字列のリストを結合して1つの文字列にする方法

リストに対して、join メソッドを実行する。 例 list1 = [‘hello, ‘,’good ‘, ‘morning’] str1 = ”.join(list1) print(str1) 結 …

no image

tex で数式モード内に普通の文字列を入力する方法

\textrm を使う。 例 $$y = f (x) \hspace{1cm} \textrm{This is a function.}$$ 結果

no image

python3 でカンマの入った数値の文字列を数値に変換する方法

replace と int 変換を組み合わせる。 例 str1 = ‘1,234,567’ int1 = int(str1.replace(‘,’,”)) print(int1) 結果 123456 …