artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
457 stars 27 forks source link

Update circuitikz version #62

Open Aplietexe opened 7 months ago

Aplietexe commented 7 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.

thecodechemist99 commented 4 months ago

For me the example doesn’t work in a regular LaTeX environment with circuitikz version 1.6.7 either, this doesn’t seem to be a version-related issue.