2

How can i type meteorological tolerance, limits and fits etc, like double superscripts one on another notations using latex can any one please help me in this regard?

1 Answers1

5

Perhaps you mean something like this, which I have embodied in the macro

\dscript{upper}{lower}.

Here is my MWE, which uses the layout described at http://www.slideshare.net/Nuumero1/metrology-vtu-unit2-limits-fits-and-tolerances:

\documentclass{article}
\usepackage{stackengine}
\stackMath
\newcommand\dscript[2]{\bgroup\stackon{\scriptstyle#2}{\scriptstyle#1}\egroup}
\setstackgap{S}{1pt}
\begin{document}
$\phi 40^\dscript{+0.05}{-0.05}$
\end{document}

enter image description here

As egreg suggests, and if legibility is not an issue, you may substitute (2 times) \scriptscriptstyle for \scriptstyle in my \dscript definition, in order to obtain the result:

enter image description here

There are other customs for the layout, such as that found at https://books.google.com/books?id=9rNldaV3FwcC&pg=PT372&lpg=PT372&dq=metrology+fits+tolerances&source=bl&ots=E3Bu3oPDQt&sig=RTJmKolkYmg3lEPc6JbfjFJiaI8&hl=en&sa=X&ei=Ox6tVPy4NourggS23oCgBw&ved=0CD0Q6AEwBQ#v=onepage&q=metrology%20fits%20tolerances&f=false , which can be obtained with

\documentclass{article}
\newcommand\dscript[2]{\bgroup#1\egroup_\bgroup#2\egroup}
\begin{document}
$\phi 40^\dscript{+0.05}{-0.05}$
\end{document}

enter image description here