# Preview Package in LaTeX trim the \widetilde

Forgive my dummy question, i am not professional in LaTeX.

I use Preview package to crop the inline formulas' borders exactly to the mathematical notation but i noticed the following:

after using Preview Package with $\widetilde{\mathbf{l}}$, i got the following result:

but what i expect to have is something like:

You can easily notice that there are some trimmed parts at the start and the end of \widetilde{} caused by Preview package

Minimal Example of LaTeX:

\documentclass{article}
\usepackage[active,tightpage,displaymath,textmath]{preview}
\begin{document}

\noindent
$\widetilde{\mathbf{l}}$

\end{document}


can any one explain that behavior to me ?

Glyphs can be larger than their bounding box:

\documentclass{article}
\begin{document}
\fboxsep0pt
\fbox{$\widetilde{\mathbf{l}}$}
\end{document}


You can enlarge the border of preview by changing the length \PreviewBorder

• Thank you for your help, i actually tried to use \PreviewBorder length and set it to "0.05" but i got the same result and then i tried to increase the value to "1.5" and got a good result but i use that globally with all inline formulas and finally i got one case solved but other cases have extra spaces more than what the character deserves. – MohamedSayed Nov 29 '15 at 7:31