guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

122/245: gnu: Add texlive-longdivision.


From: guix-commits
Subject: 122/245: gnu: Add texlive-longdivision.
Date: Sun, 30 Jul 2023 13:46:49 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 235a3e622149dde7f6afbb4bbf26a8cca9eb806d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jul 30 16:28:29 2023 +0200

    gnu: Add texlive-longdivision.
    
    * gnu/packages/tex.scm (texlive-longdivision): New variable.
---
 gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]