Revealed too late!
You don't actually have to use explicit HTML tags in there, but I don't know of any other way to center things.
This notebook has been compiled with
ipython nbconvert Example.ipynb --to slides --template output_toggle.tpl
As a result, any code cells will have their input hidden; only the output will be shown by default. You can click to the left of the output area to see the original code cell.
In [6]:
figure(figsize=(6,4))
plot(linspace(0,2*pi), sin(linspace(0,2*pi)))
xlabel(r'$x$')
ylabel(r'$y$');
It's just not
def f(x):
"""a docstring"""
return x**2
Maybe some day
But just not today