mfrac: Convert multiple decimals into tex code of vertical fractions

View source: R/mfrac.R

mfracR Documentation

Convert multiple decimals into tex code of vertical fractions

Description

The function converts multiple decimals into tex code of vertical fractions.

Usage

mfrac(z)

Arguments

z

a list of decimal numbers.

Value

The function returns a string of tex code for the numbers in vertical fraction form.

Note

The function used function 'rfrac' in the same package which depends on the package 'fractional'.

See Also

smfrac,rfracF,rfrac

Examples

z <- sample(c(1:55),6)/100
mfrac(z)


Tex4exams documentation built on May 31, 2023, 8:04 p.m.

Related to mfrac in Tex4exams...