Itemize Jupyter Notebook



Latex Example Use in a Jupyter Notebook. GitHub Gist: instantly share code, notes, and snippets. Markdown cells can be selected in Jupyter Notebook by using the drop-down or also by the keyboard shortcut 'm/M' immediately after inserting a new cell. Headings The Headings starts with '#,' i.e., hash symbol followed by the space, and there are six Headings with the largest heading only using one hash symbol and the smallest titles using six. Or clone the repo and install ``git clone python3 setup.py install`` With Jupyter = 4.2, -.step 2.: install the notebook extension:: jupyter nbextension install -py latexenvs -user -.step 3.: and enable it:: jupyter nbextension enable latexenvs -user -py. After finishing the installation, open anaconda prompt and type jupyter notebook. You will see a window like shown in the image below.

Jupytext@1.2.2 # For Jupyter Lab 2.x Then, restart your Jupyter server (for more installation details, see the installation section in the documentation When Jupytext is installed,.py and.md files have a notebook icon. And you can really open and run these files as notebooks With a click of the text file in Jupyter Notebook (click on the.

Newer version available (1.4.6)

Released:

Jupyter notebook extension which supports (some) LaTeX environments within markdown cells. Also provides support for labels and crossreferences, document wide numbering, bibliography, and more...

Project description

(some) LaTeX environments for Jupyter notebook
This extension for IPython 3.x or Jupyter enables to use some LaTeX
commands and environments in the notebook's markdown cells.
1. **LaTeX commands and environments**
- support for some LaTeX commands within markdown cells, *e.g.*
``textit``, ``textbf``, ``underline``
- support for **theorems-like environments**, support for labels and
cross references
- support for **lists**: *enumerate, itemize*,
- limited support for a **figure environment**,
- support for an environment *listing*,
- additional *textboxa* environment
2. **Citations and bibliography**
- support for ``cite`` with creation of a References section
3. **Document-wide numbering of equations and environments, support for
``label`` and ``ref``**
4. **Configuration toolbar**
5. **LaTeX_envs dropdown menu for a quick insertion of environments**
6. **Export to HTML and LaTeX with a customized exporter**
7. Styles can be customized in the ``latex_env.css`` stylesheet
More environments can be simply added in the source file
(``thmsInNb4.js``).
It is possible to export the notebooks to plain :math:`LaTeX` and html
while keeping all the features of the ``latex_envs`` notebook extension
in the converted version. We provide specialized exporters, pre and post
processors, templates. We also added entry-points to simplify the
conversion process. It is now as simple asIt is now as simple as
.. code:: bash
jupyter nbconvert --to html_with_lenvs FILE.ipynb
or
.. code:: bash
jupyter nbconvert --to latex_with_lenvs FILE.ipynb
to convert ``FILE.ipynb`` into html/latex while keeping all the features
of the ``latex_envs`` notebook extension in the converted version. The
LaTeX converter also expose several conversion options (read the
`docs <https://rawgit.com/jfbercher/jupyter_latex_envs/master/src/latex_envs/static/doc/latex_envs_doc.html>`__.
Demo/documentation
The ``doc`` subdirectory that constains an example notebook and its html
and pdf versions. This serves as the documentation. A demo notebook
``latex_env_doc.ipynb`` is provided. Its html version is
`latex_env_doc.html <https://rawgit.com/jfbercher/jupyter_latex_envs/master/src/latex_envs/static/doc/latex_env_doc.html>`__
and a pdf resulting from conversion to LaTeX is available as
`documentation <https://rawgit.com/jfbercher/jupyter_latex_envs/master/src/latex_envs/static/doc/documentation.pdf>`__.
Installation
The extension consists in a package that includes a javascript notebook
extension. Since Jupyter 4.2, this is the recommended way to distribute
nbextensions. The extension can be installed
- from the master version on the github repo (this will be always the
most recent version)
- via pip for the version hosted on Pypi
- as part of the great
`Jupyter-notebook-extensions <https://github.com/ipython-contrib/Jupyter-notebook-extensions>`__
collection. Follow the instructions there for installing. Once this
is done, you can open a tab at ``http://localhost:8888/nbextensions``
to enable and configure the various extensions.
From the github repo or from Pypi,
- **step 1**: install the package
- ``pip3 install https://github.com/jfbercher/jupyter_latex_envs/archive/master.zip [--user][--upgrade]``
- or ``pip3 install jupyter_latex_envs [--user][--upgrade]``
- or clone the repo and install ``git clone https://github.com/jfbercher/jupyter_latex_envs.git python3 setup.py install``
With Jupyter >= 4.2,
- **step 2**: install the notebook extension
::
jupyter nbextension install --py latex_envs [--user]
- **step 3**: and enable it
::
jupyter nbextension enable latex_envs [--user] --py
For Jupyter versions before 4.2, the situation is more tricky since you
will have to find the location of the source files (instructions from
@jcb91 found
`here <https://github.com/jcb91/jupyter_highlight_selected_word>`__):
execute
::
python -c 'import os.path as p; from jupyter_highlight_selected_word import __file__ as f, _jupyter_nbextension_paths as n; print(p.normpath(p.join(p.dirname(f), n()[0]['src'])))'
Then, issue
::
jupyter nbextension install <output source directory>
jupyter nbextension enable latex_envs/latex_envs
where ``<output source directory>`` is the output of the python command.
Disclaimer, sources and acknowledgments
Originally, I used a piece of code from the nice online markdown editor
``stackedit`` https://github.com/benweet/stackedit/issues/187, where the
authors also considered the problem of incorporating LaTeX markup in
their markdown.
I also studied and used examples and code from
https://github.com/ipython-contrib/IPython-notebook-extensions.
- This is done in the hope it can be useful. However there are many
impovements possible, in the code and in the documentation.
**Contributions will be welcome and deeply appreciated.**
- If you have issues, please post an issue at
``https://github.com/jfbercher/jupyter_latex_envs/issues``
`here <https://github.com/jfbercher/jupyter_latex_envs/issues>`__.
**Self-Promotion --** Like ``latex_envs``? Please star and follow the
`repository <https://github.com/jfbercher/jupyter_latex_envs>`__ on
GitHub.

Release historyRelease notifications | RSS feed

1.4.6

1.4.5

1.4.4

1.4.3

1.4.2

1.4.1

1.4.0

1.3.8.4

1.3.8.3

1.3.8.2

1.3.8.1

1.3.8

1.3.7.2

1.3.7.1

Itemize Jupyter Notebook

1.3.7

1.3.6

1.3.5.11

1.3.5.10

1.3.5.9

1.3.5.8

1.3.5.7

1.3.5.6

1.3.5.5

1.3.5.4

1.3.5.3

1.3.5.2

1.3.5.1

1.3.5

1.3.4

1.3.3

1.3.2

1.3.1

1.3.0.2

1.3.0.1

1.2.95

1.2.14

1.2.13

1.2.11

1.2.10

1.2.8

1.2.7

1.2.6

1.2.5

1.2.4

1.2.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyter_latex_envs, version 1.2.7
Filename, sizeFile typePython versionUpload dateHashes
Filename, size jupyter_latex_envs-1.2.7.tar.gz (574.5 kB) File type Source Python version None Upload dateHashes

Itemize Jupiter Notebook 2019

Close

Jupyter Notebook Windows

Hashes for jupyter_latex_envs-1.2.7.tar.gz

How To Run Jupyter Notebook

Hashes for jupyter_latex_envs-1.2.7.tar.gz
AlgorithmHash digest
SHA256e706ec8f720cf28d1254874383b830a02e2bf3d52ebc278c8cc50188d902f01e
MD5b726877f3122c87ab344e01ce3e7251a
BLAKE2-25653f718f555661d2615900cc79a0d79cb3093b5b4bb15f42df4909d75f4b9ed94