I'm going to make a palette for partial differential and total differential.
PasteButton[ Style["\!\(\*SubscriptBox[\(∂\),
\(\[SelectionPlaceholder]\)]\)\[Placeholder]", 16],
Unevaluated@D[\[SelectionPlaceholder], \[Placeholder]],ImageSize -> {65, 35}]
When the button was pressed, the partial differential symbol was well created.
PasteButton[ Style["\!\(\*SubscriptBox[\(\[DifferentialD]\),
\(\\[SelectionPlaceholder]\)]\)\[Placeholder]", 16],
Unevaluated@Dt[\[SelectionPlaceholder], \[Placeholder]], ImageSize -> {65, 35}]
But this time, if you press the button, it's not an expression. It comes out in the form of Inputform.
Can I print it out to maintain the form of the equation? I'm going to put the value in the form of the output equation and run it to get the calculated value.



\[DifferentialD]can be used in this manner, and this doesn't seem to be documented, how do you notice this feature? – xzczd Dec 27 '23 at 07:36