guix-commits
[Top][All Lists]
Advanced

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

14/47: gnu: Add texlive-latex-eqparbox.


From: Ricardo Wurmus
Subject: 14/47: gnu: Add texlive-latex-eqparbox.
Date: Mon, 17 Jul 2017 08:04:08 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit adfa7a2a8e54c5d890bcf205d9f0e3901e578604
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jul 10 08:31:28 2017 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 23211b3..82914d3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1706,6 +1706,34 @@ implementation is output device independent, and made 
very simple by relying
 on everypage.")
     (license license:lppl1.3+)))
 
+(define-public texlive-latex-eqparbox
+  (package
+    (name "texlive-latex-eqparbox")
+    (version (number->string %texlive-revision))
+    (source (origin
+              (method svn-fetch)
+              (uri (texlive-ref "latex" "eqparbox"))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "0pvmhsd4xmpil0m3c7qcgwilbk266mlkzv03g0jr8r3zd8jxlyzq"))))
+    (build-system texlive-build-system)
+    (arguments '(#:tex-directory "latex/eqparbox"))
+    (home-page "http://www.ctan.org/pkg/eqparbox";)
+    (synopsis "Create equal-widthed parboxes")
+    (description
+     "LaTeX users sometimes need to ensure that two or more blocks of text
+occupy the same amount of horizontal space on the page.  To that end, the
address@hidden package defines a new command, @code{\\eqparbox}, which works
+just like @code{\\parbox}, except that instead of specifying a width, one
+specifies a tag.  All @code{eqparbox}es with the same tag---regardless of
+where they are in the document---will stretch to fit the widest
address@hidden with that tag.  This simple, equal-width mechanism can be used
+for a variety of alignment purposes, as is evidenced by the examples in
address@hidden's documentation.  Various derivatives of @code{\\eqparbox} are
+also provided.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-latex-natbib
   (package
     (name "texlive-latex-natbib")



reply via email to

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