I'd like to know (if there is) the better way to punctuate text inside math mode. I mean, when we use , or ;, they are punctuation for the text, not for the math and so I think that they should be typed with the same font used for the text.
Consider the (non sense) example below. Please, note the font for , and the way I inserted blank space after it inside the sets.
Which one would you use?
MWE
\documentclass{report}
\usepackage{amsthm,amsmath,amssymb,amsfonts}
\usepackage[a5paper,margin=2cm]{geometry}
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}Statement here in italic font. Then:
\begin{align*}
a_n&=
\begin{cases}
n+1, & \text{for odd $n$},\\
n+2, & \text{for even $n$}.
\end{cases}
\\[1ex]
a_n&=
\begin{cases}
n+1, & \text{for odd $n$,}\\
n+2, & \text{for even $n$.}
\end{cases}
\end{align*}
Also, let
$ A= \{a_n,\ \text{for any $n>30$}\} $,
$ A'= \{a_n, \text{ for any $n>40$}\} $ and
$ A''=\{a_n \text{, for any $n>50$}\} $.
\end{thm}
\end{document}

Also, let $ A= \{a_n$ for any $n>30\}$? – Holene Apr 16 '15 at 07:51\textnormalinstead of\text. – Mico Apr 16 '15 at 08:44\textnormalnow but I can not see what would change. Is it simple to have an example? – Sigur Apr 16 '15 at 08:49\textnormalwill render its argument in the same upright roman font. If the "normal" text font is an upright sans-serif,\textnormalwill pick up on that too. – Mico Apr 16 '15 at 08:57\textinstruction. If your posting is really more about the placement of puctuation marks, please let me know and I'll vote to reopen to the posting. – Mico Apr 16 '15 at 09:00\in math mode or blank spaces in text mode? Please, could you reopen it? – Sigur Apr 16 '15 at 09:04\text. – Mico Apr 16 '15 at 09:11$A= \{a_n,\ \text{for any $n>30$}\}$simply wrong notation;$A=\{a_n:n>30\}$would be right. – egreg Apr 16 '15 at 10:29$A=\{\text{$a_n$, for any $n > 30$}\}$– Siminore Apr 16 '15 at 10:37n+1? Should it be in italic? – Sigur Apr 16 '15 at 11:23