Math & Sciencegap in the overrightarrow

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
sam101981
Posts: 3
Joined: Tue May 04, 2010 10:23 pm

gap in the overrightarrow

Post by sam101981 »

I've got a small gap in the arrow from the overrightarrow. Does anybody know how i can get rid off this gap with using the package MnSymbol?

Here is a minimal example:

Code: Select all

\documentclass{article}

\usepackage{MnSymbol}

\begin{document}
$\overrightarrow{PQ}$
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

gap in the overrightarrow

Post by gmedina »

Hi,
sam101981 wrote:I've got a small gap in the arrow from the overrightarrow. Does anybody know how i can get rid off this gap with using the package MnSymbol?..
Have you tried printing the document to see if the gap is really there? I ask you because when I compiled your document and opened it using the default TeXwork's PDF viewer, I could see the gap; however, when I opened the PDF file using Evince, the gap was gone.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
sam101981
Posts: 3
Joined: Tue May 04, 2010 10:23 pm

Re: gap in the overrightarrow

Post by sam101981 »

Hi!

Yes, I printed it and there is a small gap in the printed version too.
Any Surgestions?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

gap in the overrightarrow

Post by frabjous »

Could you use the \vv command from the esvect package? It can be used alongside MnSymbol and provides a number of different choices for the style of the arrow (see documentation). I think the "a" option looks closest to the one in MnSymbol.

Here they are compared:

Code: Select all

\documentclass{article}

\usepackage{MnSymbol}
\usepackage[a]{esvect}

\begin{document}

$\overrightarrow{PQ}$

\smallskip

$\vv{PQ}$
\end{document}
(P.S. I get the gap in the one from MnSymbol even in evince... perhaps a bug that should be brought up to the maintainer?)
sam101981
Posts: 3
Joined: Tue May 04, 2010 10:23 pm

Re: gap in the overrightarrow

Post by sam101981 »

I didn't know about the esvect package and I can use it. Works flawlessly for me, so problem solved. :)
Thank You!
Post Reply