artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
356 stars 18 forks source link

Update circuitikz version #62

Open Aplietexe opened 2 months ago

Aplietexe commented 2 months ago

Currently, it is not possible to use IEEE-style logic gates due to the circuitikz version being previous to 1.1.0. This code does not render:

\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0, 0)
\ctikzset{logic ports=ieee}
node[and port](myand){}
(myand.in 1) node[anchor=east]{A}
;
\end{circuitikz}
\end{document}

but it does if we remove \ctikzset{logic ports=ieee}, although with legacy-style gates.

AFAIK, it should suffice with updating tikzjax.js, but I have no idea where the file is sourced from.