Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

- Home
- Canvas
- Canvas Question Forum
- Coloring (LaTeX) an Exponent Diff than Its Base - ...

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-15-2022
10:38 PM

I'm using the LaTeX advanced mode (direct edit mode--whatever it's called in the new equation editor) to specify a different color for the base number v. the exponent. What I do displays correctly but when tested with a screen reader, it will not read the equation. (If I make the base number and the exponent the same color, the screen reader will read the equation as expected.)

Is it possible to code it so the base number is one color, the exponent another?--and hopefully if I do this correctly, the screen reader will also read the equation as expected.

Here is what I'm trying to do:

\color{#red}{3}\color{blue}{^{4}} =\color{red}{3\cdot 3\cdot 3\cdot 3}=81

This displays fine, with the red 3 raised to the blue 4th power and the rest of the equation colored as expected. But it won't read (by a screen reader) unless I color both the 3 (the base) and the 4 (the exponent) the same color. Maybe there is some other way to bracket this? Is the LaTeX valid? And if it is valid, is the reason it can't be read by a screen reader then more likely something like a MathJax issue?

Solved! Go to Solution.

1 Solution

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-16-2022
08:35 AM

\textcolor{#C50733}{3}^{\textcolor{blue}{4}}

=\textcolor{#C50733}{3\cdot 3\cdot 3\cdot 3}

=81

1 Reply

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-16-2022
08:35 AM

\textcolor{#C50733}{3}^{\textcolor{blue}{4}}

=\textcolor{#C50733}{3\cdot 3\cdot 3\cdot 3}

=81

- Reference
- Community Guidelines
- Security
- Developers
- Open Source