Re: [Syracuse] arc de cercle

Auteur: Jean-Claude Moebs <jcmoebs@wanadoo.fr>
Date: mar mai 09 2006 - 16:34:01 CEST

Le 7 mai 06 à 07:06, Thierry GAUVIN a écrit :

> Bonjour,
> Est-il possible d'écrire arc de cercle BC avec sur BC une portion
> de cercle comme avec \widehat{BC} pour un angle ?
> merci
> _______________________________________________
> Syracuse mailing list
> Syracuse@melusine.eu.org
> http://melusine.eu.org/cgi-bin/mailman/listinfo/syracuse

Bonjour,

suite à mes pérégrinations sur le web, j'utilise les macros suivantes
qui sont issues d'un fil sur fr.comp.text.tex

%
% ARC et ARC ORIENTE
%
% fr.comp.text.tex
%
\newlength{\longarc}
\newcommand{\arc}[1]{\settowidth{\longarc}{$#1$}%
        \addtolength{\longarc}{-0.2em}%
        \unitlength \longarc%
        \ensuremath{%
                \stackrel{\begin{picture}(1,0)%
                        \psset{unit=\longarc}%
                        \pscurve[linewidth=.5pt]{}(0,0)(0.55,.1)(1.1,0)%
% \qbezier(0,0)(0.55,0.2)(1.1,0)
                \end{picture}}%
                {#1}%
        }%
}

\newcommand{\arccw}[1]{\settowidth{\longarc}{$#1$}%
        \addtolength{\longarc}{-0.2em}%
        \unitlength \longarc%
        \ensuremath{%
                \stackrel{\begin{picture}(1,0)%
                        \psset{unit=\longarc}%
                        \pscurve[linewidth=.5pt]{->}(0,0)(0.55,0.1)(1.15,0)%
                \end{picture}}%
                {#1}%
        }%
}

\newcommand{\arcccw}[1]{\settowidth{\longarc}{$#1$}%
        \addtolength{\longarc}{-0.2em}%
        \unitlength \longarc%
        \ensuremath{%
                \stackrel{\begin{picture}(1,0)%
                        \psset{unit=\longarc}%
                        \pscurve[linewidth=.5pt]{<-}(0,0)(0.55,0.1)(1.15,0)%
                \end{picture}}%
                {#1}%
        }%
}

_______________________________________________
Syracuse mailing list
Syracuse@melusine.eu.org
http://melusine.eu.org/cgi-bin/mailman/listinfo/syracuse
Received on Tue May 9 16:33:58 2006

Cette archive a été créée par hypermail 2.1.8 : sam mai 13 2006 - 15:37:01 CEST