Implicit \color, explicitly grouped \textcolor (#619)

This commit is contained in:
Erik Demaine
2017-06-12 23:11:27 -04:00
committed by Kevin Barabash
parent ad0abbd4e9
commit 25dde7f841
9 changed files with 82 additions and 33 deletions

View File

@@ -49,9 +49,10 @@ Cases: |
a-1&\text{otherwise}
\end{cases}
Colors:
tex: \blue{a}\color{#0f0}{b}\color{red}{c}
tex: \blue{a}\textcolor{#0f0}{b}\textcolor{red}{c}
nolatex: different syntax and different scope
ColorSpacing: \color{red}{\displaystyle \int x} + 1
ColorSpacing: \textcolor{red}{\displaystyle \int x} + 1
ColorImplicit: bl{ack\color{red}red\textcolor{green}{green}red\color{blue}blue}black
DashesAndQuotes: \text{``a'' b---c -- d----`e'-{-}-f}--``x''
DeepFontSizing:
tex: |