tikzdraw/astronomy/sistema_terra-luna/sistema_terra-luna.tex

65 lines
1.5 KiB
TeX
Raw Normal View History

2021-05-05 15:54:59 +02:00
\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]
2021-05-05 19:44:47 +02:00
\tkzDefPoint(0,0){O}
\tkzDefPoint(-7,0){E}
\tkzDefPoint(-4,0){Er}
2021-05-05 15:54:59 +02:00
\tkzDefPoint(15,0){L}
\tkzDefPoint(16,0){Lr}
%
\begin{scope}[yscale=0.8]
2021-05-05 19:44:47 +02:00
\tkzDrawCircle[color=white,ultra thick](O,L)
2021-05-05 15:54:59 +02:00
\end{scope}
%
\tkzDrawCircle[fill=earth](E,Er)
\tkzDrawCircle[fill=moon](L,Lr)
%
\tkzDefPoint(0,12){L1}
\tkzDefPoint(1,12){Lr1}
2021-05-05 15:54:59 +02:00
\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}
2021-05-05 15:54:59 +02:00
\tkzDrawCircle[fill=moon](L3,Lr3)
%
\node at (17.5,0) {\textcolor{white}{\fontsize{20}{21}\selectfont apogeo}};
2021-05-05 19:44:47 +02:00
\node at (-17.5,0) {\textcolor{white}{\fontsize{20}{21}\selectfont perigeo}};
2021-05-05 15:54:59 +02:00
\end{tikzpicture}
%
\end{document}