smfrac {Tex4exams}R Documentation

Convert multiple decimals into TeX code of back slash fractions

Description

The function converts multiple decimals into TeX code of back slash fractions.

Usage

smfrac(z)

Arguments

z

a list of decimal numbers.

Value

The function returns a string of TeX code for the numbers in back slash fraction form.

Note

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

See Also

mfrac,rfracF,rfrac

Examples

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


[Package Tex4exams version 0.1.2 Index]