Skip to content

Commit a829c6c

Browse files
authored
Merge pull request bayesways#3 from mkcor/convert-ipynb-pdf
Convert Jupyter notebook to PDF.
2 parents a9aba82 + 96f16f4 commit a829c6c

File tree

3 files changed

+99
-185
lines changed

3 files changed

+99
-185
lines changed

rosi_py/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,26 @@ Remove:
1515

1616
$ conda remove -n rosi_py --all
1717

18-
If you are running GNU/Linux, please see [spec-file.txt](./spec-file.txt).
18+
## Exports
19+
20+
Export Jupyter notebook to LaTeX format:
21+
22+
$ jupyter nbconvert --to latex rosi_py.ipynb
23+
24+
Apply the following patch:
25+
26+
--- rosi_py.tex
27+
+++ rosi_py.tex
28+
@@ -141,8 +141,9 @@
29+
\def\gt{>}
30+
\def\lt{<}
31+
% Document parameters
32+
- \title{rosi\_py}
33+
-
34+
+ \title{Assessing the Safety of Rosiglitazone\\
35+
+ for the Treatment of Type 2 Diabetes}
36+
+ \author{Konstantinos Vamvourellis}
37+
38+
Generate PDF export:
39+
40+
$ pdflatex rosi_py.tex

rosi_py/rosi_py.pdf

-2.54 KB
Binary file not shown.

0 commit comments

Comments
 (0)