Tag Info

New answers tagged

1

I have modified your example to answer the questions. For the first question, the before upper code is changed if a title is present, see code={\ifstrempty ... For the second question, the underlay is changed in dependency of the break state. I also changed overlay to underlay, because it is nearly the same thing but you can use it several times for the ...


0

The matter is quite convoluted, but adding \normalfont after \begin{document} solves the issue.


2

This may be helpful \documentclass{book} \usepackage[most]{tcolorbox} \tcbuselibrary{skins,breakable} \usepackage{fontspec} \setmainfont{Times New Roman} \setsansfont{Arial} \setmonofont{Courier New} \newfontfamily{\arabicfont}[Script=Arabic,Scale=1.5]{Traditional Arabic} \usepackage{polyglossia} \setdefaultlanguage{arabic} \newcommand{\testarab}{% ...


0

Thanks for this! It helped me a lot, but it still required some experiments to get it working. Hence, I would like to contribute a functional example here: File letter-preamble-th.tex %%% IMPORTANT --- must be compiled with XeLaTeX!!! %%% \documentclass[a4paper, footsepline, pagenumber=botcenter, fromalign=left, fromrule=below, fromemail=true, ...


3

Probably hidden use of math mode is forcing some direction nodes to intervene. You can protect the code inside \mbox \documentclass{article} \usepackage{fontspec} \usepackage{tikz} \usepackage{polyglossia} \setmainlanguage{french} \setotherlanguage{arabic} % comment that line, the problem disappears. \setmainfont[Ligatures=TeX, ...



Top 50 recent answers are included