# Bar symbol with subscript [closed]

I want to type Y bar with subscript as shown in following code. However, when I try to use \bar , the Bar symbol is going beyond Y. I want to limit the bar symbol to Y.

\documentclass{article}
\usepackage{bm}
\begin{document}
$\bar{\bm{Y_{rss}}}$
\end{document}


Any help will be appriciated

## closed as off-topic by Sebastiano, Mensch, Phelype Oleinik, Stefan Pinnow, siracusaJul 4 at 20:04

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Perhaps \bar{\bm{Y}}_{rss}? Or \bar{\bm{Y}}_{\bm{rss}} if you need also the subscript to be bold (which I don't believe, probably it should even be \bar{\bm{Y}}_{\mathrm{rss}}). – egreg Mar 3 '16 at 14:54
• \bar{\bm{Y}}_{rss} solve my problem. Yes I do not want my subscript to be bold. Thank you – user35571 Mar 3 '16 at 15:23
• I'm voting to close this question because the \bar{\bm{Y}}_{rss} solve the problem of the OP. – Sebastiano Jul 4 at 19:44