Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Machine Learning by (19k points)

I want to use numbers to indicate references in footnotes, so I was wondering inside of Jupyter Notebook how can I use superscripts and subscripts?

1 Answer

0 votes
by (33.1k points)

In Jupyter notebook, you can convert a cell into a code cell, markdown cell or a raw cell. You need a markdown cell for superscripts and subscripts. A markdown cell can be created by selecting a cell then pressing the Esc key followed by the M key.

Then you can input the following code that uses latex with markdown to represent sub/super-scripts:

For Latex subscript:

$x_{2}$

For Latex superscript:

$x^{2}$

You can find more detailed examples here.

Hope this answer helps.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...