comment

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

関連記事

no image

C言語で文字をアルファベット順にずらす

C言語で文字をずらすには、char 型の変数に1を加えればよい。 例 #include <stdio.h> int main(void) { char c; c = ‘a’; c++; p …

no image

matplotlib で x軸・y軸ラベルをつける

plt.xlabel と plt.ylabel を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, …

no image

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

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

no image

tex で行内を結合する方法

\multicolumn を使って、結合する行の成分の数を指定することができる。次の例では「3」を指定して、結合している。 例 \begin{table} \begin{tabular}{ |c|c| …

no image

less で文字列を検索する方法:スラッシュ

less some.txt で、ファイルの内容を表示する。 ファイル内 文字列検索 ここで、キーボードの / を押し、検索文字列を入力→ enter ボタンを押す これで、ファイルの内容を検索できる。