ngz pushed a commit to branch master
in repository guix.
commit 6db8e5e62f806062f2b7167de3680f810ab9b288
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Mon Aug 21 12:16:26 2023 +0200
gnu: Add texlive-feyn.
* gnu/packages/tex.scm (texlive-feyn): New variable.
---
gnu/packages/tex.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 608909ce72..f43c871468 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11885,6 +11885,31 @@ It can make it easy to write theses both in Chinese
and English.")
Logo fonts to complete the Type 1 encoding.")
(license license:lppl1.3+)))
+(define-public texlive-feyn
+ (package
+ (name "texlive-feyn")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/fonts/feyn/"
+ "fonts/source/public/feyn/"
+ "fonts/tfm/public/feyn/"
+ "source/fonts/feyn/" "tex/latex/feyn/")
+ (base32
+ "0kd5xs1xffgplpapj6rjv4aaz7pfjfh8rspy2xrabbf03npkdqz5")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (native-inputs (list texlive-metafont texlive-sauter))
+ (home-page "https://ctan.org/pkg/feyn")
+ (synopsis "Font for in-text Feynman diagrams")
+ (description
+ "Feyn may be used to produce relatively simple Feynman diagrams within
+equations in a LaTeX document. While the @code{feynmf} package is good at
+drawing large diagrams for figures, the present package and its fonts allow
+diagrams within equations or text, at a matching size. The fonts are
+distributed as Metafont source, and macros for their use are also provided.")
+ (license license:bsd-2)))
+
(define-public texlive-figbas
(package
(name "texlive-figbas")