未分類

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 で行列の省略した部分を書く方法

斜めの点列を \ddots として書くのがコツ。\matrix を使うためにパッケージ amsmath を使う。 例 \usepackage{amsmath} \begin{document} $$ …

no image

python で文字列の長さを表示する方法

len を使う。 例 length = len(‘文字列あいうえお’) print(str(length)) 結果 8

no image

python3 で、文字列の最後が特定の文字で終わるか判定する方法

endswith を使う。 例 str1 = “こんにちは” result1 = str1.endswith(“は”) result2 = str1.endswith(“わ”) print(resul …

no image

tex で三角形の合同記号を入力する

\equiv を使う。 例 $\triangle{ABC} \equiv \triangle{DEF}$ 結果

no image

c言語で文字をつなげる方法

sprintf 関数を使って、result 変数に文字列 s1 と文字列 s2 を結合した文字列を出力することができる。 例 #include<stdio.h> int main(void) { …