Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

put a rightharpoonup over AB ?

501 views
Skip to first unread message

jojo...@ms25.hinet.net

unread,
Feb 3, 2005, 9:38:23 AM2/3/05
to
Is it possible to put a rightharpoonup over AB.
like the one below:
__\
AB
(or see the symbol in the Exam Paper
http://www.ceec.edu.tw/AbilityExam/AbilityExamPaper/94AbExamPaper/94math.pdf)
Someone tell me
$\overset{-\!\!-\!\rightharpoonup}{AB}$ will work,
but I think the distance between the harpoon and AB
is too great (compare with $\overline{AB}$).

Any ideal?
Thanks
Joe

Lars Madsen

unread,
Feb 3, 2005, 9:51:53 AM2/3/05
to

something like this:

\documentclass{article}
\usepackage{amsmath,amssymb}
\makeatletter
\def\rightharpoonupfill@{\arrowfill@\relbar\relbar\rightharpoonup}
\newcommand{\overrightharpoonup}{%
\mathpalette{\overarrow@\rightharpoonupfill@}}
\makeatother
\begin{document}
$\overrightharpoonup{AB}$
\end{document}

(surely some package have already defined this?, made by looking at the
definiotn of \overrightarrow in amsmath.sty)

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/amslatex.html
LaTeX Intro: http://people.ee.ethz.ch/~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.

0 new messages