[Tex/LaTex] Bold subscripts

bold

I would like my subscript y_{ij} in bold. I used:

\usepackage[fleqn]{amsmath}

\begin{document}
\bf{y}_{ij} 
\end{document}

or

\mathbf{y}_{ij}      

but really nothing happens. Only y is in bold.

Can anyone help me please?

Best

Best Answer

The context is not very clear to me: math formula with bold symbols, math formula in bold context like section titles, bold/italics or bold/upright, text mode, ...

Here some variations:

\documentclass{article}
\usepackage{fixltx2e}% for \textsubscript
\usepackage[fleqn]{amsmath}
\usepackage{bm}

\begin{document}
  $y_{ij}$, \boldmath{$y_{ij}$}, $\bm{y_{ij}}$,
  $\mathbf{y_{ij}}$, \textbf{y\textsubscript{ij}}
\end{document}

Result