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
- TypeError: only size-1 arrays can be converted to Python scalars (matplotlib)
- Why do I get TypeError: can’t multiply sequence by non-int of type ‘float’?
- Writing a pandas DataFrame to CSV file
- When should I use uuid.uuid1() vs. uuid.uuid4() in python?
- ImportError: No module named tensorflow
- Best way to convert string to bytes in Python 3?
- TypeError: ‘type’ object is not subscriptable when indexing in to a dictionary
- Error: all the input array dimensions except for the concatenation axis must match exactly
- How to prevent errno 32 broken pipe?
- The equivalent of a GOTO in python [duplicate]
- tkinter gui with progress bar
- Invalid character in identifier
- if else in a list comprehension
- What does “\r” do in the following script?
- Convert list to tuple in Python
- Python: TypeError: object of type ‘NoneType’ has no len()
- anaconda – path environment variable in windows
- Pandas: ValueError: cannot convert float NaN to integer
- How to find all occurrences of an element in a list
- Catch multiple exceptions in one line (except block)
- Python Finding Prime Factors
- ValueError: ‘object too deep for desired array’
- ‘int’ object has no attribute ‘__getitem__’
- AttributeError(“‘str’ object has no attribute ‘read'”)
- How to get an absolute file path in Python
- Restart python-script from within itself
- What does “TypeError ‘xxx’ object is not callable” means?
- Multiple assignment and evaluation order in Python
- deleting rows in numpy array
- How to make a 3D scatter plot in matplotlib
- Arrays used as indices must be of integer (or boolean) type
- How can I compare two lists in python and return matches
- How to draw vertical lines on a given plot in matplotlib
- Changing the “tick frequency” on x or y axis in matplotlib
- mysql_config not found when installing mysqldb python interface
- ModuleNotFoundError: No module named ‘discord’
- No numeric types to aggregate – change in groupby() behaviour?
- “ImportError: No module named site” on Windows
- How do you read a file into a list in Python?
- Euclidean Algorithm / GCD in Python
- Pandas split DataFrame by column value
- Using numpy to build an array of all combinations of two arrays
- Get a random sample with replacement
- Can’t update to numpy 1.13 with anaconda?
- Is there any simple way to benchmark Python script?
- Purpose of python antigravity module
- What is a “slug” in Django?
- Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll
- if else function in pandas dataframe
- Primality test in python [duplicate]
- Flask-SQLalchemy update a row’s information
- Inline for loop
- Read data (.dat file) with Pandas
- Is there any numpy group by function?
- Sorting list of lists by the first element of each sub-list
- Install py2exe for python 2.7 over pip: this package requires Python 3.3 or later
- What is the correct format to write float value to file in Python
- How is Python’s List Implemented?
- ImportError: No module named IPython
- How to find length of digits in an integer?
- What exactly do “u” and “r” string flags do, and what are raw string literals?
- Pip: could not find a version. No matching distribution found
- Compare two columns using pandas
- ValueError: total size of new array must be unchanged
- Shuffle an array with python, randomize array item order with python
- No handlers could be found for logger