Wednesday, 7 August 2013

ipython notebook formatting.

\begin{verbatim}
blah blah
\end{verbatim}

... generates a boxed display in the notebook but nbconvert uses the environment as hoped.

# title
## section
### subsection
#### subsubsection

behaves as expected.

Titles properly centred:

'title here \n good'  worked as hoped.

r'title here \\ bad' will left justify the second line.  Yuk.


tit = 'Effect of coupling PZT to diaphragm at edge only\n'
tit += r'with controlled $f_{0}$. $pcb_{t}=3.2mm$'

works as hoped. :)

No comments:

Post a Comment