Following latex code will create a triangular protractor below: \documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{calc, intersections} \tikzset{ numbers/.style={fill=white,font=\scriptsize}, degrees/.style={below, anchor=north, text centered, inner ysep=2pt, text width=5mm, rotate=\mnum-270, fill=white, font=\scriptsize} } \begin{document} \begin{tikzpicture}%[transform shape, rotate=90] % uncomment for rotating picture % finding right angle \path[name path=line 1] (-8,0) --++ (-45:11.5); \path[name path=line 2] (8,0) --++ (225:11.5); % draw border \draw[line width=.3pt, name path=border, name intersections={of=line 1 and line 2,by=A}] (A) -- (8,0) coordinate (B) -- (-8,0) coordinate (C) -- cycle; % top ruler \foreach \tnum in {-7,-6,...,7}{ \pgfmathtruncatemacro\tnuma{abs(\tnum)} \draw (\tnum,0) -- (\tnum,-.2) node[numbers, below] (n\tnum) {\tnuma}; \ifnum\tnum \draw (\tnum+.5,0) -- (\tnum+.5,-.2); \else\fi ...