未分類

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

python3 で特定のデータが含まれる行を削除する

data.txt からの入力から、「4 5 6」というデータがある行を削除して、output.txt に出力する。(データの各行の最後に \n があることに注意。) 例 f = open(‘data. …

no image

tex で文字列を変数として設定する方法

\newcommand を使って指定する。入力の数は自由に指定できる。 例 \newcommand{\variable}[2]{Hello #1. Good #2.} \variable{Taro}{ …

no image

tex で行に色をつける方法

xcolor パッケージを使っておく。rowcolor で指定する。 例 \usepackage[table]{xcolor} \begin{document} \begin{table} \begi …

no image

tex で frac の意味

tex で frac コマンドは、分数(fraction)を表示するために使う。「バックスラッシュを付けた」 \frac であることに注意。 例 $\frac{2}{3}$ 結果

no image

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

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