# How to make words in an align/equation environment not look weird

If I have an align/equation environment (Or any environment which is maths based) like so:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

$$y_{vertical} = k \sin{x}$$

\end{document}


How can I make the word "vertical" in the maths enviroment not look really odd and italic?

• \text{vertical} – Sigur Feb 16 at 18:33
• Welcome to TEX.SE. – Sigur Feb 16 at 18:37
• or: y_{\mathrm{vertical}}. – Mico Feb 16 at 19:15
• \mathrm is better than \text here – David Carlisle Feb 16 at 20:26
• @CarLaTeX - Done. :-) – Mico Mar 7 at 20:18

Since you're loading the amsmath package anyway, writing

y_{\mathrm{vertical}}


will do what you're looking to achieve. Better still, write

y^{}_{\mathrm{vertical}}


to get a slightly more pronounced downward shift of the subscript material.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$y^{}_{\mathrm{vertical}} = k \sin{x}$$
\end{document}