Subject: [bug#57594] [PATCH] gnu: Add texlive-latex-pbox.

From: Wiktor Żelazny <[email-masked]>
Date: Mon, 5 Sep 2022 12:40:23 +0200

From: Wiktor Żelazny <[email-masked]>

* gnu/packages/tex.scm (texlive-latex-pbox): New variable.
---
 gnu/packages/tex.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 56308c4cf9..003f229fb0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6799,6 +6799,23 @@ (define-public texlive-latex-parskip
 designed class) helps alleviate this untidiness.")
     (license license:lppl)))
 
+(define-public texlive-latex-pbox
+  (package
+    (inherit (simple-texlive-package
+              "texlive-latex-pbox"
+              (list "doc/latex/pbox/"
+                    "tex/latex/pbox/")
+              (base32 "0902snjidmhjml01zcppcpp4j6pidin1sdvfi7gnbb5v86zd5f0n")
+              #:trivial? #t))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/pbox")
+    (synopsis "\\parbox with a variable width")
+    (description
+     "@code{pbox} defines a \\pbox{<max width>}{<text>} command which adjusts
+the box width to that of the enclosed text, up to the maximum width given.  The
+package also defines some associated length commands.")
+    (license license:gpl3+)))
+
 (define-public texlive-latex-pdfpages
   (package
     (name "texlive-latex-pdfpages")

base-commit: 31b4eea5c0d361dfbca119c27cbc1e8c6f65782a
-- 
2.37.2