aboutsummaryrefslogtreecommitdiff
path: root/data/templates/common.latex
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/common.latex')
-rw-r--r--data/templates/common.latex6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/common.latex b/data/templates/common.latex
index cb745941d..5f32758ed 100644
--- a/data/templates/common.latex
+++ b/data/templates/common.latex
@@ -234,6 +234,12 @@ $if(dir)$
\newenvironment{RTL}{\beginR}{\endR}
\newenvironment{LTR}{\beginL}{\endL}
\fi
+\ifluatex
+ \newcommand{\RL}[1]{\bgroup\textdir TRT#1\egroup}
+ \newcommand{\LR}[1]{\bgroup\textdir TLT#1\egroup}
+ \newenvironment{RTL}{\textdir TRT\pardir TRT\bodydir TRT}{}
+ \newenvironment{LTR}{\textdir TLT\pardir TLT\bodydir TLT}{}
+\fi
$endif$
$--
$-- bibliography support support for natbib and biblatex