由於某種原因,第二個節點的文字沒有印在節點的框中,而是印在 tikzpicture 的完全相反的一側。
關於如何修復它有什麼想法嗎?
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{positioning,backgrounds}
\usepackage[english,hebrew,bidi=basic,provide=*]{babel}
\babelfont[hebrew]{sf}[Script=Hebrew]{Arial}
\begin{document}
\begin{frame}
\begin{tikzpicture}[background rectangle/.style={fill=gray!33}, show background rectangle]
\node [draw,text width=0.75\textwidth, align=left, outer sep=0pt,inner sep=0pt](n1) {%
לורם איפסום דולור סיט אמט.
};
\node [draw,below = 0pt of n1.south east,anchor=north east,outer sep=0pt,inner sep=0pt](n2) {%
שלום עולם};
\filldraw (n2) circle (1pt);
\end{tikzpicture}
\end{frame}
\end{document}
(MWE 與投影機一起使用,但也與文章和書籍一起發生)