<div dir="ltr">Hello,<div><br></div><div>I'm currently making a electrical circuit using the pst-circ package. Since the circuit is pretty big, i would like to change the size of the intensitylabel in capacitor. I'm using the math mode for my label because i need to put index. First, i have try to put \large before the $ sign of the math mode. It worked but also added my label in the middle of the picture. Here is the 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}(-12.5,-8.8)(32.2,9)</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,tensioncolor=blue,tensionlabelcolor=blue, intensitywidth=3pt,tensionwidth=4pt}</p>
<p style="margin:0px">%components style</p>
<p style="margin:0px">\psset{dipolestyle=zigzag,dipolestyle=curved}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%place the input voltage generator and label</p>
<p style="margin:0px">  \capacitor[labeloffset=-1,intensity,intensitylabel=\Large$i_{C_i}$](-10,8)(-10,-8){\huge$C_{i}$}</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">The result is in attached files. I find a "solution" by going into a math mode embedded in a text mode also embedded in a math mode!! like this:</p>
<p style="margin:0px">$\textrm{\Large$i_{C_i}$}$<br></p><p style="margin:0px"><br></p><p style="margin:0px">I'm pretty sure it's not the easier and proper way to do that. And i only have the problem with intensity label...</p>
<p style="margin:0px"><br></p><p style="margin:0px">Do anyone know the correct syntax for that part?</p><p style="margin:0px"><br></p><p style="margin:0px">Thank you</p><p style="margin:0px"><br></p><p style="margin:0px">
Julien</p></div></div>