-
-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Labels
category graphicsenhancementlong-termissues/enhancements that will not be resolved any time soon; could/should be considered eventuallyissues/enhancements that will not be resolved any time soon; could/should be considered eventually
Description
Brief outline of the bug
In right to left text (pdflatex or xelatex ) colors of text with \color command do not appear correctly
in particular the first and last line of colored text
Here clarification of the problem
https://tex.stackexchange.com/q/438323/54817
Minimal example showing the bug
\documentclass[12pt]{article}
\usepackage{xcolor}
\usepackage{fontspec} % with xetex
\setmainfont{Amiri} % with xetex
\TeXXeTstate=1 % allow right to left writing
\parindent=0pt
\begin{document}
\beginR
before {\color{red} text from right to left text from right to left text from right to left text from right to left text from right to left text from right to left text from right to left text from right to left } after
\end{document}
Log file (required) and possibly PDF file
Metadata
Metadata
Assignees
Labels
category graphicsenhancementlong-termissues/enhancements that will not be resolved any time soon; could/should be considered eventuallyissues/enhancements that will not be resolved any time soon; could/should be considered eventually