TransWikia.com

How to copy Mathematica code with subindices in a readable way?

Mathematica Asked by Fernando Martin on August 31, 2021

I’m trying to post some Mathematica code that makes heavy use of indices on a blog, and when copying and pasting I end up with unreadable stuff like

Cos[Subscript[[Theta], 0] + [Tau]] Sin[Subscript[[Phi], 0] - L], 
Sin[Subscript[[Theta], 0] + [Tau]] Sin[Subscript[[Phi], 0] - L], 
 Cos[Subscript[[Phi], 0] - L]}, {[Tau], 0, 
 L /Sin[Subscript[[Phi], 0] - L]}

Is there any way to copy heavily subindexed code like this in a readable format? Even if it is then impossible to paste back and execute, I’d rather prefer the code to be readable and provide an executable copy.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP