Math & ScienceHow can I place a dash on top of a variable?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Ca29
Posts: 2
Joined: Fri Jul 19, 2019 4:42 pm

How can I place a dash on top of a variable?

Post by Ca29 »

Hi guys,

1 - I am trying to put a trace over variable to symbolize that it is constant.

2 - And I'm also trying to put a point on top of the variable to symbolize that the variable is a rate of change.

Thank you in advance for your attention.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

How can I place a dash on top of a variable?

Post by Ijon Tichy »

\documentclass{article}

\begin{document}
Usual: $\mathrm{a}$ is a constant, not a variable.
Unusual: $\bar{a}$ is a constant, not a variable.

Usual: $\dot{a}$
\end{document}
BTW: Something is either a variable or a constant. You should neither call is constant variable nor variable constant,
Last edited by Ijon Tichy on Sat Jul 20, 2019 1:50 pm, edited 1 time in total.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Ca29
Posts: 2
Joined: Fri Jul 19, 2019 4:42 pm

How can I place a dash on top of a variable?

Post by Ca29 »

Thanks Ijon :D
Post Reply