aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 48e5987..f6890ed 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -719,3 +719,12 @@ function abraces(str)
719 end 719 end
720 return str 720 return str
721end 721end
722
723function aemph(str)
724 if tex.textdir == "TRT" then
725 str = "$\\overline{\\text{"..str.."}}$"
726 elseif tex.textdir == "TLT" then
727 str = "$\\underline{\\text{"..str.."}}$"
728 end
729 return str
730end