latex3 / babel

The multilingual framework to localize LaTeX, LuaLaTeX and XeLaTeX
https://latex3.github.io/babel/
LaTeX Project Public License v1.3c
130 stars 35 forks source link

LuaLaTeX, bidi=basic and Tikz awkward behaviour #121

Closed jbezos closed 2 years ago

jbezos commented 3 years ago

From https://tex.stackexchange.com/questions/586850/lualatex-bidi-basic-and-tikz-awkward-behaviour . Here is a minimal example:

\documentclass[tikz,margin=5cm]{standalone}
\usepackage{tikz}
%:Language
\usepackage[nil, bidi=basic]{babel}
\babelprovide[import,main]{hebrew}
\babelprovide[import=en]{english}
\begin{document}
\begin{tikzpicture}[]
\node[
draw=red,
minimum size=1cm,
]
(a) at(0,0){A};
\node[
draw=red,
minimum size=1cm,
anchor=south east,
]
at (a.north west) {B};
\end{tikzpicture}
\end{document}