Theses, Books, Title pagessubscript in latex

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

subscript in latex

Post by templateuser »

Hi

First let me say great template and thanks a lot for making it so user friendly. I just have a quick question regarding subscripts in the text and headings. I have no problem with \textsuperscript outside math mode but I can't seem to be able to use \textsubscript. Do I have to use a different package for this? When I check online it says both should be included in the same/ default latex package. Any help would be greatly appreciated.

PS - I'm a newbie to latex, so please bear with me.

teresh

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

subscript in latex

Post by Vel »

Hi Teresh,

Include the fixltx2e package in your preamble using: \usepackage{fixltx2e}. After this, you can use \textsuperscript{text} and \textsubscript{text} in the text and headings.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

subscript in latex

Post by cgnieder »

A few other possibilities:
  • KOMA-Script classes define \textsubscript on their own if it isn't defined, yet. The package scrextend makes it available for other classes, too, along with a number of others of KOMA-Script's goodies.
  • the memoir class also provides \textsubscript (but changing the class would have a lot of other impact so probably not a choice here…)
Regards
site moderator & package author
Post Reply