guix-commits
[Top][All Lists]
Advanced

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

35/452: gnu: Add texlive-subfig.


From: guix-commits
Subject: 35/452: gnu: Add texlive-subfig.
Date: Fri, 9 Jun 2023 13:42:51 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 205bb7a7c5ddfb8b09f99b92955bb3bab64aa870
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri May 12 18:38:35 2023 +0200

    gnu: Add texlive-subfig.
    
    * gnu/packages/tex.scm (texlive-subfig): 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 c443a6c139..0deb1df8de 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7554,6 +7554,33 @@ the whole font.")
 
 (define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)
 
+(define-public texlive-subfig
+  (package
+    (name "texlive-subfig")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/subfig/" "source/latex/subfig/"
+                   "tex/latex/subfig/")
+             (base32
+              "0bq1328pb1ak91j7q8n1kh2fncr742lvff7apgf8kkxzxjfg2z9r")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-caption
+           texlive-graphics))
+    (home-page "https://ctan.org/pkg/subfig";)
+    (synopsis "Figures broken into subfigures")
+    (description
+     "The package provides support for the manipulation and reference of small
+or sub figures and tables within a single figure or table environment.  It is
+convenient to use this package when your subfigures are to be separately
+captioned, referenced, or are to be included in the List-of-Figures.  A new
+@code{\\subfigure} command is introduced which can be used inside a figure
+environment for each subfigure.  An optional first argument is used as the
+caption for that subfigure.")
+    (license license:lppl)))
+
 (define-public texlive-subfigure
   (let ((template (simple-texlive-package
                    "texlive-subfigure"



reply via email to

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