2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/tikz/robots-circle/robots-circle.tex
Martin Thoma 7740f0147f Remove trailing spaces
The commands

find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+

and

find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+

were used to do so.
2015-10-14 14:25:34 +02:00

35 lines
842 B
TeX

\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usepackage{tkz-fct}
\usetikzlibrary{shapes.misc}
\usetikzlibrary{shapes, calc, decorations}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{preview}
\begin{tikzpicture}[dot/.style={ thick,
%draw=gray,
%cross out,
fill,
shape=circle,
inner sep=3pt,
minimum width=4pt,
minimum height=4pt}]
\newcommand{\R}{2cm};
\node (a) [dot] at (0,0) {};
\node (b) [dot] at (\R,0) {};
\node (c) [dot] at ({\R*cos(60)},{\R*sin(60)}) {};
%\draw[dashed,thick] (a) circle(\R);
%\draw[dashed,thick] (b) circle(\R);
%\draw[dashed,thick] (c) circle(\R);
\draw[->, ultra thick] (a) -- (b);
\draw[->, ultra thick] (b) -- (c);
\draw[->, ultra thick] (c) -- (a);
\end{tikzpicture}
\end{preview}
\end{document}