Recently i decided to use the Libertine font to write my dissertation, because finally there is kinda math font for Libertine: \usepackage[libertine]{newtxmath}
. Since I want to enable of the beautiful historical ligature supported by this font, XeLaTeX is used to compile the .tex
file.
However, it seems that the Arabic font seems to look like CM font, which is quite bigger than the original Libertine number fonts. As with pdflatex
, there is no problem but the ligature feature can not be activated.
In Ubuntu system
xelatex
+libertine
+newtxmath
+ ligature on\usepackage[T1]{fontenc} \usepackage[lining]{libertine} \usepackage[libertine]{newtxmath} \addfontfeature{RawFeature=+hlig}
The text looks really great except the Arabic numbers in math mode.
pdflatex
+libertine
+newtxmath
\usepackage[lining]{libertine} \usepackage[T1]{fontenc} \usepackage[libertine]{newtxmath}
The Arabic font in math mode is identical to text font in this case.
I just wonder the New TX math font is only based on pdflatex?