-
Notifications
You must be signed in to change notification settings - Fork 25
Tips
Tyler Makaro edited this page May 18, 2018
·
7 revisions
- Want to remove page numbers? Add
\pagenumbering{gobble}
to a raw cell at the top of the notebook. - Want to set page numbers to start at a specific number? Add
\setcounter{page}{number_here}
to a raw cell at the top of the notebook. - Want to re-add the maketitle? Add:
\author{name}
\title{title}
\date{date}
\maketitle
to a raw cell at the top of the notebook to customize the maketitle.
- If using Pandas (as pd), try:
pd.set_option('display.latex.repr', True)
at the start of your notebook. This should add nice formating of pandas dataframes in the conversion.
-
Typing
\insertword
in a markdown cell in Jupyter Notebook can cause conversion to fail since LaTeX will attempt to compile the command. Instead use\\insertword
since markdown will only render one backslash, and the conversion will use a plain text backslash.
$ equation $
can cause a conversion to fail, but
$equation$
will succeed. (This is a limitation of Pandoc on which nbconvert depends)