From 2e19b51d0f23c572968b6c50abb1b1d210ffb131 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Thu, 13 Oct 2022 13:45:27 +0200
Subject: use \reset@font in \LR

---
 arabluatex.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index 503a1b2..b2e2f24 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -5156,8 +5156,8 @@
 % it to suit our purpose:
 %    \begin{macrocode}
 \AtBeginDocument{\ifdef{\LR}%
-  {\RenewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\rmfamily#1\egroup}}
-  {\NewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\rmfamily#1\egroup}}}
+  {\RenewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\reset@font#1\egroup}}
+  {\NewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\reset@font#1\egroup}}}
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\SetArbNumbers}
-- 
cgit v1.2.3

