When I write an algebraic expression of the following form,
B*OverBar[A]*C^3 + A*OverBar[C]*B
B C^3 Overscript[A, _]+A B Overscript[C, _]
the order of the terms in the output and inside the terms change. How to keep the order as it is in the input. I used "..." for this purpose, which works only on the factors of the individual terms. The issue is that I can't copy the "..." expression in the input form. And I need it to copy as input to use later. Thanks!
Edited:
I have found a simple solution. See the following. When I use the quotation "...". The order does not change which is good. But the problem is that I cannot properly copy the "Output" as an "Input". For all copying options, I get the following mess given in the output.
Input:
"B \!\(\*SuperscriptBox[\(X\), \(3\)]\) \!\(\*OverscriptBox[\(C\), \
\(_\)]\)" + "A B \!\(\*OverscriptBox[\(C\), \(_\)]\)"
Output:
"A B \!\(\*OverscriptBox[\(C\), \(_\)]\)" + "B \
\!\(\*SuperscriptBox[\(X\), \(3\)]\) \!\(\*OverscriptBox[\(C\), \
\(_\)]\)"
B !(*OverscriptBox[(A), ()]) C^3 + A !(*OverscriptBox[(C), ()]) B
? For starters that is not a a complete expression. Second it's a notebook Box, notInputForm
. Please format your Wolfram Language code example properly , easy to copy&paste, in Raw InputForm $\endgroup$InputForm
orRaw InputForm' (and ideally turn off the
In / Out` cell labels). $\endgroup$