Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

How to make following code more simple?

\c1{#}::LaTeXForm("{C_{1}}").
\c2{#}::LaTeXForm("{C_{2}}").
.....
\c100{#}::LaTeXForm("{C_{100}}").

{\c1{#},\c2{#},...,\c100{#}}::SortOrder.
in General questions by (1.4k points)
edited by

1 Answer

0 votes

See the answer to this post

by (13.2k points)

How about SortOrder?

It works for me with no need of declaration.

See the image

I know. Thanks a lot.

If I want to simplify following code:

{\c1,\c2,...,\c100}::NonCommuting.

Do you have any ideas?

...