[OS X TeX] fractions with arrows

Sergei Mariev serguei.mariev at campus.lmu.de
Sun Jun 5 12:51:21 CEST 2005


Great, thanks a lot, it works just fine for me!

>Hi,
>
>quick and dirty, you could try something like
>
>   \documentclass{report}
>   \usepackage{amssymb,graphics}
>
>   \begin{document}
>   \raisebox{-0.4ex}{\scalebox{0.8}{\rotatebox{90}{$\curvearrowleft$}}}
>    $\frac{A}{B}$
>   \raisebox{1.6ex}{\scalebox{0.8}{\rotatebox{270}{$\curvearrowleft$}}}
>   \end{document}
>
>and fiddle around with the sizing and positioning to match the fonts 
>that you want to use. You need the graphics Package to be able to 
>use \rotatebox as far as I know.
>
>If you have to use such arrows more regularly, you could also define them:
>
>\newcommand{\curvedarrowbottom}{\raisebox{-0.4ex}{\scalebox{0.8}{\rotatebox{90}{$\curvearrowleft$}}}}
>\newcommand{\curvedarrowtop}{\raisebox{1.6ex}{\scalebox{0.8}{\rotatebox{270}{$\curvearrowleft$}}}}
>
>
>Good luck,
>Stephan
>
>
>
>Sergei Mariev wrote:
>
>>Dear all,
>>
>>I am trying to typset a fraction (A on top, B below it) and I want 
>>to have a curve arrow pointing from B to A on the left side of the 
>>fraction and from A to B on the right side of the fraction. It 
>>can't be a straight arrow pointing from top to bottom or the other 
>>way around, it has to be a curve arrow. Ideally, it should start 
>>approximately in the middle of the line where A is and end in the 
>>middle of the line where B is (But bottom of the line to top would 
>>do it too)  Is there an easy way to do this? I have looked at all 
>>possible arrows in all possible math styles, the closest thing I 
>>found is \curvearrowleft and \curvearrowright, but I need 
>>"\citvearrowtop" and \"\curvearrowbottom" Does such thing exist in 
>>one package or other? Have I overlooked something? or some other 
>>way of doing this?
>>
>>Thanks a lot!
>>
>>sergei
>
>
>
>
>
>
>___________________________________________________________ Gesendet 
>von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
>http://mail.yahoo.de
>--------------------- Info ---------------------
>Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
>TeX FAQ: http://www.tex.ac.uk/faq
>List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list