latex-pictures

A collection of TikZ drawings and other images 🖌️

ordinal-number-line.tikz (769B)

 1 % This picture represents the ordinal number line
 2 % Copyright Pablo (C) 2021
 3 \begin{tikzpicture}
 4   % The line
 5   \draw[-latex] (0,0) -- (6.5,0) node[right]{$\mathbf{ON}$}; 
 6 
 7   % The numbers
 8   \foreach \x in {0, 1, 2}
 9   \draw[shift={(\x,0)}] (0pt,3pt) -- (0pt,-3pt) node[below]{$\x$};
10 
11   \foreach \offset in {0, 3}
12   \foreach \x in {2.5,2.75,2.875,2.9375,2.96875,2.984375} 
13   \draw[shift={(\offset+\x,0)}] (0pt,3pt) -- (0pt,-3pt);
14 
15   \foreach \offset in {1, 2}
16   \draw[shift={(3+\offset,0)}] (0pt,3pt) -- (0pt,-3pt)
17                                node[below]{$\omega + \offset$};
18 
19   \draw[shift={(3,0)}] (0pt,3pt) -- (0pt,-3pt) node[below]{$\omega$};
20 
21   \draw[shift={(6,0)}] (0, 3pt) -- (0,-3pt) 
22                        node[below]{$\omega + \omega$};
23 \end{tikzpicture}
24