Colored Indexes

Colored Indexes - Wouldn't it be nice if indexes were blue and subscripts were black - Сообщения

#1 Опубликовано: 15.03.2013 15:11:30
Rising Eagle

Rising Eagle

15 сообщений из 23 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Davide Carpi 15.03.2013 18:27:00, Radovan Omorjan 16.03.2013 03:36:00, sergio 16.03.2013 05:15:00, Mike Kaganski 16.03.2013 05:56:00
#2 Опубликовано: 15.03.2013 18:27:01
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 16.03.2013 03:35:37
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 16.03.2013 10:27:01
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений