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

The following does not seem to work:

ex1:=ABC;
asym(_, $A,B,C$);

Also with indices,

ex1:= A_{ab} C_{d};
asym(_, $_{a}, _{b}, _{d}$);
in General questions by
edited by

1 Answer

0 votes

It does if you write the product A B C with spaces, and add the required dollar signs, so

ex:= A B C;
asym(_, $A, B, C$);

Ditto for indices; do not write A_{ab} but use A_{a b}:

ex:= A_{a b} C_{d};
asym(_, $_{a}, _{b}, _{d}$);
by (83.1k points)
edited by
...