<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Thank you so much for your prompt reply and solution to the problem.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I am attaching the MWE and pdf output using \textcolor.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Appreciate your help.</div><div class="gmail_extra">
<br><div class="gmail_quote">On Mon, Mar 26, 2018 at 4:49 PM, Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>I am afraid that this is impossible. \color inserts aa expandable command of a main processor which must not be used inside a word.<br>This means that in the TeX's eyes the matra is a part of another word and must not be connected. You have to do it manually.<br><br></div>Try this in your file and see the difference for I and U:<br><br>\hindifont{<br><br> क् + इ = क{\color{blue}ि} = कि = \textcolor{blue}{ि}क<br><br> क् + उ = क{\color{blue}\kern-.15em ु} = कु = \textcolor{blue}{ु}क<br><br>}<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-2353391988678992196gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/<wbr>wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote"><div><div class="h5"><br></div></div></div></div></blockquote></div></div></div>