1

I'm trying to use the option RPvoltages for the package circuitikZ version 0.8.3 but I get the following error message: ! LaTeX Error: Unknown option `RPvoltages' for package `circuitikz'.

This option however, is mentioned in the package manual (link)

If I omit this option, the package produces the figure shown below.

enter image description here

Code used

\documentclass{article}
\usepackage{graphicx}
\usepackage[siunitx,RPvoltages]{circuitikz}
\usepackage{tikz}

\begin{document}
\begin{figure}
  \centering
    \begin{circuitikz}
      \draw (0,0) to[battery1,v=1<\volt>] (0,2) to [short](2,2) to [C=1<\farad>](2,0) to [short](0,0);
    \end{circuitikz}
\end{figure}
\end{document}
4
  • Welcome to TeX.SE! Is your TeX distribution up-to-date?
    – user156344
    Mar 23, 2019 at 19:49
  • Thank you @JouleV, I just checked, MiKTex is up to date. I'm using Texmaker as my editor on a Windows machine Mar 23, 2019 at 20:00
  • I can find no mention of RPvoltages in either the manual or the source. I did fine americanvoltages, europeanvoltages, straightvoltages and oldvoltagedirection. Mar 23, 2019 at 20:22
  • official version of package on ctan doesn't have this option. you give the link to documentation to probably the future version which is still not available on ctan. if you like to use it, than you need to download package from page where you find its manual.
    – Zarko
    Mar 23, 2019 at 20:29

1 Answer 1

1

The manual given in question is for an unreleased (git) version of circuitikz. The option RPvoltage is not supported in version 0.8.3.

Use the git version if you want to use this option.

1
  • It might be already released, but not included in your Tex installation by your package manager. Luckily, you can just download the latest version by hand from here: circuitikz.github.io/circuitikz and replace the usepackage statement with: \usepackage[RPvoltages]{circuitikzgit} Feb 24, 2021 at 12:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.