Define an output format for objects that can be copy-pasted as the original expression
Contributed by:
Sjoerd Smit
Examples
Basic Examples (3)
Make NonCommutativeMultiply appear as a CenterDot multiplication:
Copy-paste the output and check that it still represents the original expression:
The noncommutativity holds:
Scope (3)
Define a custom data object that formats as a summary panel:
The panel still works as an input expression:
If the underlying expression is very large it will not be automatically embedded into the notebook:
Set a very low ByteCount limit for embedding the expression:
Typeset differently depending on the format:
Neat Examples (1)
Make a custom object that still looks like the original expression:
Publisher
Sjoerd Smit
Version History
-
1.1.0
– 15 May 2023
-
1.0.0
– 10 May 2023
Related Resources