@rod2ik/tikzjax 1.0.0-beta25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +187 -0
- package/dist/fonts/cmb10.woff2 +0 -0
- package/dist/fonts/cmbsy10.woff2 +0 -0
- package/dist/fonts/cmbsy5.woff2 +0 -0
- package/dist/fonts/cmbsy6.woff2 +0 -0
- package/dist/fonts/cmbsy7.woff2 +0 -0
- package/dist/fonts/cmbsy8.woff2 +0 -0
- package/dist/fonts/cmbsy9.woff2 +0 -0
- package/dist/fonts/cmbx10.woff2 +0 -0
- package/dist/fonts/cmbx12.woff2 +0 -0
- package/dist/fonts/cmbx5.woff2 +0 -0
- package/dist/fonts/cmbx6.woff2 +0 -0
- package/dist/fonts/cmbx7.woff2 +0 -0
- package/dist/fonts/cmbx8.woff2 +0 -0
- package/dist/fonts/cmbx9.woff2 +0 -0
- package/dist/fonts/cmbxsl10.woff2 +0 -0
- package/dist/fonts/cmbxti10.woff2 +0 -0
- package/dist/fonts/cmcsc10.woff2 +0 -0
- package/dist/fonts/cmcsc8.woff2 +0 -0
- package/dist/fonts/cmcsc9.woff2 +0 -0
- package/dist/fonts/cmdunh10.woff2 +0 -0
- package/dist/fonts/cmex10.woff2 +0 -0
- package/dist/fonts/cmex7.woff2 +0 -0
- package/dist/fonts/cmex8.woff2 +0 -0
- package/dist/fonts/cmex9.woff2 +0 -0
- package/dist/fonts/cmff10.woff2 +0 -0
- package/dist/fonts/cmfi10.woff2 +0 -0
- package/dist/fonts/cmfib8.woff2 +0 -0
- package/dist/fonts/cminch.woff2 +0 -0
- package/dist/fonts/cmitt10.woff2 +0 -0
- package/dist/fonts/cmmi10.woff2 +0 -0
- package/dist/fonts/cmmi12.woff2 +0 -0
- package/dist/fonts/cmmi5.woff2 +0 -0
- package/dist/fonts/cmmi6.woff2 +0 -0
- package/dist/fonts/cmmi7.woff2 +0 -0
- package/dist/fonts/cmmi8.woff2 +0 -0
- package/dist/fonts/cmmi9.woff2 +0 -0
- package/dist/fonts/cmmib10.woff2 +0 -0
- package/dist/fonts/cmmib5.woff2 +0 -0
- package/dist/fonts/cmmib6.woff2 +0 -0
- package/dist/fonts/cmmib7.woff2 +0 -0
- package/dist/fonts/cmmib8.woff2 +0 -0
- package/dist/fonts/cmmib9.woff2 +0 -0
- package/dist/fonts/cmr10.woff2 +0 -0
- package/dist/fonts/cmr12.woff2 +0 -0
- package/dist/fonts/cmr17.woff2 +0 -0
- package/dist/fonts/cmr5.woff2 +0 -0
- package/dist/fonts/cmr6.woff2 +0 -0
- package/dist/fonts/cmr7.woff2 +0 -0
- package/dist/fonts/cmr8.woff2 +0 -0
- package/dist/fonts/cmr9.woff2 +0 -0
- package/dist/fonts/cmsl10.woff2 +0 -0
- package/dist/fonts/cmsl12.woff2 +0 -0
- package/dist/fonts/cmsl8.woff2 +0 -0
- package/dist/fonts/cmsl9.woff2 +0 -0
- package/dist/fonts/cmsltt10.woff2 +0 -0
- package/dist/fonts/cmss10.woff2 +0 -0
- package/dist/fonts/cmss12.woff2 +0 -0
- package/dist/fonts/cmss17.woff2 +0 -0
- package/dist/fonts/cmss8.woff2 +0 -0
- package/dist/fonts/cmss9.woff2 +0 -0
- package/dist/fonts/cmssbx10.woff2 +0 -0
- package/dist/fonts/cmssdc10.woff2 +0 -0
- package/dist/fonts/cmssi10.woff2 +0 -0
- package/dist/fonts/cmssi12.woff2 +0 -0
- package/dist/fonts/cmssi17.woff2 +0 -0
- package/dist/fonts/cmssi8.woff2 +0 -0
- package/dist/fonts/cmssi9.woff2 +0 -0
- package/dist/fonts/cmssq8.woff2 +0 -0
- package/dist/fonts/cmssqi8.woff2 +0 -0
- package/dist/fonts/cmsy10.woff2 +0 -0
- package/dist/fonts/cmsy5.woff2 +0 -0
- package/dist/fonts/cmsy6.woff2 +0 -0
- package/dist/fonts/cmsy7.woff2 +0 -0
- package/dist/fonts/cmsy8.woff2 +0 -0
- package/dist/fonts/cmsy9.woff2 +0 -0
- package/dist/fonts/cmtcsc10.woff2 +0 -0
- package/dist/fonts/cmtex10.woff2 +0 -0
- package/dist/fonts/cmtex8.woff2 +0 -0
- package/dist/fonts/cmtex9.woff2 +0 -0
- package/dist/fonts/cmti10.woff2 +0 -0
- package/dist/fonts/cmti12.woff2 +0 -0
- package/dist/fonts/cmti7.woff2 +0 -0
- package/dist/fonts/cmti8.woff2 +0 -0
- package/dist/fonts/cmti9.woff2 +0 -0
- package/dist/fonts/cmtt10.woff2 +0 -0
- package/dist/fonts/cmtt12.woff2 +0 -0
- package/dist/fonts/cmtt8.woff2 +0 -0
- package/dist/fonts/cmtt9.woff2 +0 -0
- package/dist/fonts/cmu10.woff2 +0 -0
- package/dist/fonts/cmvtt10.woff2 +0 -0
- package/dist/fonts/euex10.woff2 +0 -0
- package/dist/fonts/euex7.woff2 +0 -0
- package/dist/fonts/euex8.woff2 +0 -0
- package/dist/fonts/euex9.woff2 +0 -0
- package/dist/fonts/eufb10.woff2 +0 -0
- package/dist/fonts/eufb5.woff2 +0 -0
- package/dist/fonts/eufb6.woff2 +0 -0
- package/dist/fonts/eufb7.woff2 +0 -0
- package/dist/fonts/eufb8.woff2 +0 -0
- package/dist/fonts/eufb9.woff2 +0 -0
- package/dist/fonts/eufm10.woff2 +0 -0
- package/dist/fonts/eufm5.woff2 +0 -0
- package/dist/fonts/eufm6.woff2 +0 -0
- package/dist/fonts/eufm7.woff2 +0 -0
- package/dist/fonts/eufm8.woff2 +0 -0
- package/dist/fonts/eufm9.woff2 +0 -0
- package/dist/fonts/eurb10.woff2 +0 -0
- package/dist/fonts/eurb5.woff2 +0 -0
- package/dist/fonts/eurb6.woff2 +0 -0
- package/dist/fonts/eurb7.woff2 +0 -0
- package/dist/fonts/eurb8.woff2 +0 -0
- package/dist/fonts/eurb9.woff2 +0 -0
- package/dist/fonts/eurm10.woff2 +0 -0
- package/dist/fonts/eurm5.woff2 +0 -0
- package/dist/fonts/eurm6.woff2 +0 -0
- package/dist/fonts/eurm7.woff2 +0 -0
- package/dist/fonts/eurm8.woff2 +0 -0
- package/dist/fonts/eurm9.woff2 +0 -0
- package/dist/fonts/eusb10.woff2 +0 -0
- package/dist/fonts/eusb5.woff2 +0 -0
- package/dist/fonts/eusb6.woff2 +0 -0
- package/dist/fonts/eusb7.woff2 +0 -0
- package/dist/fonts/eusb8.woff2 +0 -0
- package/dist/fonts/eusb9.woff2 +0 -0
- package/dist/fonts/eusm10.woff2 +0 -0
- package/dist/fonts/eusm5.woff2 +0 -0
- package/dist/fonts/eusm6.woff2 +0 -0
- package/dist/fonts/eusm7.woff2 +0 -0
- package/dist/fonts/eusm8.woff2 +0 -0
- package/dist/fonts/eusm9.woff2 +0 -0
- package/dist/fonts/lasy10.woff2 +0 -0
- package/dist/fonts/lasy5.woff2 +0 -0
- package/dist/fonts/lasy6.woff2 +0 -0
- package/dist/fonts/lasy7.woff2 +0 -0
- package/dist/fonts/lasy8.woff2 +0 -0
- package/dist/fonts/lasy9.woff2 +0 -0
- package/dist/fonts/lasyb10.woff2 +0 -0
- package/dist/fonts/lcmss8.woff2 +0 -0
- package/dist/fonts/lcmssb8.woff2 +0 -0
- package/dist/fonts/lcmssi8.woff2 +0 -0
- package/dist/fonts/msam10.woff2 +0 -0
- package/dist/fonts/msam5.woff2 +0 -0
- package/dist/fonts/msam6.woff2 +0 -0
- package/dist/fonts/msam7.woff2 +0 -0
- package/dist/fonts/msam8.woff2 +0 -0
- package/dist/fonts/msam9.woff2 +0 -0
- package/dist/fonts/msbm10.woff2 +0 -0
- package/dist/fonts/msbm5.woff2 +0 -0
- package/dist/fonts/msbm6.woff2 +0 -0
- package/dist/fonts/msbm7.woff2 +0 -0
- package/dist/fonts/msbm8.woff2 +0 -0
- package/dist/fonts/msbm9.woff2 +0 -0
- package/dist/fonts.css +560 -0
- package/dist/run-tex.js +1 -0
- package/dist/tex_files/amsbsy.sty.gz +0 -0
- package/dist/tex_files/amsfonts.sty.gz +0 -0
- package/dist/tex_files/amsgen.sty.gz +0 -0
- package/dist/tex_files/amsmath.sty.gz +0 -0
- package/dist/tex_files/amsopn.sty.gz +0 -0
- package/dist/tex_files/amssymb.sty.gz +0 -0
- package/dist/tex_files/amstext.sty.gz +0 -0
- package/dist/tex_files/array.sty.gz +0 -0
- package/dist/tex_files/etoolbox.sty.gz +0 -0
- package/dist/tex_files/expl3.sty.gz +0 -0
- package/dist/tex_files/hf-tikz.sty.gz +0 -0
- package/dist/tex_files/ifthen.sty.gz +0 -0
- package/dist/tex_files/l3backend-dvips.def.gz +0 -0
- package/dist/tex_files/pgfcalendar.code.tex.gz +0 -0
- package/dist/tex_files/pgfcalendar.sty.gz +0 -0
- package/dist/tex_files/pgfint.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryarrows.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryarrows.meta.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarybbox.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarycurvilinear.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydatavisualization.barcharts.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydatavisualization.formats.functions.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydatavisualization.polar.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.footprints.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.fractals.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.markings.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.pathmorphing.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.pathreplacing.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.shapes.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarydecorations.text.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryfadings.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryfixedpointarithmetic.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryfpu.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryintersections.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarylindenmayersystems.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarypatterns.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarypatterns.meta.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarypgfplots.surfshading.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryplotmarks.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshadings.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.arrows.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.callouts.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.gates.ee.IEC.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.gates.ee.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.gates.logic.IEC.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.gates.logic.US.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.gates.logic.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.geometric.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.misc.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.multipart.code.tex.gz +0 -0
- package/dist/tex_files/pgflibraryshapes.symbols.code.tex.gz +0 -0
- package/dist/tex_files/pgflibrarysvg.path.code.tex.gz +0 -0
- package/dist/tex_files/pgfmoduleanimations.code.tex.gz +0 -0
- package/dist/tex_files/pgfmodulebending.code.tex.gz +0 -0
- package/dist/tex_files/pgfmoduledatavisualization.code.tex.gz +0 -0
- package/dist/tex_files/pgfmoduledecorations.code.tex.gz +0 -0
- package/dist/tex_files/pgfmodulenonlineartransformations.code.tex.gz +0 -0
- package/dist/tex_files/pgfmoduleoo.code.tex.gz +0 -0
- package/dist/tex_files/pgfmoduleparser.code.tex.gz +0 -0
- package/dist/tex_files/pgfplots.code.tex.gz +0 -0
- package/dist/tex_files/pgfplots.errorbars.code.tex.gz +0 -0
- package/dist/tex_files/pgfplots.markers.code.tex.gz +0 -0
- package/dist/tex_files/pgfplots.paths.code.tex.gz +0 -0
- package/dist/tex_files/pgfplots.revision.tex.gz +0 -0
- package/dist/tex_files/pgfplots.scaling.code.tex.gz +0 -0
- package/dist/tex_files/pgfplots.sty.gz +0 -0
- package/dist/tex_files/pgfplotsarray.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsbinary.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsbinary.data.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotscolor.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotscolormap.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotscoordprocessing.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotscore.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsdeque.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotslibrary.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsliststructure.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsliststructureext.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsmatrix.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsmeshplothandler.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsmeshplotimage.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsoldpgfsupp_loader.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsoldpgfsupp_pgfutil-common-lists.tex.gz +0 -0
- package/dist/tex_files/pgfplotsplothandlers.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsstackedplots.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotssysgeneric.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotstableshared.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsticks.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsutil.code.tex.gz +0 -0
- package/dist/tex_files/pgfplotsutil.verb.code.tex.gz +0 -0
- package/dist/tex_files/pgfsys-luatex.def.gz +0 -0
- package/dist/tex_files/pgfsysanimations.code.tex.gz +0 -0
- package/dist/tex_files/tikz-3dplot.sty.gz +0 -0
- package/dist/tex_files/tikz-cd.sty.gz +0 -0
- package/dist/tex_files/tikzlibrary3d.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryangles.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryanimations.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryarrows.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryautomata.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarybabel.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarybackgrounds.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarybending.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycalc.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycalendar.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycd.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarychains.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.ee.IEC.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.ee.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.logic.CDH.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.logic.IEC.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.logic.US.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarycircuits.logic.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydatavisualization.3d.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydatavisualization.barcharts.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydatavisualization.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydatavisualization.formats.functions.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydatavisualization.polar.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydatavisualization.sparklines.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.footprints.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.fractals.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.markings.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.pathmorphing.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.pathreplacing.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.shapes.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarydecorations.text.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryer.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryfadings.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryfit.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryfixedpointarithmetic.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryfolding.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryfpu.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarygraphs.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarygraphs.standard.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryintersections.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarylindenmayersystems.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarymath.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarymatrix.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarymindmap.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarypatterns.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarypatterns.meta.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryperspective.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarypetri.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarypgfplots.contourlua.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryplothandlers.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryplotmarks.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarypositioning.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryquotes.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryrdf.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryscopes.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshadings.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshadows.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.arrows.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.callouts.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.gates.logic.IEC.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.gates.logic.US.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.geometric.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.misc.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.multipart.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryshapes.symbols.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarysnakes.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryspy.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarysvg.path.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarythrough.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibrarytrees.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryturtle.code.tex.gz +0 -0
- package/dist/tex_files/tikzlibraryviews.code.tex.gz +0 -0
- package/dist/tex_files/tkz-tab.sty.gz +0 -0
- package/dist/tex_files/umsa.fd.gz +0 -0
- package/dist/tex_files/umsb.fd.gz +0 -0
- package/dist/tex_files/xparse.sty.gz +0 -0
- package/dist/tikzjax.js +1 -0
- package/package.json +61 -0
package/README.md
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# TikZJax
|
|
2
|
+
|
|
3
|
+
TikZJax converts `<script>` tags (containing TikZ code) into SVGs.
|
|
4
|
+
|
|
5
|
+
See a live demo at [tikzjax.com](http://tikzjax.com/).
|
|
6
|
+
|
|
7
|
+
Note that the demo above is not the same as what you will get from what this branch of my fork. However, it does show
|
|
8
|
+
the general concept.
|
|
9
|
+
|
|
10
|
+
Thanks to Jim Fowler for doing all of the hard work. See [kisonecat/tikzjax](https://github.com/kisonecat/tikzjax),
|
|
11
|
+
[kisonecat/web2js](https://github.com/kisonecat/web2js), and [kisonecat/dvi2html](https://github.com/kisonecat/dvi2html)
|
|
12
|
+
for his original work.
|
|
13
|
+
|
|
14
|
+
Also see [jhoobergs/web2js](https://github.com/jhoobergs/web2js) for additional changes that were made by Jesse Hoobergs
|
|
15
|
+
that were used in this work.
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
In the `<head>` of your HTML, include
|
|
20
|
+
|
|
21
|
+
```html
|
|
22
|
+
<link rel="stylesheet" href="http[s]://<path to dist contents>/fonts.css">
|
|
23
|
+
<script src="http[s]://<path to dist contents>/tikzjax.js"></script>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
(See [Deployment](#deployment) below.)
|
|
27
|
+
|
|
28
|
+
Then in the `<body>`, include TikZ code such as
|
|
29
|
+
|
|
30
|
+
```html
|
|
31
|
+
<script type="text/tikz">
|
|
32
|
+
\begin{tikzpicture}
|
|
33
|
+
\draw (0,0) circle (1in);
|
|
34
|
+
\end{tikzpicture}
|
|
35
|
+
</script>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The TikZ code will be compiled into an SVG image, and the `<script>` element will be replaced with the generated SVG
|
|
39
|
+
image.
|
|
40
|
+
|
|
41
|
+
## How does this work?
|
|
42
|
+
|
|
43
|
+
Using the main branch of [drgrice1/web2js](https://github.com/drgrice1/web2js) the Pascal source of `TeX` is compiled to
|
|
44
|
+
WebAssembly, and the `LaTeX` format is loaded (without all the hyphenation data). Then
|
|
45
|
+
|
|
46
|
+
```tex
|
|
47
|
+
\documentclass[margin=0pt]{standalone}
|
|
48
|
+
\def\pgfsysdriver{pgfsys-ximera.def}
|
|
49
|
+
\usepackage[svgnames]{xcolor}
|
|
50
|
+
\usepackage{tikz}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
is executed. Then the core is dumped and compressed. The WebAssembly and core are loaded in the browser and executed. An
|
|
54
|
+
SVG driver for PGF along with the [drgrice1/dvi2thml](https://github.com/drgrice1/dvi2html) library are then utilized to
|
|
55
|
+
convert the DVI output into to an SVG image.
|
|
56
|
+
|
|
57
|
+
All of this happens in the browser.
|
|
58
|
+
|
|
59
|
+
Note that TeX will only be run the first time that a "text/tikz" script tag appears in a page. After that run of TeX,
|
|
60
|
+
the SVG image will be cached, and the next time the same "text/tikz" script appears the cached SVG image will be loaded.
|
|
61
|
+
If the text content of the script tag or any of the `data` attributes (described below) are changed, then TeX will be
|
|
62
|
+
run again to update the image.
|
|
63
|
+
|
|
64
|
+
## Options
|
|
65
|
+
|
|
66
|
+
There are several data attributes that can be set for a "text/tikz" `<script>` tag that affect the generation of the
|
|
67
|
+
resulting SVG image, or change the way the TikzJax javascript behaves.
|
|
68
|
+
|
|
69
|
+
The values of the `data-width` and `data-height` attributes set on the `<script>` tag will be used for the width and
|
|
70
|
+
height of a loader image. This is an svg image that is displayed while TeX is being run to generate the svg image, and
|
|
71
|
+
contains a spinner to indicate to the user that work is being done. These dimensions are in points.
|
|
72
|
+
|
|
73
|
+
Use `data-tex-packages` to load and use TeX packages. The value of this attribute must be a string that will parse to a
|
|
74
|
+
valid javascript object via the javascript JSON.parse method. The keys of the object should be the TeX package names,
|
|
75
|
+
and the value of each key should be the package options to set. For example:
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<script type="text/tikz" data-tex-packages='{ "array": "", "pgfplots": "", "custom-package": "option=special" }'>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
will add
|
|
82
|
+
|
|
83
|
+
```tex
|
|
84
|
+
\usepackage{array}
|
|
85
|
+
\usepackage{pgfplots}
|
|
86
|
+
\usepackage[option=special]{custom-package}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
to the preamble of the TeX input. Note that TeX packages must be loaded in this way. This will ensure that the needed
|
|
90
|
+
TeX system files are made available to the TeX WebAssembly for successful compilation. Note that the TeX packages that
|
|
91
|
+
are available at this time are `amsbsy`, `amsfonts`, `amsgen`, `amsmath`, `amsopn`, `amssymb`, `amstext`, `array`,
|
|
92
|
+
`etoolbox`, `hf-tikz`, `pgfplots`, `tikz-3dplot`, `tikz-cd`, and `xparse`. Additional packages can be made available by
|
|
93
|
+
adding the gzipped TeX files used by the package to the `tex_files` directory.
|
|
94
|
+
|
|
95
|
+
Use `data-tikz-libraries` to load and use TikZ libraries. For example:
|
|
96
|
+
|
|
97
|
+
```html
|
|
98
|
+
<script type="text/tikz" data-tikz-libraries="arrows.meta,calc">
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
will result in
|
|
102
|
+
|
|
103
|
+
```tex
|
|
104
|
+
\usetikzlibrary{arrows.meta,calc}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
being added to the preamble of the TeX input. As with TeX packages, TikZ libraries must be loaded in this way to ensure
|
|
108
|
+
that the needed TeX system files are made available to the TeX WebAssembly for successful compilation. Note that all
|
|
109
|
+
known TikZ libraries are available (with the exception of some that don't make sense in this context, like the external
|
|
110
|
+
library).
|
|
111
|
+
|
|
112
|
+
Use `data-add-to-preamble="..."` to add to the TeX preamble.
|
|
113
|
+
|
|
114
|
+
An SVG title can be added for screen reader users by setting `data-aria-label`.
|
|
115
|
+
|
|
116
|
+
The `data-disable-cache` attribute can be set to `true` to disable caching of an image in the indexed database.
|
|
117
|
+
|
|
118
|
+
Use `data-show-console="true"` to enable the output of TeX in the console. By default, console output is disabled and
|
|
119
|
+
nothing is shown in the browser console. If this data attribute is set, then you will see
|
|
120
|
+
|
|
121
|
+
```text
|
|
122
|
+
This is e-TeX, Version 3.14159265-2.6 (preloaded format=latex 1776.7.4)
|
|
123
|
+
**entering extended mode
|
|
124
|
+
(input.tex
|
|
125
|
+
LaTeX2e <2020-02-02> patch level 2
|
|
126
|
+
...
|
|
127
|
+
Transcript written on input.log.
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
output to the console. This is useful when testing your TikZ code to ensure that it compiles successfully, but should be
|
|
131
|
+
left disabled for production.
|
|
132
|
+
|
|
133
|
+
## CSS Classes
|
|
134
|
+
|
|
135
|
+
For your convenience, some css classes are provided that will apply common styles to the svg image. To use these classes
|
|
136
|
+
place the "text/tikz" script tags inside an html element with one of the following classes.
|
|
137
|
+
|
|
138
|
+
If you add the css class `tikzjax-container` to the containing element, then `overflow:visible` will be added to the
|
|
139
|
+
style of the generated `<svg>` image.
|
|
140
|
+
|
|
141
|
+
If you add the css class `tikzjax-scaled-container` to the containing element, then `overflow:visible`, `width:100%`,
|
|
142
|
+
and `height:100%` will be added to the style of the generated `<svg>` image.
|
|
143
|
+
|
|
144
|
+
## Other JavaScript Interactions
|
|
145
|
+
|
|
146
|
+
Note that once tikzjax completes the generation of an SVG image, the generated `<svg>` image will emit the
|
|
147
|
+
`tikzjax-load-finished` event. You can use this event to do something with the generated SVG image in javascript.
|
|
148
|
+
|
|
149
|
+
For example:
|
|
150
|
+
|
|
151
|
+
```javascript
|
|
152
|
+
document.addEventListener('tikzjax-load-finished', function(e) {
|
|
153
|
+
var svg = e.srcElement;
|
|
154
|
+
...
|
|
155
|
+
});
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Building
|
|
159
|
+
|
|
160
|
+
First clone this GitHub repository [https://github.com/drgrice1/tikzjax](https://github.com/drgrice1/tikzjax).
|
|
161
|
+
|
|
162
|
+
Then clone my fork of web2js [https://github.com/drgrice1/web2js](https://github.com/drgrice1/web2js). Follow the
|
|
163
|
+
directions in the README for a "quick path to generate the tex.wasm and core.dump files". Then copy the generated
|
|
164
|
+
core.dump and tex.wasm files to the tikzjax directory, and gzip them.
|
|
165
|
+
|
|
166
|
+
Finally run
|
|
167
|
+
|
|
168
|
+
```sh
|
|
169
|
+
npm install
|
|
170
|
+
npm run build
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
in the tikzjax directory to build the tikzjax distribution. Note that in order for this full build to be successful you
|
|
174
|
+
must have a TeX distribution installed with the necessary TeX and TikZ files available and locatable by `kpsewhich`.
|
|
175
|
+
|
|
176
|
+
## Deployment
|
|
177
|
+
|
|
178
|
+
The `dist` directory that is generated by the build process above will contain everything needed. Copy the contents to
|
|
179
|
+
your server for deployment. To use it in a webpage add
|
|
180
|
+
|
|
181
|
+
```html
|
|
182
|
+
<link rel="stylesheet" type="text/css" href="http[s]://<path to dist contents>/fonts.css">
|
|
183
|
+
<script src="http[s]://<path to dist contents>/tikzjax.js"></script>
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
to the html page. Of course use `http:` or `https:` instead of `http[s]:` (or remove that entirely for a protocol
|
|
187
|
+
agnostic approach) and adjust `<path to dist contents>` as needed.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|