[Tex/LaTex] CircuiTikZ American and Europen Voltage Source Styles

circuitikz

I would like to have a mix of americand and european styles, but they seem to have inverted polarities

\documentclass[fleqn,10pt]{SelfArx}
\usepackage[siunitx]{circuitikz}

\begin{document}
  \begin{circuitikz}[scale=1.3] \draw
    node[ocirc] (A) at (2,0) {}
    node[ocirc] (B) at (2,1.75) {}
    (A) to[short, *-] (0,0)
    (0,0) to[american voltage source, v=$V_{oc}$] (0,1.75)
    (0,1.75) to[R=$R$, i=$i$, -*] (B)
    ;
  \end{circuitikz}
\end{document}

enter image description here

This is what I have so far, I want the american voltage source with +/- but inverted, together with the european arrow. When I invert the source, the plus sign stays on top but the arrow points down, is there a way to achieve the desired effect?

Something like this

Best Answer

Load the package with the option oldvoltagedirection.

\usepackage[oldvoltagedirection]{circuitikz}

enter image description here

\documentclass[border=2mm]{standalone}
\usepackage[siunitx,oldvoltagedirection]{circuitikz}
\begin{document}
  \begin{circuitikz}[scale=1.3] \draw
    node[ocirc] (A) at (2,0) {}
    node[ocirc] (B) at (2,1.75) {}
    (A) to[short, *-] (0,0)
    (0,0) to[american voltage source, v=$V_{oc}$] (0,1.75)
    (0,1.75) to[R=$R$, i=$i$, -*] (B)
    ;
  \end{circuitikz}
\end{document}