Tag Info

New answers tagged

0

The problem might be that the output is different from xelatex (picture on left) and lualatex (picture on right). Your code is working on my computer and it should be all right as gargi.ttf is a part of official ttf-indic-fonts-core package in Linux. You could try the other fonts from that package, the files are Kedage-b.ttf, Kedage-n.ttf, lohit_bn.ttf, ...


1

Those characters are not in DejaVu Sans. Earlier you used gargi and your question was why the ligatures you see in your editor were used. Then the answer was that gargi didn't have those ligatures. So this is really not about TeX. With this example: % -*- TeX-engine: xetex; -*-% \documentclass{article} \usepackage{fontspec} \setmainfont[Script=Devanagari, ...


2

I think you have two options: Switch from XeLaTeX to LuaLaTeX. When I run your MWE on my system (MacOSX 10.9.2, MacTeX2013, Acrobat pdf viewer, TeXworks editor), I get the same problems as you do when I compile it under XeLaTeX, with all three font pairs you mention. However, no problems occur if I compile the MWE under LuaLaTeX using either Minion/Myriad ...


11

This is by design (mostly:-). \mathrm \mathit and friends are designed to allow multi-letter identifiers so use the same kerning and ligatures as the text fonts (in fact, in most font setups they are the text fonts) . This is in contrast to the math italic font which is not the same as the italic font used in text and does not have ligatures and has much ...



Top 50 recent answers are included