From b3a77978c91e04c8486ceb85e11315de721da8a8 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 24 Apr 2022 00:30:19 -0400 Subject: gnu: Add texlive-underscore. * gnu/packages/tex.scm (texlive-underscore): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 9f8fdbafdc..818316a4e5 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -664,6 +664,26 @@ (define texlive-docstrip documentation from TeX files. It is part of the LaTeX base.") (license license:lppl1.3+))) +(define-public texlive-underscore + (package + (inherit (simple-texlive-package + "texlive-underscore" + (list "/doc/latex/underscore/" + "/tex/latex/underscore/") + (base32 + "0slxsxc9azmv3gsm55jkhkv8a06wafankp55hhsdd6k4prp8szrb") + #:trivial? #t)) + (home-page "https://www.ctan.org/pkg/underscore") + (synopsis "Control the behaviour of @samp{_} in text") + (description "This package causes @code{\\_} in text mode (i.e., +@code{\\textunderscore}) to print an underscore so that hyphenation of words +either side of it is not affected; a package option controls whether an actual +hyphenation point appears after the underscore, or merely a break point. The +package also arranges that, while in text, @samp{_} itself behaves as +@code{\\textunderscore} (the behaviour of @samp{_} in maths mode is not +affected).") + (license license:lppl1.2+))) + (define-public texlive-unicode-data (package (inherit (simple-texlive-package -- cgit v1.2.3