未分類

tex の積分範囲の分数サイズを変更する方法

投稿日:

定積分の分数の大きさを調整するには、\mbox のサイズ指定を \small や \normalsize や \large 等に設定すると良い。

$\displaystyle \int _0 ^{\small\mbox{$\frac{1}{2}$}} f(x)dx$
$\displaystyle \int _0 ^{\normalsize\mbox{$\frac{1}{2}$}} f(x)dx$
$\displaystyle \int _0 ^{\large\mbox{$\frac{1}{2}$}} f(x)dx$

結果

-未分類

執筆者:


comment

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

関連記事

no image

tex で「デルタ」δ・Δ を入力する方法

小文字のデルタ:δ大文字のデルタ:Δ 例 $\delta, \Delta$ 結果

no image

c++ で文字列をファイルに保存する方法

result.txt というファイルに “data1 data2 data3” という内容を保存する。ofstream を使って書き出す。 例 #include<iost …

no image

c++ で文字列を「区切り文字」を使って分ける方法

string の find を使って、区切り文字の場所を取得し、その位置で区切る。 例 #include <iostream> #include <string> using namesp …

no image

tex でかけ算の記号 x (✕)を表示する

かけ算記号を表示するには、$\times$ を使う。 例 $2 \times 3$ 結果

no image

matplotlib で x, y軸・タイトルのフォントサイズを調整する

ラベルの fontsize で指定する。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 2, 100) …