<div dir="ltr">Hello,<div><br></div><div>In a complex schematic, i'm trying to place the intensity arrow in a condensator (or switch). The current is in both direction and I try to use the directconvention=X option to change the arrow direction.The shape of the arrow changes between directconvention=true and directconvention=false. I attached the result of a small example code that shows the difference.</div>
<div><br></div><div>Here is the example code:</div><div><br></div><div><p style="margin:0px">\documentclass[pstricks]{standalone}</p>
<p style="margin:0px">%</p>
<p style="margin:0px">\usepackage[T1]{fontenc}</p>
<p style="margin:0px">\usepackage{xunicode}</p>
<p style="margin:0px">\usepackage[francais]{babel}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%ps tricks package</p>
<p style="margin:0px">\usepackage{pstricks}</p>
<p style="margin:0px">\usepackage{pstricks-add}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%to draw electric circuits</p>
<p style="margin:0px">\usepackage{pst-circ}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%Define node for usage in the drawing</p>
<p style="margin:0px">\usepackage{pst-node}</p>
<p style="margin:0px">%</p>
<p style="margin:0px">\begin{document}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%definition of the unit scale  default=1cm</p>
<p style="margin:0px">\psset{unit=1cm}</p>
<p style="margin:0px">%PSPicture</p>
<p style="margin:0px">  \begin{pspicture}(-2,0)(5,5)</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%Definition of colors for labels,arrows and styles</p>
<p style="margin:0px">%color</p>
<p style="margin:0px">\psset{intensitycolor=red,intensitylabelcolor=red, intensitywidth=3pt}</p>
<p style="margin:0px">%components style</p>
<p style="margin:0px">%capacitor</p>
<p style="margin:0px">  \capacitor[labeloffset=-1,linecolor=black,intensity,directconvention=false](-0.5,0.5)(-0.5,4.5){\huge$C_{1}$}</p>
<p style="margin:0px">  \capacitor[labeloffset=-1,linecolor=black,intensity,directconvention=true](3,0.5)(3,4.5){\huge$C_{1}$}</p>
<p style="margin:0px">  \end{pspicture}</p>
<p style="margin:0px">\end{document}</p><p style="margin:0px"><br></p><p style="margin:0px">Is there an option to set the shape of the intensity arrows in every direction?</p><p style="margin:0px"><br></p><p style="margin:0px">
Julien</p></div></div>