diff options
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua b/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua index 48e59871033..f6890edc432 100644 --- a/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua +++ b/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua @@ -719,3 +719,12 @@ function abraces(str) end return str end + +function aemph(str) + if tex.textdir == "TRT" then + str = "$\\overline{\\text{"..str.."}}$" + elseif tex.textdir == "TLT" then + str = "$\\underline{\\text{"..str.."}}$" + end + return str +end |