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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
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