How to get small numbers (For example q0)

by user16655   Last Updated November 09, 2018 01:23 AM

I'm still new to Latex, and I can't seem how to write f.ex. q0 where the 0 is small. Hard to explain/search google when I don't know what you call this in english.

Hope someone can help :)

Tags : sharelatex


Answers 2


What you're looking for is subscript and you write it like this: $q_0$.

Note that this only works in math mode. The $ tell LaTeX to switch from text to math mode or back (there are different possibilities of switching to math mode, see here).

When you want to have multiple digits (or other symbols) in subscript, you will have to enclose them in curly braces (q_{12 + x}), since the _ only "sees" the next symbol. The curly braces make LaTeX se everything inside as a group that can not be separated.

If you want to use subscript in normal text, have a look at this question.

Superscript works the same way but with ^ instead of _. Write x^2 for x².

schtandard
schtandard
May 05, 2014 21:11 PM

In quiver it works like (inline LaTeX goes between $...$) $q_0$ and it is called "subscript". I believe ^ is for exponents.

More info can be found here - https://www.overleaf.com/learn/latex/Subscripts_and_superscripts

vaskaloidis
vaskaloidis
November 09, 2018 00:30 AM

Related Questions


ShareLaTeX maintenance

Updated April 23, 2015 20:10 PM


How to add chapter names in header

Updated June 09, 2015 13:10 PM

Page numbering and title issues

Updated June 12, 2015 06:10 AM

Output file is not generating

Updated June 19, 2015 01:10 AM