From 3f57677d26a3a92f87f38c25ca2d7ddeaf066bbd Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Mon, 26 Jun 2023 14:56:53 +0200
Subject: [PATCH] gnu: Add texlive-luamathalign.

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b3737b723b..2f6f207312 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -16626,6 +16626,27 @@ (define-public texlive-lualinalg
 modified or extended by writing custom Lua programs.")
     (license license:lppl1.3c)))
 
+(define-public texlive-luamathalign
+  (package
+    (name "texlive-luamathalign")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/lualatex/luamathalign/"
+                   "source/lualatex/luamathalign/"
+                   "tex/lualatex/luamathalign/")
+             (base32
+              "0lj5lc6s30l9k83xrwfjva0v7c9ajv22ybsaz07hadgj17fxqbdn")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/luamathalign")
+    (synopsis "More flexible alignment in @code{amsmath} environments")
+    (description
+     "This package allows aligning mathematical expressions on points where
+directly using @samp{&} is not possible, especially in nested macros or
+environments.")
+    (license license:lppl1.3c)))
+
 (define-public texlive-babel-czech
   (package
     (name "texlive-babel-czech")