diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-30 16:28:29 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-30 19:41:52 +0200 |
commit | 235a3e622149dde7f6afbb4bbf26a8cca9eb806d (patch) | |
tree | 73f38daf59ce96b755eda245641f21327ccf2928 /gnu | |
parent | fd64f7d6d59192f9573c5f5b8dad391f20941bfe (diff) | |
download | guix-235a3e622149dde7f6afbb4bbf26a8cca9eb806d.tar.gz |
gnu: Add texlive-longdivision.
* gnu/packages/tex.scm (texlive-longdivision): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index db76eff316..8f7b59dd57 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4381,6 +4381,33 @@ proofs and boxes. It creates proofs in a style similar to that used in @emph{Logic in Computer Science} by Huth and Ryan.") (license license:lppl1.3+))) +(define-public texlive-longdivision + (package + (name "texlive-longdivision") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/longdivision/" + "tex/latex/longdivision/") + (base32 + "110jy01n8n8gmanvfv4sngmrgh2hrgkd1h37g3rdbwgq7s5iffaw"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/longdivision") + (synopsis "Typesets long division") + (description + "This package executes the long division algorithm and typesets the solutions. +The dividend must be a positive decimal number and the divisor must be +a positive integer. Repeating decimals is handled correctly, putting a bar +over the repeated part of the decimal. + +The package defines two macros, @code{\\longdivision} and +@code{\\intlongdivision}. Each takes two arguments, a dividend and +a divisor. @code{\\longdivision} keeps dividing until the remainder is zero, +or it encounters a repeated remainder. @code{\\intlongdivision} stops when the +dividend stops (though the dividend doesn't have to be an integer).") + (license license:lppl))) + (define-public texlive-bibtex8 (package (name "texlive-bibtex8") |