From 03d59679f3e6b9f6ffe05cbe6ae912c93b306421 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 16:00:20 +0200 Subject: [PATCH] gnu: Add texlive-scalerel. * gnu/packages/tex.scm (texlive-scalerel): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 86460f6c93..3ad56b48c4 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -94611,6 +94611,29 @@ showing a scalebar in kilometres for topographic maps to a scalebar in micrometres for an electron microscope image.") (license license:lppl))) +(define-public texlive-scalerel + (package + (name "texlive-scalerel") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/scalerel/" "tex/latex/scalerel/") + (base32 + "1l2miwqhgrcv74iy3zwi656bs89hsag1pyfs9ycbcbxs6rcp270h"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/scalerel") + (synopsis "Constrained scaling and stretching of objects") + (description + "The package provides four commands for vertically scaling and stretching +objects. Its primary function is the ability to scale/stretch and shift one +object to conform to the size of a specified second object. This feature can +be useful in both equations and schematic diagrams. Additionally, the scaling +and stretching commands offer constraints on maximum width and/or minimum +aspect ratio, which are often used to preserve legibility or for the sake of +general appearance.") + (license license:lppl1.3+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar