New editor fallback icons for superscript and subscript

The editor has buttons for superscript and subscript. The icons for these are taken from the icon theme.

For example, using the Numix theme:

Numix-icons

If these icons are not available in the current theme I have created fallbacks.

For example, using the Adwaita default theme:

Adwaita-icons

As you can see they are far from perfect!

Do you have design skills? Can you make something better for us? Please let us know if you can help.

See PR #1989 for details of the proposed change.

Edit: New fallback icons based on Numix:

Fallback-icons

In 2022, Geggi offered superscript and subscript icons that he had submitted for consideration in numixproject. (They look the same as the numix in the screenshot. And they match of that Adwaita screen capture too.)

They are in the comments of:
0012704: Add support for strikethrough font style in Notes

There are another 2 alternatives (based on a large ‘a’ or smaller ‘ab’ from the legacy gnome) attached in a GitHub comment :

Other references:

  • 0012497: Development of a distinctive Gramps icon theme stencil (no font styling icons)

Numix works well as you can see from my screenshot. I can’t find any superscript or subscript icons in Adwaita though. What you see in my screenshot are a couple of fallback icons that I created using Inkscape.

I understand. You expressed dissatisfaction with the appearance. The icons created by geggi or adapted by me (in Inkscape) could be used as fallback icons if you like them better.

I’m happy to go with what people like best.

the big difference seems to be that the shape of the ‘a’ and ‘ab’ of the other 3 options fit the other Adwaita icons. With less font shape change the eye is drawn more toward the numbers

geggi’s variation with the letter being greyed out but with the number in black is interesting. Properly speaking, it means the strikethrough and underline icons should be tweaked to grey out the letter and leave the horizontal strokes in black.

Remember they will be the fallback icons for any icon theme that is missing the standard “format-text-superscript” and “format-text-subscript” icons.

1 Like

Oh! I didn’t realize that this was a possibility. I have two arrows and they do indeed change the text.

1 Like

I’ve updated the fallback icons based on Numix to look consistent with Adwaita.

1 Like