I am drawing a flow chart. Diamond-shaped nodes don't come out right. My minimal working example is below. There are no problems with ShareLaTeX, but it doesn't work on my computer.
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows, fit}
\tikzstyle{decision} = [diamond, minimum width=2cm, minimum height=1cm, text centered, text width=2cm, draw=black, inner sep=1pt, fill=green!10]
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30]
\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=blue!30]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered,text width=5cm, draw=black, fill=orange!30]
\tikzstyle{endloop} = [ellipse, minimum width=2cm, minimum height=1cm, text centered, text width=3cm, draw=black, inner sep=1pt]
\tikzstyle{input} = [coordinate]
\tikzstyle{output} = [coordinate]
\tikzstyle{arrow} = [thick,->,>=stealth]
\begin{document}
\begin{tikzpicture} [node distance=2cm]
\node [input, name=input] {};
\node(dec1)[decision, below of=input]{$Round <= Limit$};
\end{tikzpicture}
\end{document}
Output on my computer:
Output from ShareLaTeX:


