I have written the following in LaTeX. I have trouble drawing and labeling all my angles (I want to label the angles in B, C, D and F. I have so far only managed to draw those in C (easier because origin).
% PREAMBLE
% The preamble consists of the parameters for the document, i.e. the margins, the font, the spacing,
% the document type, supplementary packages, etc. Some Latex commands require the use of a
% package defined in the preamble.
\documentclass[a4paper,11pt]{article}
\usepackage[left=2.8cm,top=2.8cm,right=2.8cm,bottom=2.8cm]{geometry}
\usepackage[dutch]{babel}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{tabularx}
\usepackage{titling}
\usepackage[parfill]{parskip}
\usepackage{indentfirst}
\usepackage{gensymb}
\usepackage{tocbibind}
\usepackage{tikz}
\usetikzlibrary{babel}
\usetikzlibrary{calc,patterns,intersections,angles,shapes,through,arrows,decorations.pathmorphing,backgrounds,positioning,fit,petri}
As my figure (I need to label and reference it) I have:
\begin{figure}
\centering
\begin{tikzpicture}[scale=0.4]
%coördinats
\coordinate[label=above:£A£] (A) at (-6,0);
\coordinate[label=left:£B£] (B) at (-10.8844,0);
\coordinate (B2) at (-7.8844,0);
\coordinate (B3) at (-7.4844,0);
\coordinate[label=120:£C£] (C) at (0,0);
\coordinate (C2) at (1.8,0);
\coordinate (C3) at (2.2,0);
\coordinate[label=below:£D£] (D) at (-61:10cm);
\coordinate (D2) at (6.84809620246,-8.74619707139);
\coordinate[label=left:£E£] (E) at (9.69619240493,0);
\coordinate[label=above:£F£] (F) at (61:10cm);
\coordinate (F2) at (6.84809620246,8.74619707139);
%draw angles
\draw[gray] (B2) arc (0:29.07:3.0);
\draw[gray] (B3) arc (0:-29.07:3.4);
\draw[gray] (C2) arc (0:61:1.8);
\node[] at (30.5:2.5) {$\phi_{6}$};
\draw[gray] (C3) arc (0:-61:2.2);
\node[] at (-30.5:3.15) {$-\phi_{5}$};
\draw[gray] (D2) arc (0:61:2);
\draw[gray] (F2) arc (0:-61:2);
%draw points
\foreach \point in {A,B,C,D,E,F}
\fill [black] (\point) circle (5pt);
%draw lines
\draw[blue,very thick] (A) -- (B);
\draw[black, very thick] (A) -- (C) -- (D) -- (E) -- (F) -- (C);
\draw[black, very thick] (B) -- (D);
\draw[black, very thick] (B) -- (F);
%draw aid lines
\draw[gray] (C) -- +(3,0);
\draw[gray] (D) -- +(3,0);
\draw[gray] (F) -- +(3,0);
\end{tikzpicture}
\caption{Mechanism}
\label{M}
\vspace{0.8cm}
\end{figure}
Also, would it be possible to have arc with an arrow point? I appreciate your help!
Best Answer
You can load
and draw the angles.
Here is the full code: