TransWikia.com

Proper way of typesetting dot over indexed variable

TeX - LaTeX Asked by cxxl on June 18, 2021

What is the proper way to put a dot over an indexed variable, like for Netwon’s derivative notation? For typesetting reasons, I prefer dot{x}_i, but my colleage argues that it’s an operator on x_i and hence it must be dot{x_i}, which looks hideous if the index is longer, like dot{x_text{max}}. It becomes ever worse since I want to typeset vectors in boldface using the bm package, but then the dot is boldface as well, and that is certainly incorrect. Who has some wisdom for me?

documentclass{article}
usepackage{bm}
newcommand{vect}[1]{{bm {#1}}}
begin{document}

Is it $dot{x}_i$ or $dot{x_i}$? What about $dot{x_{max}}$? par
And what about $vect{dot{x}_i}$ or $vect{dot{x}}_i$, 
or maybe better $dot{vect{x}}_vect{i}$?

end{document}

Which yields this:
enter image description here

One Answer

Thanks. I can answer my own question from egreg's and David Carlisle's answers:

Use dot{x}_{<subscript>} and dot{bm{x}}_{<subscript>}, since typesetting is not mathematics.

Correct answer by cxxl on June 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP