Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter integration #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ and you will get all the files you need. They are all stripped out from
coppe.dtx. Now, you should follow the instructions in the 'From releases'
section.

## Jupyter integration

To include Jupyter notebooks in your document, you can use the `\include{}`
command with the local [`jupyter.sty`](./jupyter.sty) style. Simply save your Jupyter notebook
as LaTeX (using File > Download As > LaTeX) or using pandoc, delete the preamble
(leave only the content between `\begin{document}` and `\end{document}`) and
include it in your document. For examples, see the [`notebook.tex`](./notebook.tex) example file
and line 153 of the [`example.tex`](./example.tex) file.


## Help & Support

Expand Down
1 change: 1 addition & 0 deletions dist/coppe.cls
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
\RequirePackage{eqparbox}
\RequirePackage{ltxcmds}
\RequirePackage[T1]{fontenc}
\RequirePackage{jupyter}
\RequirePackage[a4paper,bindingoffset=0.0cm,vcentering=true,%
top=2.5cm,bottom=2.5cm,left=3.0cm,right=3.0cm]{geometry}
\def\CoppeTeX{{\rm C\kern-.05em{\sc o\kern-.025em p\kern-.025em
Expand Down
1 change: 1 addition & 0 deletions dist/example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@

\appendix
\chapter{Algumas Demonstra{\c c}\~oes}
\include{notebook}
\end{document}
%%
%%
Expand Down
Loading