rfrac {Tex4exams}R Documentation

Convert a decimal into TeX code of vertical fractions

Description

The function converts a decimal into TeX code of vertical fractions, using functions 'denominators' and 'numerators' from the package 'fractional'.

Usage

rfrac(x)

Arguments

x

a list of decimal numbers.

Value

The function returns a string of TeX code for the number in vertical fraction form.

Note

The function depends on the package 'fractional'.

See Also

mfrac,smfrac,rfracF

Examples

x <-  sample(c(1:55),1)/100
rfrac(x)


[Package Tex4exams version 0.1.2 Index]