From aceb696cb0d701b364514b68dc04de3398b8e5bc Mon Sep 17 00:00:00 2001 From: Fabio Natali Date: Sat, 16 Jul 2022 15:46:18 +0100 Subject: [PATCH] gnu: Add texlive-ragged2e. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-ragged2e): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2f2cb3a697..2d6425773c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11224,3 +11224,23 @@ (define-public texlive-ltablex fixed-width table) with those of the @code{longtable} package (multi-page tables).") (license license:lppl))) + +(define-public texlive-ragged2e + (package + (inherit + (simple-texlive-package + "texlive-ragged2e" + (list "doc/latex/ragged2e/" + "source/latex/ragged2e/" + "tex/latex/ragged2e/") + (base32 "1cxj5jdgvr3xk1inrb3yzpm3l386jjawgpqiwsz53k6yshb6yfml") + #:trivial? #t)) + (home-page "https://ctan.org/pkg/ragged2e") + (synopsis "Alternative versions of \"ragged\"-type commands") + (description + "The @code{ragged2e} package defines new commands @code{\\Centering}, @code{\\RaggedLeft}, +and @code{\\RaggedRight} and new environments @code{Center}, @code{FlushLeft}, +and @code{FlushRight}, which set ragged text and are easily configurable to +allow hyphenation (the corresponding commands in LaTeX, all of whose names are +lower-case, prevent hyphenation altogether).") + (license license:lppl1.3c)))