diff options
Diffstat (limited to 'arabluatex.lua')
-rw-r--r-- | arabluatex.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index 66bbbde..43167eb 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -705,7 +705,7 @@ local function processarbtoutf(str) | |||
705 | bbody = string.sub(bbody, 2, -2) | 705 | bbody = string.sub(bbody, 2, -2) |
706 | if tonumber(bbody) ~= nil then | 706 | if tonumber(bbody) ~= nil then |
707 | bbody = abjadify(bbody) | 707 | bbody = abjadify(bbody) |
708 | return string.format("\\aemph{\\arb[novoc]{%s}}", bbody) | 708 | return string.format("\\oline*{\\arb[novoc]{%s}}", bbody) |
709 | else | 709 | else |
710 | return string.format("%s{%s}", btag, bbody) | 710 | return string.format("%s{%s}", btag, bbody) |
711 | end | 711 | end |
@@ -1149,12 +1149,12 @@ end | |||
1149 | 1149 | ||
1150 | function aemph(str, opt) | 1150 | function aemph(str, opt) |
1151 | if tex.textdir == "TRT" then | 1151 | if tex.textdir == "TRT" then |
1152 | str = "$\\overline{\\text{\\textdir TRT{}"..str.."}}$" | 1152 | str = "\\oline{\\textdir TRT{}"..str.."}" |
1153 | elseif tex.textdir == "TLT" then | 1153 | elseif tex.textdir == "TLT" then |
1154 | if opt == "over" then | 1154 | if opt == "over" then |
1155 | str = "$\\overline{\\text{"..str.."}}$" | 1155 | str = "\\oline{"..str.."}" |
1156 | else | 1156 | else |
1157 | str = "$\\underline{\\text{"..str.."}}$" | 1157 | str = "\\uline{"..str.."}" |
1158 | end | 1158 | end |
1159 | end | 1159 | end |
1160 | return str | 1160 | return str |