Consider this example:
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{Linux Libertine O}
\setmathfont{XITS Math}
\setmathfont[range=\mathit/{latin,Latin,greek,Greek,num}]{Linux Libertine O Italic}
\begin{document}
\textit{f}(\textit{q})
$f(q_i,p_i,t)
\left[ \int df \right]$
\end{document}
This uses Linux Libertine for many math characters, but the brackets are still taken from XITS Math and therefore the spacing is bad (the 'f' collides with the bracket).
How can I use the brackets from Linux Libertine in math mode? Additionally, is it possible to get the brackets that adjust to their content (like '\right]') from Linux Libertine as well?
Edit: To clarify, the example shows that the spacing is correct in textmode, but fails in mathmode. I wonder why this is the case and how it may be fixed.
\,to add the additional space. And it seems that the brackets already do auto adjust their height as you have it. – Peter Grill Sep 12 '11 at 12:45