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?

XeLaTeXcannot find distro font by name, and that one has to use the filename instead! try\setmathrm{LinLibertine_R.otf}. And you drop the\usepackage{newtxmath}here as it does not do anything (I think). – ArTourter Dec 28 '12 at 22:17fontspecis not enough to do this. you need to use themathspecpackage instead (it will also loadfontspec). This is where using XeLaTeX becomes a bit of a drag as you have to specify every single files for each shape. See the edit to the answer. – ArTourter Dec 28 '12 at 23:36\usepackage{mathspec} \usepackage{libertine} \setmathsfont[ItalicFont={LinLibertine_RI.otf}]{LinLibertine_R.otf} \setmathrm{LinLibertine_R.otf} \setboldmathrm{LinLibertine_RB.otf}and\usepackage[libertine]{newtxmath}. Screenshot – KOF Dec 29 '12 at 00:58