latex-pictures

A collection of TikZ drawings and other images 🖌️

natural-number-line.tikz (303B)

 1 % This picture represents the natural number line
 2 % Copyright Pablo (C) 2021
 3 \begin{tikzpicture}
 4   % The line
 5   \draw[-latex] (0,0) -- (6, 0) node[right]{$\mathbb{N}$};
 6 
 7   % The the numbers
 8   \foreach \x in {0,1,2,3,4,5}
 9   \draw[shift={(\x,0)}] (0,3pt) -- (0,-3pt) node[below]{$\x$};
10 \end{tikzpicture}
11