Edit and compile if you like:
\documentclass[border=3pt]{standalone}%Figures\usepackage{graphicx}%Drawing\usepackage{tikz}%Tikz Library\usetikzlibrary{angles, quotes, calc, decorations.markings, intersections}%Notation\usepackage{physics}\usepackage{bm}%New Command%%Right Angle\def\rightangle[size=#1](#2,#3,#4){\draw[thick] ($(#3)!#1!(#2)$) -- ($($(#3)!#1!(#2)$)!#1!90:(#2)$) -- ($(#3)!#1!(#4)$)}%%Midline Label\newcommand{\midlabelline}[3]{\node (midlabel) at ($ (#1)!.5!(#2) $) {#3};\draw (#1) -- (midlabel);\draw (midlabel) -- (#2);}%Styles%%Arrow in the Middle\tikzset{midarrow/.style = {[postaction=decorate, decoration={markings,mark=at position .52 with \arrow{stealth}}, red, line width=1.5]}}\begin{document}%Macros\pgfmathsetmacro{\rcircle}{4.63}\begin{tikzpicture}% %Grid% \draw[thin, dotted] (0,0) grid (10,10);% \foreach \i in {1,...,10}
Click to download: acceleration_1.tex
Open in Overleaf: acceleration_1.tex
This file is available on GitHub.
See more on the author page of Alexandros Tsagkaropolulos.