LoginSignup
2
2

More than 5 years have passed since last update.

Jupyter-notebookからtex, pdfを作成するための覚え書き(仮)

Last updated at Posted at 2018-06-16

latexの日本語対応環境の構築

下記ページをそのまま実施。(使用OS:macOS Sierra)
MacTeX 2018 のインストール&日本語環境構築法

latex, pdfへの変換

下記ページを参考に実施。
jupyter notebookをTex,PDFへと変換

ターミナルで下記コマンドを実行しhoge.texを作成する。
jupyter-nbconvert --to latex hoge.ipynb
jupyter-nbconvert --to latex --output-dir ./. hoge.ipynb
次にtexにコンパイルを行い、hoge.pdfを作成する
platex hoge.tex
dvipdfmx hoge.dvi

latex編集

数式の書き方は以下のサイトを参考にする。
LaTeXコマンド集

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2