I want to use check valve pic as described on chemplants doc at page 54, but I get an error saying it's not defined. I know it could be an error of the package, but I want to be sure and see if it's defined in another way. It's possible to print all tiks/pics available? or how should I face this problem ?
\documentclass{article}
\usepackage[utf8]{inputenc}
%%%
\usepackage{tikz}
\usepackage{chemplants}
%%%
\begin{document}
\begin{tikzpicture}
\pic at (0,0) { check valve = main };
\end{tikzpicture}
\end{document}
Package pgfkeys Error: I do not know the key '/tikz/pics/check valve', to which you passed 'main', and I am going to ignore it. Perhaps you misspelled it.
Currently I create my own command, but it's really a crude attempt (I'm new at tikz, so I don't know how to define coordinates for a pic and it doesn't even see proportional when I use the scale option)
\tikzset{
check-valve/.pic={
\draw (0,-2mm) -- (0,0);
\node[minimum size=3pt,draw,circle,fill, inner sep=0pt, outer sep=0pt] at (0,0) {};
\draw (0,0) -- (4mm,-2mm);
\draw (4mm,-2mm) -- (4mm,0);
}
}
chemplants
installed? To answer these questions it would already help if you could upload the whole.log
file of your LaTeX run to a text-sharing website such as pastebin.comcheck valve
you needchemplants
2021/09/25 v0.9.9 (see related diff from texlive's svn repo, starting from line 2098). You may have the previous version (2019/11/19 v0.9.8) installed. Overleaf's texlive 2021 also provides v0.9.8, hence nocheck valve
available.ctan.org/pkg/<pkg name>
is always the latest one, hence may be ahead of your local installation.