Skip to content

How can I color subindex in Tex? #1868

Answered by utof
billy-ijk asked this question in Q&A
Discussion options

You must be logged in to vote

is this what you're looking for?

class sorry_for_delay(Scene):
    def construct(self):
        text = Tex("$\\dim_{\\mathbb{R}} \\mathbb{C}$")
        text[0][3].set_color(YELLOW) 
        self.play(FadeIn(text))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by billy-ijk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants