Package: Tex4exams 0.1.2

Qingwen Hu

Tex4exams: Generating 'Sweave' Code for 'R/exams' Questions in Mathematics

When using the R package 'exams' to write mathematics questions in 'Sweave' files, the output of a lot of R functions need to be adjusted for display in mathematical formulas. Specifically, the functions were accumulated when writing questions for the topics of the mathematics courses College Algebra, Precalculus, Calculus, Differential Equations, Introduction to Probability, and Linear Algebra. The output of the developed functions can be used in 'Sweave' files.

Authors:Qingwen Hu [aut, cre, cph]

Tex4exams_0.1.2.tar.gz
Tex4exams_0.1.2.tar.gz(r-4.5-noble)Tex4exams_0.1.2.tar.gz(r-4.4-noble)
Tex4exams_0.1.2.tgz(r-4.4-emscripten)Tex4exams_0.1.2.tgz(r-4.3-emscripten)
Tex4exams.pdf |Tex4exams.html
Tex4exams/json (API)

# Install 'Tex4exams' in R:
install.packages('Tex4exams', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 147 downloads 29 exports 5 dependencies

Last updated 2 years agofrom:6fe9bca02a. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-linuxNOTENov 20 2024

Exports:c2pc2strc2strpmcm2lcostexcycledisplaydelzerofmt4fmtNG3Shypotexinversionsinversionvm22lm2lmfracmyGSpermpermucyclepermuorderposrcm2lrfracrfracFrm2lsignFsimpRadsintexsmfrac

Dependencies:fractionalnumberspolynompracmaRcpp

Readme and manuals

Help Manual

Help pageTopics
Rational number sequence to polynomial in TeX codec2p
Sequence of rational numbers into comma separated stringc2str
Sequence of numbers into a string of TeX code with plus minus signs.c2strpm
Convert a matrix into a comma separated string.cm2l
Triangle leg values to TeX code of the cosine valuecostex
Display the cycle notation of the permutationcycledisplay
Delete the first zero in the output remainder of 'polydiv'delzero
Convert a decimal number into exactly 4 decimal places.fmt4
Convert a decimal number into exactly n decimal places.fmtN
Apply the Gram-Schmidt process to orthogonize a group of 3 vectorsG3S
TeX code of the hypotenusehypotex
Count the number of total inversions of a permutationinversions
Generating a vector of inversions for a permutationinversionv
Converting a matrix into TeX code of a matrix without bracketsm22l
Converting a matrix into TeX code of a matrix with square bracketsm2l
Convert multiple decimals into tex code of vertical fractionsmfrac
Orthogonal projection of y onto xmyGS
Lists permutations of a vector with distinct entriesperm
Matrix representation of the cycles of a permutation.permucycle
Order of permutationpermuorder
TeX code for positivity of randomized valuespos
Converting a matrix into a comma separated stringrcm2l
Convert a decimal into TeX code of vertical fractionsrfrac
Convert a decimal into TeX code of vertical fractions with the sign in front of the fractionrfracF
Convert a matrix into its transpose in TeX coderm2l
Show minus sign in front of fractionssignF
Simplify square roots of positive integerssimpRad
Triangle leg values to TeX code of the cosine valuesintex
Convert multiple decimals into TeX code of back slash fractionssmfrac