Last active
August 8, 2018 01:31
-
-
Save masa-ita/1a2846986ffbb8c938e2a3d0840a5f57 to your computer and use it in GitHub Desktop.
日本語のJupyter NotebookをPDFとしてダウンロードする ref: https://qiita.com/masa-ita/items/8d5ebe8afe0d580af184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((= Latex base template (must inherit) | |
This template builds upon the abstract template, adding common latex output | |
functions. Figures, data_text, | |
This template does not define a docclass, the inheriting class must define this.=)) | |
((*- extends 'document_contents.tplx' -*)) | |
%=============================================================================== | |
% Abstract overrides | |
%=============================================================================== | |
((* block header *)) | |
((* block docclass *))((* endblock docclass *)) | |
((* block packages *)) | |
\usepackage[T1]{fontenc} | |
\usepackage{jalinebreak} | |
\setlength{\parindent}{0in} | |
...(以下略) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo texhash | |
kpsewhich jalinebreak.sty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\XeTeXlinebreaklocale "ja" | |
\XeTeXlinebreakskip=0pt plus 1pt | |
\XeTeXlinebreakpenalty=0 | |
\def\<{\@ifstar{\zx@hwback\nobreak}{\zx@hwback\relax}} | |
\def\zx@hwback#1{\leavevmode#1\hskip-.5em\relax} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment