2

I'd like to use the romano circuitikz style for drawings with analog and digital components. However, I encounter compilation problems when I insert a flipflop.

\documentclass{standalone}
\usepackage{circuitikz}
\ctikzloadstyle{romano}
\tikzset{romano circuit style}

\begin{document}
\begin{circuitikz}
\draw (0,0) node[flipflop SR,anchor=bpin 1](FF){};
\end{circuitikz}
\end{document}

The compilation error is: ! Package PGF Math Error: Unknown operator `f' or `fl' (in '1.0 flipflops/thick ness\pgf@circ@Rlen '). See the PGF Math package documentation for explanation.

Commenting out the \ctikzloadstyle{romano} and \tikzset{romano circuit style} produces the output, though obviously not in the intended style. Interestingly, I've not encountered problems with other logic gates, just the flipflop.

Any ideas what I'd need to change/add?

1
  • Fixed in the released 1.2.6 version. Thanks!
    – Rmano
    Dec 23, 2020 at 9:05

1 Answer 1

2

In the style file (ctikzstyle-romano.tex) at the flip-flops section, commas were missing at the end of each line.

% flip-flops
flipflops/scale=1.0,
flipflops/thickness=2.0,
%

I've solved the issue by placing the (adapted) *.sty manually in the same folder, and using input{..}. Styles were downloaded from https://circuitikz.github.io/circuitikz/

2

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.