1

In the package CicuiTikZ there are some special sources listed in the documentation, in section 4.2.9. For some reason I can't get them to work. Here is my code:

\documentclass{report}

\usepackage{circuitikz}
\usepackage{tikz}
    \usetikzlibrary{arrows,patterns,decorations,shapes.geometric}
    \usetikzlibrary{decorations.markings,decorations.pathmorphing,decorations.pathreplacing}

\begin{document}

\begin{figure}[h]
    \begin{center}
        \begin{circuitikz}[european]
            \draw
              (0,0) to [ioosource, l_ = $I$] (0,3)
        \end{circuitikz}
     \end{center}
\end{figure}

\end{document}

Which should be correct according to the documentation. I'm using Overleaf to compile in PdfLaTeX so the packages should all be up to date.

4
  • Please note that your last point is not always true! Mar 20, 2019 at 11:32
  • 2
    As Raaja mentions, overleaf is usually not using the very latest packages. They perfer stability. So you should figure out which version is provided by overleaf, and then use that. Or figure out which new files are needed for circuitikz, and then upload those packages to your overleaf project.
    – daleif
    Mar 20, 2019 at 11:56
  • and you get my +1 Mar 20, 2019 at 14:01
  • So what I can see is that the special sources are added in CicuiTikZ 2016, and Overleaf is running Tex Live 2016. I will check with my stand alone LaTeX build to see if this is really the case.
    – user27119
    Mar 20, 2019 at 14:06

1 Answer 1

0

So looking into this in detail while Overleaf indeed uses TeX Live 2016 and the build in which Special Sources for CicuiTikZ is also 2016. The actual build of CicuiTikZ included in the 2016 TeX Live build is from 2015 -- and that is the reason.

Thanks to daleif and Raaja!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .