I'm wondering what are the typographic standards for the placement of commas/dots in the following (and similar) case:\
The first option looks nicer, the second seems to be more logically consistent.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityAs a reference, page 109 of the AMS style guide (http://www.ams.org/arc/styleguide/AMSstyleguide.pdf) suggests that the first is preferred (at least by the AMS).
\begin{equation} d=\begin{cases} (l+b)^2+p^2,&\text{if $0\le p<10000$};\\ (l+b)^2-p^2,&\text{if $-10000<p<0$};\\ (l+b)^2,&\text{if $p\le-10000$}.\end{cases} \end{equation}
. See also tex.stackexchange.com/q/499/35864