-
Notifications
You must be signed in to change notification settings - Fork 1
/
sistema_terra-luna.tex
executable file
·65 lines (65 loc) · 1.48 KB
/
sistema_terra-luna.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
\documentclass{standalone}
%
\usepackage{tikz}
\usetikzlibrary{backgrounds,
% bending,
% arrows.meta,
% shapes.callouts
}
%
\usepackage{tkz-euclide}
\usetkzobj{all}
%
\usepackage{dsfont}
%
\usepackage{xcolor}
%
\definecolor{space}{HTML}{1F2C4E}
\definecolor{earth}{HTML}{0089FA}
\definecolor{earthn}{HTML}{0C5898}
\definecolor{land}{HTML}{309347}
\definecolor{moon}{HTML}{AFAFAF}
\definecolor{craterm}{HTML}{616060}
\definecolor{linem}{HTML}{DBDBDB}
%
\usepackage{amsmath}
%
\usepackage{fontspec}
\setmainfont{Open Dyslexic}
%
\title{Sistema Terra-Luna}
\begin{document}
\tikzset{
partial ellipse/.style args = {#1:#2:#3}{insert path={+ (#1:#3) arc (#1:#2:#3)}},
}
\begin{tikzpicture}[background rectangle/.style={fill=space},show background rectangle]
\tkzDefPoint(0,0){O}
\tkzDefPoint(-7,0){E}
\tkzDefPoint(-4,0){Er}
\tkzDefPoint(15,0){L}
\tkzDefPoint(16,0){Lr}
%
\begin{scope}[yscale=0.8]
\tkzDrawCircle[color=white,ultra thick](O,L)
\end{scope}
%
\tkzDrawCircle[fill=earth](E,Er)
\tkzDrawCircle[fill=moon](L,Lr)
%
\tkzDefPoint(0,12){L1}
\tkzDefPoint(1,12){Lr1}
\tkzDrawCircle[fill=moon](L1,Lr1)
%
\tkzDefPoint(-15,0){L2}
\tkzDefPoint(-16,0){Lr2}
\tkzDrawCircle[fill=moon](L2,Lr2)
%
\tkzDefPoint(0,-12){L3}
\tkzDefPoint(1,-12){Lr3}
\tkzDrawCircle[fill=moon](L3,Lr3)
%
\node at (17.5,0) {\textcolor{white}{\fontsize{20}{21}\selectfont apogeo}};
\node at (-17.5,0) {\textcolor{white}{\fontsize{20}{21}\selectfont perigeo}};
\end{tikzpicture}
%
\end{document}