comment

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

関連記事

no image

tex でセクションの記号(§)を入力する

セクション記号「§」は、\S で入力できる。 例 \S 1.2.3 を参照 結果 美味しんぼ(39)【電子書籍】[ 雁屋哲 ]価格:605円(税別、送料別)(2020/12/26時点)楽天で購入

no image

std::vector で、vector の要素を erase() で消去する

任意の要素を指定して、 養素を消去することができる。 例 #include <iostream> #include <vector> int main() { std::vector&lt …

no image

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

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

no image

tex で、表のキャプション内で改行する方法

\newline を使って次のように書く。 例 \begin{table} \begin{tabular}{ |c|c|c|c| } \hline 1 & 2 & 3 \\ \hlin …

no image

python3 で、指定した文字が最後に現れる場所を取得する

rfind を使うと、指定した文字が最後に現れる場所(インデックス)を取得することができる。 例 str1 = “12345abab” result = str1.rfind(“ab”) print( …