local Per mode setting is ignored in align environment
dflvunoooooo opened this issue · 1 comments
dflvunoooooo commented
If I set the per-mode
inside a align
environment, it gets ignored, if the setting bevore was symbol
. Here is an example
Here is the code
\documentclass{scrartcl}
\usepackage{siunitx}
\usepackage{amsmath}
\sisetup{
per-mode = symbol,
}
\begin{document}
\qty{504.4667}{\per\second}
\begin{equation}
\sisetup{per-mode=fraction}
K_\mathrm{Zufällig} =\qty{504.4667}{\per\second}\\
= \qty{1}{\volt\per\ampere}
\end{equation}
\begin{align}
\sisetup{per-mode=fraction}
K_\mathrm{Zufällig} &=\qty{504.4667}{\per\second}\\
&= \qty{1}{\volt\per\ampere}
\end{align}
\end{document}
I don't know if it is related to #103.
josephwright commented
Table cells are groups in TeX: this is entirely normal behaviour.