comment

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

関連記事

no image

tex で、ダミーテキストを入力する方法

blindtext パッケージを使って、\blindtext で入力するとダミーテキストが入力できる。 \blindmathpaper で、ダミー数式が入ったダミーテキストを入力することができる。 例 …

no image

ruby で mysql2 のインストールのときに ld: library not found for -lssl エラーが出る場合の対処法。

ruby on rails アプリを動かしているときに起きた問題。 ruby で bundle install しようとすると、 ld: library not found for -lssl を含む …

no image

matplotlib で、矢印を描く方法

arrowprops のパラメータは次を参考にして設定できる。 https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyAr …

no image

python3 でカンマの入った数値の文字列を数値に変換する方法

replace と int 変換を組み合わせる。 例 str1 = ‘1,234,567’ int1 = int(str1.replace(‘,’,”)) print(int1) 結果 123456 …

no image

tex で分母と分子の間の距離を調整する

tex で、ページ全体の体裁をそのままにして 分母と分子の間の距離を広げたり狭めたりするには、\raisebox を使う。 例 通常$$ a=\frac{\raisebox{0ex}[0ex][0ex …