Skip to main content
5 events
when toggle format what by license comment
May 8, 2022 at 13:45 comment added Alexey Popkov @LukasLang The only simple way to get exactly the form in which the expression was typed is to take the box form of the expression directly from the cell when the expression was typed. Then wrap the extracted boxes with RawBoxes for producing the output.
May 8, 2022 at 13:39 comment added Alexey Popkov @LukasLang Yes, technically this method doesn't do what was requested in the question: it does not hold the form of expression "as it has been typed". It just produces the formatting the OP wished to get.
May 8, 2022 at 13:23 vote accept azerbajdzan
May 8, 2022 at 13:19 comment added Lukas Lang While this will not preserve the input box structure exactly, it seems to be surprisingly robust and is very simple. Nice!
May 8, 2022 at 13:10 history answered Alexey Popkov CC BY-SA 4.0