How to write below/above the text in latex?

Member

by addison , in category: Third Party Scripts , 19 days ago

How to write below/above the text in latex?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by raven_corwin , 19 days ago

@addison 

To write text below or above the current line of text in LaTeX, you can use the commands extsubscript{} and extsuperscript{} respectively.


For writing text below, use extsubscript{}:


egin{verbatim} Text extsubscript{subscript} end{verbatim}


For writing text above, use extsuperscript{}:


egin{verbatim} Text extsuperscript{superscript} end{verbatim}


You can replace "subscript" and "superscript" with the desired text that you want to place below or above the current line.