comment

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

関連記事

no image

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

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

no image

tex で大括弧を表示する

大括弧を表示するには、\left[ または \right] を使う。 例 $\left[ \left( \frac{x}{y} \right) \right]$ 結果 片方だけの大括弧 片方だけのカッ …

no image

std::map の内容が空かどうか判定する方法

map の中身が空であるかどうかには、empty() を使う。 map の要素を消去するには、erase を使う。 例 #include <iostream> #include <map> …

no image

tex でマイクロメートル(μm)を入力する方法

tex でマイクロメートル(μm)を表示する方法。(数式モード外での書き方。) 例 20 {\textmu}m 結果 レッドブル シュガーフリー 250ml×24本  全国送料無料(沖縄、離島は要別途 …

no image

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

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