You can do this inside of a markdown cell. A markdown cell can be created by selecting a cell then pressing the esc
key followed by the M
key. You can tell when you have converted a cell to markdown when In [ ]:
seen to the right of the default code cell is gone. Then you can input the following code that uses latex with markdown to represent sub/super-scripts:
Latex subscript: $x_{2}$ Latex superscript: $x^{2}$
You can find more detailed examples here.
Please comment below if you are still having difficulty.
Related Posts:
- How to do superscripts and subscripts in Jupyter Notebook?
- What is the difference between Spyder and Jupyter?
- What is the difference between Jupyter Notebook and JupyterLab?
- Running Jupyter via command line on Windows
- kernel keeps dying in jupyter notebook
- How to embed image or picture in jupyter notebook, either from a local machine or from a web resource?
- How to set NotebookApp.iopub_data_rate_limit and others NotebookApp settings in JupyterHub?
- Inserting image into IPython notebook markdown
- How to change python version in Anaconda?
- Purpose of “%matplotlib inline”
- Purpose of “%matplotlib inline”
- Jupyter Notebook not saving: ‘_xsrf’ argument missing from post
- ‘Conda’ is not recognized as internal or external command
- Jupyter Notebook not saving: ‘_xsrf’ argument missing from post
- ‘Conda’ is not recognized as internal or external command
- Expected 2D array, got 1D array instead error
- Error while Executing jupyter notebook: [Errno 2] No such file or directory
- How to read a .xlsx file using the pandas Library in iPython?
- Removing Conda environment
- Can I run Keras model on gpu?
- convert json ipython notebook(.ipynb) to .py file
- How to get autocomplete in jupyter notebook without using tab?
- Using %matplotlib notebook after %matplotlib inline in Jupyter Notebook doesn’t work
- Can’t open Jupyter notebook with Anaconda
- Where do I call the BatchNormalization function in Keras?
- How to convert IPython notebooks to PDF and HTML?
- ‘Jupyter’ is not recognized as an internal or external command
- Solving “500: Internal Server Error, nbconvert failed: xelatex not found in PATH”
- How to uninstall jupyter
- Repeated “Kernel died, restarting” forever
- ImportError: No module named xgboost
- When I use matplotlib in jupyter notebook,it always raise ” matplotlib is currently using a non-GUI backend” error?
- IPython, “name ‘plt’ not defined”
- ValueError: Must pass DataFrame with boolean values only
- Maximum and Minimum values for ints
- FileNotFoundError: [Errno 2] No such file or directory [duplicate]
- python capitalize first letter only
- Is there a short contains function for lists?
- ImportError: No module named pandas. Pandas installed pip
- How to Execute a Python Script in Notepad++?
- ValueError: operands could not be broadcast together with shapes (5,) (30,)
- appending list but error ‘NoneType’ object has no attribute ‘append’
- Using Python 3 in virtualenv
- No module named MySQLdb
- TypeError: Missing 1 required positional argument: ‘self’
- Convert a tensor to numpy array in Tensorflow?
- How to import the class within the same directory or sub directory?
- Why do I get AttributeError: ‘NoneType’ object has no attribute ‘something’?
- What is __pycache__?
- Permission denied error by installing matplotlib
- Python equivalent of a given wget command
- Updating matplotlib in virtualenv with pip
- Is the standard Python implementation considered as a programming language or a scripting language?
- Python – from . import
- SystemError: Parent module ” not loaded, cannot perform relative import
- How to remove anaconda from windows completely?
- SyntaxError: non-default argument follows default argument
- How to do while loops with multiple conditions
- TypeError: ‘<=' not supported between instances of 'str' and 'int' [duplicate]
- Using Numpy Vectorize on Functions that Return Vectors
- Remove list from list in Python
- Determine the type of an object?
- enumerate() for dictionary in python
- How to convert a PIL Image into a numpy array?
- numpy with python: convert 3d array to 2d
- Max retries exceeded with URL in requests
- Create 3D array using Python
- Is it possible to ignore one single specific line with Pylint?
- Print list without brackets in a single row
- Get first row value of a given column
- AttributeError: ‘module’ object has no attribute
- In Python How can I declare a Dynamic Array
- Python module for converting PDF to text
- from sys import argv – what is the function of “script”
- How to properly ignore exceptions
- How to print instances of a class using print()?
- What does the Ellipsis object do?
- How to concatenate items in a list to a single string?
- python pip on Windows – command ‘cl.exe’ failed
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- Extract part of a regex match
- Python “SyntaxError: Non-ASCII character ‘\xe2’ in file”
- How to get the text cursor position in Windows?
- python NameError: global name ‘__file__’ is not defined
- Rename specific column(s) in pandas
- How to create a numpy array of lists?
- Scikit-learn GridSearch giving “ValueError: multiclass format is not supported” error
- Convert R code into Python code using rpy2
- PIL: DLL load failed: specified procedure could not be found
- can we use XPath with BeautifulSoup?
- how to check which version of nltk, scikit learn installed?
- How do I add two sets?
- How to count the number of files in a directory using Python
- Counting array elements in Python
- Python copy files to a new directory and rename if file name already exists
- How to append new data onto a new line
- Building a list inside a list in python
- ‘pyuic5’ is not recognized as an internal or external command
- Flask-framework: MVC pattern
- Installing win32gui python module