2018-05-25から1日間の記事一覧

TeX Live で LuaJITLaTeX を使う (Windows)

毎回忘れるのでメモ. kpsewhich fmtutil.cnf で fmtutil.cnf の path を探す。 fmtutil.cnf をエディタで開き、luajitlatex を検索。該当行の行頭は #! でコメントアウトされているので、これを消して行を有効にする。 fmtutil-sys --byfmt luajitlatex を…

gnuplot で周期関数を描く

周期を として とすればよい. gnuplot> T = 2 gnuplot> plot [-2:2] (2/pi)*atan(tan(pi*x/T)) title "f(x)" gnuplot> replot ((2/pi)*atan(tan(pi*x/T)))**2 title "g(x)"