comment

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

関連記事

no image

tex で分母と分子の間の距離を調整する

tex で、ページ全体の体裁をそのままにして 分母と分子の間の距離を広げたり狭めたりするには、\raisebox を使う。 例 通常$$ a=\frac{\raisebox{0ex}[0ex][0ex …

no image

matplotlib で、グラフ内に注釈ラベルをつける方法

annotate を使う 例 import numpy as np import matplotlib.pyplot as plt ax = plt.figure().add_subplot() th …

no image

tex で無限の記号を入力する

「無限大」を表す記号を入力するには、\inftyを使う。 例 $$\infty , -infty$$ 結果

no image

python3 で数字をゼロ埋めして表示する

string の、zfill を使う。 例 n = 3 n0 = str(n).zfill(10) print(n0) 結果 0000000003

no image

tex の分数のシグマ記号(和)がつぶれないようにする

分子・分母にシグマ記号(和記号)を使うと、小さくつぶれて見にくいことがある。対策として、\displaystyle を使う。 例 $\frac{\displaystyle \sum_{i=1}^{\i …