ISO/IEC regulations for technical writing prescribe using bold italic for matrices (and slanted sans serif for tensors). I find these regulations incoherent, but if you work in some fields you are required to follow those regulations. Why incoherent? From a mathematical point of view, a matrix is a tensor.
On the other hand, pure mathematics and theoretical physics mostly ignore those regulations. Doing pure mathematics, I'd not use any special notation for matrices, that are just another mathematical object which a variable is assigned to. For undegraduate textbooks, a special notation is usually employed, in order to help students find their way; upright boldface is mostly used.
Now to the TeXnical part. First of all you should define a personal command:
\newcommand{\matr}[1]{\mathbf{#1}} % undergraduate algebra version
%\newcommand{\matr}[1]{#1} % pure math version
%\newcommand{\matr}[1]{\bm{#1}} % ISO complying version
and use \matr
(any other name is possible, of course). This will allow changing just the definition instead of chasing in the document in case you change your mind about the problem.
Note that \boldsymbol
(from amsbsy
) is obsolete and \bm
(package bm
) should be used.
Don't use \textbf
, because this will inherit font settings from the context, so in a theorem statement you'd get bold italic.
Never ever use \pmb
(unless you're in an emergency with some symbol for which there's no other bold version). The syntax \boldmath{A}
will do nothing else than issuing two warnings and typeset a normal math italic “A”.
See Consistent macro for bold upright vectors in both latin and greek in case you need also Greek letters for matrices.
About amsbsy
and \boldsymbol
being obsolete, here's the start of the manual for amsbsy
:
