I prefer to enter mathematical expressions using typography that closely mirrors traditional mathematical typography... as for instance is found in a scientific paper or textbook. Thus if I see the term $t^2$ in a printed equation, I type as input
t^2
rather than, say,
Power[t,2]
(Actually, the best version is t CNTRL^ 2, which sets the exponent elevated and smaller.)
I find this helps me (and students) more accurately translate printed equations into Input form and non-incidentally think more like a mathematician, see the structure of equations, ensure proper syntax, and so forth (even if it might require a few extra keystrokes).
To this end I'd like to find the most "mathematical style" input for a derivative, such as $\frac{d t^2}{dt}$ or $\frac{d}{dt} t^2$, rather than the "computer style" of D[t^2,t].
One can use the Basic math palette and insert a partial derivative symbol with subscript, ESC pd ESC CNTRL-, and then enter, t in the subscript box and t^2 in the line to get the equivalent of $\partial_t t^2$. Indeed, when this term is entered (interpreted), the proper solution, 2 t is computed. Fine.
But I'd prefer an even more "mathematical" typography for input. One that uses (\[DifferentialD]/\[DifferentialD]t)t^2 (properly rendered), something visually equivalent to $\frac{d t^2}{dt}$ or $\frac{d}{dt} t^2$, as mentioned above.
Alas, all my efforts to typeset an input with a "traditional" ratio may appear proper, but none get interpreted so that the derivative is actually computed. Even clicking on the nice ratio version in the Basic math palette fails to be interpreted.
In short: How do I typeset a traditional ratio form of a derivative and later have it properly interpreted (and thus computed)?
Moreover, I don't want to write a term in text form and then convert it to TraditionalForm. For instance, I don't want to type Power[t,2] and then convert it using TraditionalForm. That defeats the whole point.
To clarify using a more complex example: The following are two computationally equivalent inputs of a complex term:
I find it much easier to interpret the bottom input. A single character missing in the upper, text-based input is hard to find.
So it is clear how to do this with integrals (and summations...). How to do it with a derivative expressed in the traditional form of a ratio?
Clear?
(Note that the "mathematical typography" of an integral is interpreted properly.)


TraditionalFormand evaluate. e.g.\!\( \*SubscriptBox[\(\[PartialD]\), \(t\)]\(( \*SuperscriptBox[\(t\), \(2\)])\)\)– Syed Aug 31 '22 at 04:33D[t^2,t] //TraditionalFormorTraditionalForm[D[t^2,t]evaluates to the solution directly ($2t$), but I want instead to see the input in the proper "mathematical" form before I enter/interpret it. (Am I missing something here?). And your version does not give the ratio form (just the partial derivative sign with subscript I mentioned in my question.) – David G. Stork Aug 31 '22 at 04:37Inactivate[D[t^2, t]] // TraditionalForm. Then you just have to useActivateat some point to have it evaluated. Maybe that could be a function placed into a palette. – JimB Aug 31 '22 at 05:57D[t^2,t]is precisely what I want to AVOID. It defeats the whole purpose of exploiting the syntax constraints and such. Example: enter a definite integral sign from the Basic math palette. You see the slots and such. You enter the variables accordingly. Your approach demands the user type text perfectly, in order to see the mathematical term. THAT is what is to be avoided. Clear? – David G. Stork Aug 31 '22 at 06:12