mathml1.7 package

Translate R Expressions to 'MathML' and 'LaTeX'/'MathJax'

add_left

add_left

add_right

add_right

add

add

cal

Calligraphic font

canonical

Canonicalize an R call: Reorder the function arguments

decorations

Identity functions for different decorations

denote

denote This is a function that allows the user to insert abbreviations...

dfrac

Division displayed as large fraction

dot

Multiplication

fname

Return function body

fontstyles

Identity functions for different font styles

frac

Division displayed as fraction

grapes-.-grapes

Product x * y, shown as x dot y

grapes-dbldown-grapes

Down double arrow, displayed as x dArr y

grapes-dblup-grapes

Up double arrow, displayed as x uArr y

grapes-down-grapes

Down arrow, presented as x downarrow y

grapes-equals-grapes

Equivalence, shown as x == y

grapes-equals-greater-than-grapes

Left double arrow, displayed as x <= y

grapes-equals-twiddle-grapes

Congruence, shown as x =~ y

grapes-greater-than-grapes

Right arrow, presented as x -> y

grapes-less-than-equals-grapes

Right double arrow, displayed as x => y

grapes-less-than-equals-greater-than-grapes

If and only if condition, displayed as x <=> y

grapes-plus-grapes

Plus Minus, it shows x and calculates x +- y

grapes-prop-grapes

Proportional, shown as x o< y

grapes-set-grapes

Left arrow, presented as x <- y

grapes-set-greater-than-grapes

Double sided arrow, presented as x <-> y

grapes-twiddle-twiddle-grapes

Approximate equality, shown as x ~~ y

grapes-up-grapes

Up arrow, presented as x up y

hook

Hook for custom symbols

instead

instead

math

Adds the class "math" to the object for knitr output via mathout()

mathjax

Mathjax output

mathml_preproc

Map R operators to their respective Prolog counterparts

mathml

MathML output

mathout

MathML or MathJax output, depending on the knitr context

name

Add a name attribute to an element (most often, an R function)

omit_left

omit_left This is a function that allows the user to highlight the mis...

omit_right

omit_right This is a function that allows the user to highlight the mi...

omit

omit

prod_over

product over a range. On the R side, this function just returns the pr...

sum_over

sum over a range. On the R side, this function just returns the first ...

Translate R expressions to 'MathML' or 'MathJax'/'LaTeX' so that they can be rendered in R markdown documents and shiny apps. This package depends on R package 'rolog', which requires an installation of the 'SWI'-'Prolog' runtime either from 'swi-prolog.org' or from R package 'rswipl'.

  • Maintainer: Matthias Gondan
  • License: FreeBSD
  • Last published: 2026-01-18