Text Formattingmath format with two superscripts

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
rockybalboa
Posts: 15
Joined: Wed Mar 04, 2009 12:33 am

math format with two superscripts

Post by rockybalboa »

Hi, I have two superscript in the formula below which makes the equation look bad.
can someone help me out? I tried changing fontsize of superscript and \scriptstyle but I was not succesful.

Code: Select all

\begin{equation}
f({y^{T}}^{\prime}/y)dy^{\prime } 
\end{equation}
many thanks

Javier

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

math format with two superscripts

Post by Stefan Kottwitz »

Hi Javier,

you could use \mathsmaller of the relsize package:

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage{relsize}
\begin{document}
\begin{equation}
f({y^{T}}^{\mathsmaller\prime}/y)dy^{\prime }
\end{equation}
\end{document}
Stefan
LaTeX.org admin
Post Reply