I am writing an equaition which is too long-wide. I don't want it to split. I tried to change the fontsize within the equation enviroment but it didn't work.
I am using
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsthm}
\begin{document}
\begin{equation}
{\footnotesize G=centroid\cdot \frac{range[V]}{\#\,channels}\cdot\frac{W_{pair}[eV]} {E_{particle}[keV]}\cdot \frac{1}{(coarse\,gain)\cdot(fine\,gain)}\cdot \frac{10^6} {X[mV]\cdot E_{cg}[eV]}}
\label{eq:Gain}
\end{equation}
\end{document}
Is there a way to achieve that?
My output is
Any ideas?
Best Answer
You could set the fractions in
\textstyle
:(you may even consider using
\small centroid
as well) or scale it to fix using\resizebox
fromgraphicx
: