Skip to content

Commit

Permalink
Can correctly print out index labels with sub and super script symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Nov 26, 2018
1 parent 9d4f2ea commit 0ffb6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeQuant.m
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ Operators are further classified according to the permutational symmetry of equi
(* these functions display particleIndex in string *)

visualizeIndex[a_particleIndex] :=
stringAppendSpin[ToString[a[[1]]],indexSpin[a]];
stringAppendSpin[ToString[a[[1]],StandardForm],indexSpin[a]];

Format[particleIndex[a__],TraditionalForm] :=
visualizeIndex[particleIndex[a]];
Expand Down

0 comments on commit 0ffb6a1

Please sign in to comment.