# Align $\displaystyle\frac{dx(t)}{dt}$

In $\displaystyle\frac{dx(t)}{dt}$. Is it possible to align $dx(t)$ with $dt$? Well, as I write it, it looks wrong.

You can use \hfill in the denominator of the fraction to force left alignment if that is what you are looking for. You could also typeset the term a bit more balanced by having the x(t) outside the fraction.
\documentclass{article}
$\displaystyle\frac{dx(t)}{dt\hfill}$
$\displaystyle\frac{d}{dt}\big(x(t)\big)$

EDIT: As @Zarko says, you can save yourself the \displaystyle command by using \dfrac{}{} from the mathtools package.
• what about mathtools and $\dfarc{dx(t)}{dt\hfill}$ or $\dfrac{d}{dt} x(t)$ ? Nov 14, 2021 at 22:30