Skip to content

Instantly share code, notes, and snippets.

@mfurquimdev
Last active December 30, 2019 19:50
Show Gist options
  • Select an option

  • Save mfurquimdev/7209f4c32cdc716abe199c46ed745f7a to your computer and use it in GitHub Desktop.

Select an option

Save mfurquimdev/7209f4c32cdc716abe199c46ed745f7a to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
\documentclass[landscape, a4paper]{article}
\usepackage[showframe, bottom=0mm, top=0mm, left=0mm, right=0mm]{geometry}
%encoding
%--------------------------------------
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%--------------------------------------
%Portuguese-specific commands
%--------------------------------------
\usepackage[portuguese]{babel}
%--------------------------------------
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{mathabx}
\usepackage{calc}% http://ctan.org/pkg/calc
\usetikzlibrary{intersections}
\setlength\parindent{0pt}
\def\limx{147}
\def\limy{190}
\newlength{\SWX}
\newlength{\SWY}
\newlength{\SEX}
\newlength{\SEY}
\newlength{\NEX}
\newlength{\NEY}
\newlength{\NWX}
\newlength{\NWY}
\newlength{\limitey}
\newlength{\hourlyname}
\newlength{\hourly}
\newlength{\twentyone}
\newlength{\twentytwo}
\newlength{\tensyone}
\newlength{\tensytwo}
\newlength{\tensythree}
\newcommand{\dottedpageone}
{
\begin{tikzpicture}
\filldraw[white] (0 mm, 0 mm) circle (0.01mm);% node[anchor=west] {$(\x,\y)$};
\foreach \x in {21,31,...,141}
\foreach \y in {0,10,...,\limy}
\filldraw[black] (\x mm, \y mm) circle (0.1mm);% node[anchor=west] {$(\x,\y)$};
\foreach \x in {21,26,...,141}
\foreach \y in {0,5,...,\limy}
\filldraw[black] (\x mm, \y mm) circle (0.02mm);% node[anchor=west] {$(\x,\y)$};
%\foreach \x in {21,23.5,...,141}
% \foreach \y in {0,2.5,...,\limy}
% \filldraw[gray!50] (\x mm, \y mm) circle (0.02mm);% node[anchor=west] {$(\x,\y)$};
\draw[very thin, dashed, color=gray!50] (12 mm, 0 mm) -- (12 mm, \limy mm) node[anchor=south]{$(12,\limy)$};
\draw[very thin, color=gray!50] (12 mm, 10 mm) -- (0 mm, 10 mm) node[anchor=north]{$0--12$};
\draw[very thin] (110.5 mm, 27 mm) -- (111.5 mm, 27 mm);
\draw[very thin] (111 mm, 26.5 mm) -- (111 mm, 27.5 mm);
\draw[black] (100 mm, 100 mm) node[anchor=south]{$gray!50$};
\draw[black] (100 mm, 100 mm) node[anchor=north]{$(111,27)$};
\end{tikzpicture}
}
\newcommand{\dottedpagetwo}
{
\begin{tikzpicture}
\filldraw[white] (0 mm, 0 mm) circle (0.01mm);% node[anchor=west] {$(\x,\y)$};
\foreach \x in {3,13,...,123}
\foreach \y in {0,10,...,\limy}
\filldraw[black] (\x mm, \y mm) circle (0.1mm);% node[anchor=west] {$(\x,\y)$};
\foreach \x in {3,8,...,123}
\foreach \y in {0,5,...,\limy}
\filldraw[black] (\x mm, \y mm) circle (0.02mm);% node[anchor=west] {$(\x,\y)$};
%\foreach \x in {3,5.5,...,123}
% \foreach \y in {0,2.5,...,\limy}
% \filldraw[gray!50] (\x mm, \y mm) circle (0.02mm);% node[anchor=west] {$(\x,\y)$};
\draw[very thin, dashed, color=gray!50] (135 mm, 0 mm) -- (135 mm, \limy mm)node[anchor=south]{$(135,\limy)$};
\end{tikzpicture}
}
\newcommand{\linedpageone}
{
\begin{tikzpicture}
\filldraw[white] (0 mm, 0 mm) circle (0.01mm);% node[anchor=west] {$(\x,\y)$};
\foreach \y in {3.5,10.5,...,\limy}
\draw[very thin, color=gray!25] (4.3 mm, \y mm) -- (6 mm, \y mm);
\foreach \y in {3.5,10.5,...,\limy}
\draw[very thin, color=gray!25] (7.3 mm, \y mm) node {\footnotesize$\succ$} ;
\foreach \y in {3.5,10.5,...,\limy}
\filldraw[gray!25] (8.5 mm, \y mm) circle (0.1mm);
% \draw[very thin, dashed, color=gray!45] (\x mm, \z mm) -- (\x mm, \z mm);
\foreach \y in {0,7,...,\limy}
\draw[very thin] (3mm, \y mm) -- (120 mm, \y mm);
\foreach \y in {3.5,10.5,...,\limy}
\draw[very thin, dashed, color=gray!45] (13mm, \y mm) -- (120 mm, \y mm);
\draw[very thin, dashed, color=gray!50] (132 mm, 0 mm) -- (132 mm, \limy mm)node[anchor=south]{$(132,\limy)$};
\end{tikzpicture}
}
\newcommand{\linedpagetwo}
{
\begin{tikzpicture}
\filldraw[white] (0 mm, 0 mm) circle (0.01mm);% node[anchor=west] {$(\x,\y)$};
\foreach \y in {3.5,10.5,...,\limy}
\draw[very thin, color=gray!25] (21.3 mm, \y mm) -- (23 mm, \y mm);
\foreach \y in {3.5,10.5,...,\limy}
\draw[very thin, color=gray!25] (24.3 mm, \y mm) node {\footnotesize$\succ$} ;
\foreach \y in {3.5,10.5,...,\limy}
\filldraw[gray!25] (25.5 mm, \y mm) circle (0.1mm);
% \draw[very thin, dashed, color=gray!45] (\x mm, \z mm) -- (\x mm, \z mm);
\foreach \y in {0,7,...,\limy}
\draw[very thin] (20mm, \y mm) -- (142 mm, \y mm);
\foreach \y in {3.5,10.5,...,\limy}
\draw[very thin, dashed, color=gray!45] (30mm, \y mm) -- (142 mm, \y mm);
\draw[very thin, dashed, color=gray!50] (8 mm, 0 mm) -- (8 mm, \limy mm)node[anchor=south]{$(8,\limy)$};
\end{tikzpicture}
}
\newcommand{\hexdotedpage}
{
\begin{tikzpicture}
\filldraw[white] (0 mm, 0 mm) circle (0.01mm);% node[anchor=west] {$(\x,\y)$};
\foreach \x in {0,1,2,...,12.3}
\foreach \y in {0,1.732050,...,19}
\filldraw[black] (\x cm, \y cm) circle (0.1mm);
\foreach \x in {0.5,1.5,2.5,...,12.3}
\foreach \y in {0.866025,2.598075,...,19}
\filldraw[black] (\x cm, \y cm) circle (0.1mm);
\foreach \x in {0.5,1.5,2.5,...,12.3}
\foreach \y in {0,1.732050,...,19}
\filldraw[color=gray!50] (\x cm, \y cm) circle (0.05mm);
\foreach \x in {0,1,2,...,12.3}
\foreach \y in {0.866025,2.598075,...,19}
\filldraw[color=gray!50] (\x cm, \y cm) circle (0.05mm);
\end{tikzpicture}
}
\newcommand{\hexlinedpage}
{
\newlength{\CenterX}
\newlength{\CenterY}
\newlength{\AX}
\newlength{\AY}
\newlength{\BX}
\newlength{\BY}
\newlength{\CX}
\newlength{\CY}
\newlength{\DX}
\newlength{\DY}
\newlength{\EX}
\newlength{\EY}
\newlength{\FX}
\newlength{\FY}
\begin{tikzpicture}
\filldraw[white] (0 mm, 0 mm) circle (0.01mm);
\foreach \x in {0,3,...,123}
\foreach \y in {0,1.73205,...,205}
\setlength{\CenterX}{{\x}mm}%
\setlength{\CenterY}{{\y}mm}%
\setlength{\AX}{\CenterX+1mm}%
\setlength{\AY}{\CenterY}%
\setlength{\BX}{\CenterX+0.5mm}%
\setlength{\BY}{\CenterY+0.866025mm}%
\setlength{\CX}{\CenterX-0.5mm}%
\setlength{\CY}{\CenterY+0.866025mm}%
\setlength{\DX}{\CenterX-1mm}%
\setlength{\DY}{\CenterY}%
\setlength{\EX}{\CenterX-0.5mm}%
\setlength{\EY}{\CenterY-0.866025mm}%
\setlength{\FX}{\CenterX+0.5mm}%
\setlength{\FY}{\CenterY-0.866025mm}%
\draw[very thin, color=gray!25] (\AX, \AY) -- (\BX, \BY) -- (\CX, \CY) -- (\DX, \DY) -- (\EX, \EY) -- (\FX, \FY) -- (\AX, \AY);
\foreach \x in {1.5,4.5,...,123}
\foreach \y in {0.866025,2.598075,...,205}
\setlength{\CenterX}{{\x}mm}%
\setlength{\CenterY}{{\y}mm}%
\setlength{\AX}{\CenterX+1mm}%
\setlength{\AY}{\CenterY}%
\setlength{\BX}{\CenterX+0.5mm}%
\setlength{\BY}{\CenterY+0.866025mm}%
\setlength{\CX}{\CenterX-0.5mm}%
\setlength{\CY}{\CenterY+0.866025mm}%
\setlength{\DX}{\CenterX-1mm}%
\setlength{\DY}{\CenterY}%
\setlength{\EX}{\CenterX-0.5mm}%
\setlength{\EY}{\CenterY-0.866025mm}%
\setlength{\FX}{\CenterX+0.5mm}%
\setlength{\FY}{\CenterY-0.866025mm}%
\draw[very thin, color=gray!25] (\AX, \AY) -- (\BX, \BY) -- (\CX, \CY) -- (\DX, \DY) -- (\EX, \EY) -- (\FX, \FY) -- (\AX, \AY);
\end{tikzpicture}
}
\newcommand{\measurepage}
{
\filldraw[black] (\SWX, \SWY) circle (0.1mm) node[anchor=south west] {\footnotesize{SW}};
\filldraw[black] (\SEX, \SEY) circle (0.1mm) node[anchor=south east] {\footnotesize{SE}};
\filldraw[black] (\NWX, \NWY) circle (0.1mm) node[anchor=north west] {\footnotesize{NW}};
\filldraw[black] (\NEX, \NEY) circle (0.1mm) node[anchor=north east] {\footnotesize{NE}};
}
\newcommand{\timely}
{
\setlength{\limitey}{190mm}
\foreach \x in {6,15,...,131}{
\setlength{\hourly}{{\x}mm+0mm}
\setlength{\twentyone}{{\x}mm+3mm}
\setlength{\twentytwo}{{\x}mm+6mm}
\setlength{\tensyone}{{\x}mm+1.5mm}
\setlength{\tensytwo}{{\x}mm+4.5mm}
\setlength{\tensythree}{{\x}mm+7.5mm}
\draw[thick, black] (\hourly, 0 mm) -- (\hourly, \limitey);
\draw[very thin, black] (\twentyone, 21 mm) -- (\twentyone, \limitey) (\twentyone, 13 mm) node[rotate=90, color=gray!45, anchor=west] {\scriptsize\texttt{20min}};
\draw[very thin, black] (\twentytwo, 21 mm) -- (\twentytwo, \limitey) (\twentytwo, 13 mm) node[rotate=90, color=gray!45, anchor=west] {\scriptsize\texttt{40min}};
\draw[very thin, color=gray!45] (\tensyone, 21 mm) -- (\tensyone, \limitey);
\draw[very thin, color=gray!45] (\tensytwo, 21 mm) -- (\tensytwo, \limitey);
\draw[very thin, color=gray!45] (\tensythree, 21 mm) -- (\tensythree, \limitey);
}
\draw[thick, black] (132 mm, 0 mm) -- (132 mm, \limitey);% node[anchor=north west] {\footnotesize$132$};
%\node[roundnode] (uppercircle) [above=of maintopic] {1};
\setlength{\hourlyname}{10.5mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{\ 8h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{\ 9h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{10h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{11h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{12h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{13h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{14h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{15h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{16h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{17h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{18h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{19h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{20h}};
\setlength{\hourlyname}{\hourlyname+9mm}
\draw (\hourlyname, 4mm) node[rotate=90, anchor=west] {\Large\texttt{21h}};
\setlength{\hourlyname}{\hourlyname+9mm}
}
\pagenumbering{gobble}
\title{Journal}
\author{Mateus Furquim}
\date{\today}
\begin{document}
\begin{minipage}{.5\linewidth} %
\begin{tikzpicture}
\setlength{\SWX}{0mm} \setlength{\SWY}{0mm}
\setlength{\SEX}{148.5mm}\setlength{\SEY}{0mm}
\setlength{\NWX}{0mm} \setlength{\NWY}{210mm}
\setlength{\NEX}{148.5mm}\setlength{\NEY}{210mm}
\filldraw[black] (\SWX, \SWY) circle (0.1mm);% node[anchor=south west] {\footnotesize{SW}};
\filldraw[black] (\SEX, \SEY) circle (0.1mm);% node[anchor=south east] {\footnotesize{SE}};
\filldraw[black] (\NWX, \NWY) circle (0.1mm);% node[anchor=north west] {\footnotesize{NW}};
\filldraw[black] (\NEX, \NEY) circle (0.1mm);% node[anchor=north east] {\footnotesize{NE}};
\timely
\draw (136 mm, 145 mm) circle (3 mm);
\draw (136 mm, 65 mm ) circle (3 mm);
\draw[very thin, dashed, color=gray!50] (144 mm, 0 mm) -- (144 mm, 210 mm);
\draw[very thin, black] (\SEX, \SEY) -- (\NEX, \NEY);
\end{tikzpicture}
\end{minipage} %
\begin{minipage}{.5\linewidth} %
\begin{tikzpicture}
\setlength{\SWX}{0mm} \setlength{\SWY}{0mm}
\setlength{\SEX}{148.5mm}\setlength{\SEY}{0mm}
\setlength{\NWX}{0mm} \setlength{\NWY}{210mm}
\setlength{\NEX}{148.5mm}\setlength{\NEY}{210mm}
\filldraw[black] (\SWX, \SWY) circle (0.1mm);% node[anchor=south west] {\footnotesize{SW}};
\filldraw[black] (\SEX, \SEY) circle (0.1mm);% node[anchor=south east] {\footnotesize{SE}};
\filldraw[black] (\NWX, \NWY) circle (0.1mm);% node[anchor=north west] {\footnotesize{NW}};
\filldraw[black] (\NEX, \NEY) circle (0.1mm);% node[anchor=north east] {\footnotesize{NE}};
\measurepage
\draw (12.5 mm, 145 mm) circle (3 mm);
\draw (12.5 mm, 65 mm ) circle (3 mm);
\draw[very thin, dashed, color=gray!50] (4.5 mm, 0 mm) -- (4.5 mm, 210 mm);
\draw[very thin, black] (\SWX, \SWY) -- (\NWX, \NWY);
\end{tikzpicture}
\end{minipage}
%\
%\vfil
%\begin{minipage}{.5\linewidth} %
%\hexlinedpage
%\end{minipage} %
%\begin{minipage}{.5\linewidth} %
%\hexdotedpage
%\end{minipage}
%\vfil
%\newpage
%\
%\vfil
%\begin{minipage}{.5\linewidth} %
% \linedpageone
% \end{minipage} %
%\begin{minipage}{.5\linewidth} %
% \dottedpageone
% \end{minipage}
%\vfil
% \newpage
% \
%\vfil
%\begin{minipage}{.5\linewidth} %
% \dottedpagetwo
% \end{minipage} %
%\begin{minipage}{.5\linewidth} %
% \linedpagetwo
% \end{minipage}
%\vfil
\end{document}
all:
pdflatex journal.tex
rm -rf *.aux *.log
clean:
rm -rf *.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment