Math & ScienceSuperscripts in math mode

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Ultragabu
Posts: 4
Joined: Fri Apr 24, 2015 4:27 pm

Superscripts in math mode

Post by Ultragabu »

Hi. Please, look at this code

\begin{equation}
R = \left( \, \frac{a}{b} \, \right)^{N}
\end{equation}


When I use the \left \right feature and then superscript the last bracket the superscript (N in this case) is placed far from the bracket, like it is drifting away. Is there a way to bring it closer?

Thank you.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Superscripts in math mode

Post by Stefan Kottwitz »

Hi!

You could write:

... \right)^{\!N}

with the \! for a thin negative space. Or use \!\! for two negative spaces.

Stefan
LaTeX.org admin
Post Reply