2
votes
1answer
36 views

Boldface for undescore in math mode

I need to insert an equation which contains the term x_y (y is subscript). The term must also be boldfaced. How do I achieve this in LaTeX?
4
votes
2answers
241 views

Is it wise to use \tensor for bold letters?

I want to use bold math-letters e.g. \mathbf{p_1}^2. The problem with \mathbf{p_1}^2 is that the 1 and 2 sub/superscripts are not aligned under each other. I can fix this by writing \mathbf{p_1^2} ...
8
votes
1answer
172 views

Wrong positioning of subscripts on bold math letters

I just noticed that for kpfonts and times (and probably other fonts since it does not seem to be font-related), the subscripts on boldface letters like V are (I would say) wrong. Is there an ...
10
votes
1answer
5k views

Boldface and subscripts in verbatim mode?

How do I create boldface and subscripts in verbatim mode? I've seen mention of a fancyvrb package that might be able to help. Can anyone provide working LaTeX code, either with or without fancyvrb?