I'm using the TikZ package to make a flowchart. I'm getting the following error: Package PGF Math Error: Unknown operator c' orc@' (in '1c'). \node (in1) [input] {node};
I don't understand what the error is referring to. This is my code:
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{question} = [rectangle, minimum width=3cm, minimum height=1cm,text centered, draw=black]
\tikzstyle{diagnosis} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, draw=black]
\tikzstyle{input} = [diamond, minimum width=3cm, minimum height=1c, text centered, draw=black]
\tikzstyle{arrow} = [thick,->,>=stealth]
\begin{tikzpicture}[node distance=2cm]
\node (in1) [input] {node};
\node (q1) [question, below of=in1] {Matches distractor node?};
\draw [arrow] (in1) -- (q1);
\end{tikzpicture}
minimum height=1cshould beminimum height=1cm, methinks... – Rmano Jun 28 '18 at 15:36\documentclassand ending with\end{document}. – Bobyandbob Jun 28 '18 at 15:40\tikzsetsyntax instead of\tikzstyle, e.g.\tikzset{arrow/.style = {thick,->,>=stealth}}. – Jun 28 '18 at 15:40