Open jiaopjie opened 2 years ago
My understanding of this is that it is actually an issue with the xetex driver for pgf. There is an open issue on the pgf repository for this at https://github.com/pgf-tikz/pgf/issues/353 and it was raised on TeX-SX some time ago at https://tex.stackexchange.com/q/229500/86.
Looking at the commits on the pgf repository, a fix was implemented but then reverted, so I imagine that the proposed fix had some issues elsewhere. Nevertheless, the suggestion there (which, I think, came from the TeX-SX thread) may work in specific cases so you could try it.
When use the command
\subnode
to label some texts, some problem appears. The following is the codes.The target of![20220429201249](https://user-images.githubusercontent.com/9783188/165942200-3f3f822c-0e9d-4d6e-8012-3fdfc603af92.jpg)
f
defined by\subnode
will be wrong if compile with xelatex. The result looks like the picture.But, when compile using pdflatex or lualatex, the problem disappears.![20220429201500](https://user-images.githubusercontent.com/9783188/165942418-b2f47a46-aacc-4778-89a1-3f7ecd2669d1.jpg)
I don't know whether the problem is due to
tikzmark
or xelatex itself.