comment

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

関連記事

no image

c++ で std::vector を宣言時に初期化する方法

std::vector を宣言時に初期化することができる。 コンパイル時に、–std=c++11 のオプションを指定する。 例 #include <iostream> #includ …

no image

tex でアンダーライン(下線)に色をつける方法

テキストの下線に色を付けたい場合には、color, soul パッケージを使用する。 そして、下線をつけたいテキストを\ul で囲む。 例 \usepackage{color, soul} \begi …

no image

matplotlib で、凡例を表示する位置を変更する方法

凡例(legend)の表示位置を変更するには、axis の legend の loc を設定する。 次のリンクhttps://matplotlib.org/stable/api/_as_gen/mat …

no image

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

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

no image

tex で累乗根を入力する方法

$\sqrt[n]{2}$のようにする。 例 $\sqrt[n]{2}$ 結果