.. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code or to run this example in your browser via Binder .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_subsection_example_from_notebook_subsection.py: Example Notebook in Subsection ============================== I actually generated this notebook instead of taking it off the shelf. .. code-block:: default a = [1, 2, 3] for i in a: print(i) .. rst-class:: sphx-glr-script-out Out: .. code-block:: none 1 2 3 And some Math ------------- Offset: .. math:: \frac{1}{N}\sum_{i=i}{N}x_i And then in :math:`\frac{1}{N}\sum_{i=i}{N}x_i` a paragraph. .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.001 seconds) .. _sphx_glr_download_auto_examples_subsection_example_from_notebook_subsection.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: binder-badge .. image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/nickderobertis/pypi-sphinx-quickstart/gh-pages?urlpath=lab/tree/notebooks/auto_examples/subsection/example_from_notebook_subsection.ipynb :width: 150 px .. container:: sphx-glr-download :download:`Download Python source code: example_from_notebook_subsection.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: example_from_notebook_subsection.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_