Skip to content

coloring text for different variables #4511

@inalillahi

Description

@inalillahi
sin_ = MathTex("sin=\\frac{depan}{miring}").move_to(RIGHT + UP)
cos_ = MathTex("cos=\\frac{samping}{miring}").next_to(sin_, DOWN)
tan_ = MathTex("tan=\\frac{depan}{samping}").next_to(cos_, DOWN)

how to make this code have three different colors for each variables (depang, samping, miring)? i use \frac because i want to divide its that use horizintal line, but if you have alternatives, tell me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions