69 lines
3.2 KiB
TeX
69 lines
3.2 KiB
TeX
\documentclass{standalone}
|
|
%
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{backgrounds}
|
|
\usepackage{xcolor}
|
|
%
|
|
\definecolor{space}{HTML}{1F2C4E}
|
|
\definecolor{moon}{HTML}{AFAFAF}
|
|
%
|
|
\usepackage{fontspec}
|
|
\setmainfont{Open Dyslexic}
|
|
%
|
|
\title{Fasi lunari}
|
|
\begin{document}
|
|
\tikzset{
|
|
partial ellipse/.style args = {#1:#2:#3}{insert path={+ (#1:#3) arc (#1:#2:#3)}},
|
|
}
|
|
\begin{tikzpicture}[background rectangle/.style={fill=white},show background rectangle,]
|
|
\begin{scope}
|
|
%\draw [fill=space,ultra thick] (3.8,8) rectangle (30,1);
|
|
%\draw [fill=space,ultra thick] (3.8,8) rectangle (37,1);%per mese con cinque fasi
|
|
%\draw [fill=space,ultra thick] (10.8,8) rectangle (37,1);
|
|
%
|
|
\coordinate (A) at (17.6,8.1);
|
|
%\coordinate (B) at (37.1,8.1);
|
|
\coordinate (B) at (44.1,8.1);
|
|
%\coordinate (C) at (37.1,0.9);
|
|
\coordinate (C) at (44.1,0.9);
|
|
\draw [use as bounding box,color=white] (A) -| (B) |- (C) -| (A);
|
|
\draw [fill=space,ultra thick] (17.7,8) rectangle (44,1);
|
|
|
|
%\draw [use as bounding box,color=white] (A) -| (B) |- (C) -| (A);
|
|
%
|
|
\foreach \c in {1,3,...,7,9,11}
|
|
{
|
|
\draw [fill=moon] (2.7 + \c*3.5,5) circle (1.5cm);
|
|
}
|
|
%\draw [fill=black, opacity=0.5] (2.7 + 3.5,5) circle (1.5cm);
|
|
%\draw [fill=black, opacity=0.5] (2.7 + 3*3.5,5) [partial ellipse=90:270:1.5 and 1.5];
|
|
\draw [fill=black, opacity=0.5] (2.7 + 7*3.5,5) [partial ellipse=-90:90:1.5 and 1.5];
|
|
\draw [fill=black, opacity=0.5] (2.7 + 9*3.5,5) circle (1.5cm);%quinta fase
|
|
\draw [fill=black, opacity=0.5] (2.7 + 11*3.5,5) [partial ellipse=90:270:1.5 and 1.5];
|
|
%
|
|
%\node at (2.7 + 3.5,7) {\textcolor{white}{\fontsize{17}{18}\selectfont Luna Nuova}};
|
|
%\node at (2.7 + 3.5,3) {\textcolor{white}{\fontsize{17}{18}\selectfont 1 aprile}};
|
|
%\node at (2.7 + 3.5,2) {\textcolor{white}{\fontsize{17}{18}\selectfont 08:24}};
|
|
%
|
|
%\node at (2.7 + 3*3.5,7) {\textcolor{white}{\fontsize{17}{18}\selectfont Primo Quarto}};
|
|
%\node at (2.7 + 3*3.5,3) {\textcolor{white}{\fontsize{17}{18}\selectfont 1 novembre}};
|
|
%\node at (2.7 + 3*3.5,2) {\textcolor{white}{\fontsize{17}{18}\selectfont 07:37}};
|
|
%
|
|
\node at (2.7 + 5*3.5,7) {\textcolor{white}{\fontsize{17}{18}\selectfont Luna piena}};
|
|
\node at (2.7 + 5*3.5,3) {\textcolor{white}{\fontsize{17}{18}\selectfont 8 dicembre}};
|
|
\node at (2.7 + 5*3.5,2) {\textcolor{white}{\fontsize{17}{18}\selectfont 05:08}};
|
|
%
|
|
\node at (2.7 + 7*3.5,7) {\textcolor{white}{\fontsize{17}{18}\selectfont Terzo Quarto}};
|
|
\node at (2.7 + 7*3.5,3) {\textcolor{white}{\fontsize{17}{18}\selectfont 16 dicembre}};
|
|
\node at (2.7 + 7*3.5,2) {\textcolor{white}{\fontsize{17}{18}\selectfont 09:56}};
|
|
% quinta fase
|
|
\node at (2.7 + 9*3.5,7) {\textcolor{white}{\fontsize{17}{18}\selectfont Luna Nuova}};
|
|
\node at (2.7 + 9*3.5,3) {\textcolor{white}{\fontsize{17}{18}\selectfont 23 dicembre}};
|
|
\node at (2.7 + 9*3.5,2) {\textcolor{white}{\fontsize{17}{18}\selectfont 11:16}};
|
|
%
|
|
\node at (2.7 + 11*3.5,7) {\textcolor{white}{\fontsize{17}{18}\selectfont Primo Quarto}};
|
|
\node at (2.7 + 11*3.5,3) {\textcolor{white}{\fontsize{17}{18}\selectfont 30 dicembre}};
|
|
\node at (2.7 + 11*3.5,2) {\textcolor{white}{\fontsize{17}{18}\selectfont 02:20}};
|
|
\end{scope}
|
|
\end{tikzpicture}
|
|
\end{document} |