comment

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

関連記事

no image

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

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

no image

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

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

no image

python3 で、ファイルの文字列の1行目を出力する

ファイルを読み込んで、1行目だけをコンソールに出力するには readlines() を使う。 例 f = open(“data.txt”) lines = f.readlines() print(li …

no image

tex で同値記号(⇔)を入力する方法

同値記号を入力するには、\Leftrightarrow を使う。 例 $b \leftrightarrow c$, $b \Leftrightarrow c$

no image

tex の equation で式番号を表示しないようにする方法

\nonumber を使うと式番号を表示しないようにできる。 例 \usepackage{amsmath} \begin{document} \begin{equation} \nonumber y …