Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kashida in color texts #24

Open
nikpayam opened this issue Aug 31, 2020 · 0 comments
Open

Kashida in color texts #24

nikpayam opened this issue Aug 31, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nikpayam
Copy link

nikpayam commented Aug 31, 2020

The horizontal lines produced by Kashida feature do not follow the color of the font.
image

Related to this parsilatex post.

Minimal example showing the issue

%In the Name of God, Most Gracious, Most Merciful

\documentclass[11pt, a4paper]{book}

\usepackage{xecolor}
\usepackage[Kashida]{xepersian}

\settextfont[Scale=2]{IRNazanin}

\begin{document}
\def\sampletext{وی دهقان و دهقان‌زاده بود. او آغاز زندگی را در روزگار سامانیان و هم‌زمان با جنبش استقلال‌خواهی و هویت‌طلبی در میان ایرانیان سپری کرد.}
\noindent
\sampletext
\\
{\xecolor{red} \sampletext}
\end{document}
@nikpayam nikpayam added the bug Something isn't working label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants