I am using siunitx
in "per-mode=symbol", and that is working very well. However now I have run into an isolated case, where I need the "per"-symbol to be ^{-1}
. Here is a MWE showing what I desire:
\documentclass[10pt]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[ansinew]{inputenc}
\usepackage[per-mode=symbol]{siunitx}
\begin{document}
\noindent A speed of $v=\SI{888}{\meter\per\second}$, this is fine. \\
\noindent A lifetime of $\Gamma=\SI{888}{\per\second}$, not OK. It should be 888 s$^{-1}$.
\end{document}
Is there a way to define for a single "instance" that it should not use per-mode=symbol
?
Best Answer
The
siunitx
commands all take a first optional argument to apply settings locally. Thus you wanthere.