Colored Indexes

Colored Indexes - Wouldn't it be nice if indexes were blue and subscripts were black - Messages

#1 Posted: 3/15/2013 3:11:30 PM
Rising Eagle

Rising Eagle

15 likes in 23 posts.

Group: User

Colored indexes would make them distinguishable from notational subscripts used only for naming purposes. Dark blue for indexes, black for any and all subscripts.

If an index has a subscript in its name, make the subscript black just the same.
4 users liked this post
Davide Carpi 3/15/2013 6:27:00 PM, Radovan Omorjan 3/16/2013 3:36:00 AM, sergio 3/16/2013 5:15:00 AM, Mike Kaganski 3/16/2013 5:56:00 AM
#2 Posted: 3/15/2013 6:27:01 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

Colored indexes would make them distinguishable from notational subscripts used only for naming purposes. Dark blue for indexes, black for any and all subscripts.

If an index has a subscript in its name, make the subscript black just the same.



Great idea! The index colour could follow the "rainbow rule" of the graphs (blue,red,etc...) for nested indices, so a subscript of an index could have simply the same color of the index....


best regards,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 3/16/2013 3:35:37 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

I like this idea

Different colors for units are already quite useful. Different colors for indexes would give us the possibility to relax a bit from a "never ending story" of explaining the difference to our students between the notational subscript and index.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#4 Posted: 3/16/2013 10:27:01 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Colouring the indices may really help a lot. But how about handling the difference just as in printed math stuff? There are very simple rules:

  • everything that can change (variable names including indices) is typeset in italic,
  • everyting that does not change (text subscripts, function names, i, e, pi, operators including differential d, units of measurement) is typeset in roman (upright)


However, for numeric constants that would not work, as they are always printed in roman.

Perhaps best would be to make this an optional choice in the GUI (smath legacy, coloured indices or formal math), where the latter two easily could be combined.

If we are diving into typesetting then I also would recommend to mark vectors and matrices using bold typeface. That would require some matrix tag in the variable name, much like the ' for units. And that would enable the symbolic engine to apply the correct algebra rules for matrices and vectors.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • New Posts New Posts
  • No New Posts No New Posts