comment

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

関連記事

no image

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

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

no image

tex で、ダミーテキストを入力する方法

blindtext パッケージを使って、\blindtext で入力するとダミーテキストが入力できる。 \blindmathpaper で、ダミー数式が入ったダミーテキストを入力することができる。 例 …

no image

tex の表で、複数行を1行内に入れる方法

multirow パッケージを使っておき、表内で multirow で入力する。 例 \usepackage{multirow} \begin{document} \begin{table} \beg …

no image

matplotlib で複数のグラフを並べて表示する方法

plot.subplots() でグラフの縦方向と横方向の数を指定する。 例 import numpy as np from matplotlib import pyplot as plt x1 = …

no image

std::vector で、vector の始まりに要素を挿入する

vector に要素を追加するために、emplace を使うことができる。 emplace_back は、vector の末尾に要素を追加する。 例 #include <iostream> #i …