Instead of the arrow notation \vec{a}
vectors in scientific journals are often represent in bold font \bold{a}
.
My question is if I have a vector with a subscript is it conventional to use \bold{a}_{sub}
or \bold{a_{sub}}
?
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 communityInstead of the arrow notation \vec{a}
vectors in scientific journals are often represent in bold font \bold{a}
.
My question is if I have a vector with a subscript is it conventional to use \bold{a}_{sub}
or \bold{a_{sub}}
?
An important question to ask is, what do the subscripts represent? If "sub
" is of the form i
or j
and serves to index elements of the vector named a, it's customary not to typeset the indices in bold. Thus, you'd write \mathbf{a}_i
and \mathbf{b}_j
.
If, on the other hand, "sub
" forms an integral part of the name of the vector itself, it's more common to typeset the subscript part of the name in bold as well. E.g., if r
is the main part of the vector and a
and s
serve to distinguish sub-types of r
(say, for 'aperture' and 'screen'), you may want to indicate this property to your readers by typing \mathbf{r_a}
and \mathbf{r_s}
, respectively.
Two final remarks: (a) As the preceding screenshot shows, \mathbf
produces upright-bold characters. If you would rather generate italic-bold characters, load the bm
package and write, say, \bm{r_a}
. (b) Whatever you do in terms of vector notation, be sure to choose notational consistency.
\documentclass{article}
\begin{document}
$\mathbf{a}_i$, $\mathbf{b}_j$ \quad vs.\quad $\mathbf{r_a}$, $\mathbf{r_s}$
\end{document}
sub
represent in your paper? Is it an index (e.g.,i
) that references the i-th element of the vectora
, or issub
an integral part of the overall name of the vector (e.g.,a_{new}
anda_{old}
)?sub
represents is this: Ifsub
is an index of some kind, it's generally not typeset in bold (assuming, of course, thata
itself is rendered in bold). On the other hand, ifsub
is indeed an integral part of the vector's name, it may be advisable to render in in bold as well. Whatever you do in terms of notation, do ensure you're absolutely consistent.