comment

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

関連記事

no image

tex でパーセント記号のフォントを変更する方法

tex で、パーセント記号の一部がくっついて表示される場合、パーセント記号の部分だけ別のフォントで表示するという解決法がある。 例 \DeclareRobustCommand{\percent}{{\ …

no image

python3 で文字列を区切り文字を指定してリストに変換する方法

split メソッドを使う。 例 str1 = ‘this, is, a, pen’ str2 = str1.split(‘,’) print(str2) 結果 [‘this’, ‘ is’, ‘ a …

no image

tex で脚注を表示する方法

\footnote を使う。 例 \footnote{this is a footnote.} 結果

no image

vi, vim で行番号を指定して移動する方法

「行番号の数字を入力」→「G」(=shift+g)キーを押す で移動できる。 詳細:https://vim.jp.net/stepuptonovice_movecursor_linenumber.ht …

no image

tex で表の縦横軸を調整する方法

例 \begin{center} \begin{table}[] \begin{tabular}{|c|c|c|c|} \hline 氏名 & 生年 & 没年 & 著書 …