opencollab / jlatexmath

A Java API to render LaTeX
Other
514 stars 109 forks source link

add \cellcolor #25

Closed murkle closed 3 years ago

murkle commented 7 years ago

eg "{\begin{array}{|l|l|}\hline \cellcolor{#FFEFD5}{1}&\cellcolor{#FF0000}{3} \\ \hline \cellcolor{#0000FF}{2}&\cellcolor{#BFFF00}{4} \\ \hline \end{array}}"

Added in our fork here: https://dev.geogebra.org/trac/changeset/48883 https://dev.geogebra.org/trac/changeset/48817 https://dev.geogebra.org/trac/changeset/48816 https://dev.geogebra.org/trac/changeset/48813 https://dev.geogebra.org/trac/changeset/48812 https://dev.geogebra.org/trac/changeset/48810

Clearer per-file changes: https://dev.geogebra.org/trac/changeset/48810/trunk/geogebra/retex/renderer-base/src/main/java/com/himamis/retex/renderer/share/PredefinedCommands.java https://dev.geogebra.org/trac/changeset?reponame=&new=48810%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FMultlineAtom.java&old=45809%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FMultlineAtom.java https://dev.geogebra.org/trac/changeset?reponame=&new=48882%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FMatrixAtom.java&old=48810%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FMatrixAtom.java https://dev.geogebra.org/trac/changeset?reponame=&new=49178%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FPredefMacros.java&old=48810%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FPredefMacros.java https://dev.geogebra.org/trac/changeset?reponame=&new=48812%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FTableBox.java&old=48447%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FTableBox.java https://dev.geogebra.org/trac/changeset?reponame=&new=48812%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FArrayOfAtoms.java&old=45809%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FArrayOfAtoms.java https://dev.geogebra.org/trac/changeset?reponame=&new=48810%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FTeXParser.java&old=48111%40trunk%2Fgeogebra%2Fretex%2Frenderer-base%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhimamis%2Fretex%2Frenderer%2Fshare%2FTeXParser.java

murkle commented 6 years ago

Done here: https://github.com/opencollab/jlatexmath/tree/experimental