Divide and Conquer

[Jupyter] notebook latex template 만들기 본문

성장캐/기타

[Jupyter] notebook latex template 만들기

10살 2022. 5. 13. 16:56
728x90

.jupyter 폴더에 oblivoir.tplx 파일 생성

% Default to the notebook output style
((* if not cell_style is defined *))
    ((* set cell_style = 'style_ipython.tplx' *))
((* endif *))
% Inherit from the specified cell style.
((* extends cell_style *))
%===============================================================================
% Latex Article
%===============================================================================
((* block docclass *))
\documentclass[11pt]{oblivoir}
\input glyphtounicode\pdfgentounicode=1
\usepackage{dhucs}
\SetHangulFonts{utbt}{utgt}{utgt}
((* endblock docclass *))

jupyter nbconvert 테스트.ipynb --to pdf --template =oblivoir.tplx

반응형
Comments