diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 48997c3..d1e07a6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,6 +16,7 @@ jobs: name: - dotted - gridded + - sota-log steps: - name: Set up Git repository diff --git a/Makefile b/Makefile index 657c42a..2a8c053 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean_cmd := latexmk -c # Rules and targets .PHONY: all -all: dotted.pdf gridded.pdf +all: dotted.pdf gridded.pdf sota-log.pdf .SUFFIXES: -inlay.pdf %-inlay.pdf: %-inlay.tex diff --git a/README.md b/README.md index b91278e..315a56b 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ You will need: * Dotted: 5mm dotted * Gridded: a rectangular gridded pattern similar to the one of the [Freitag F27 Refill][f27] +* SOTA log: An amateur radio log book for Summits on the Air. This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License][cc-by-sa]. diff --git a/sota-log-inlay.tex b/sota-log-inlay.tex new file mode 100644 index 0000000..78a7ad4 --- /dev/null +++ b/sota-log-inlay.tex @@ -0,0 +1,62 @@ +\documentclass[twoside]{scrartcl} + +\usepackage{freitag} +\usepackage{tikz} +\usepackage{color} +\usepackage{calc} + +\usetikzlibrary{shapes.multipart} + +\renewcommand{\familydefault}{\sfdefault} + +\newcommand{\fromright}[1]{\width-\margin-\margininner-#1} +\newcommand{\fromtop}[1]{\height-\margin-\margin-#1} +\newlength{\rowhight} +\setlength{\rowhight}{7.5mm} + +\definecolor{lgray}{gray}{0.9} + +\newcommand{\dottedpage}{% + \begin{tikzpicture}[ + gray, + ultra thin, + field/.style={ + anchor=south west, + minimum height=\rowhight, + rectangle, + }, + time/.style={field, minimum width=17.5mm, black}, + report/.style={field, minimum width=11mm, black!10}, + title/.style={ + anchor=north west, + minimum width=\fromright{0}, + text width=\fromright{1em}, + rectangle split, + rectangle split parts=2, + black, + }, + ] + + \node at (0,\fromtop{0}) [title] {\Huge\textcolor{lgray}{2022}\,-\,\textcolor{lgray}{01}\,-\,\textcolor{lgray}{01}\hfill\textcolor{lgray}{1X}\,/\,\textcolor{lgray}{AA}\,-\,\textcolor{lgray}{000}\nodepart{second}\Large\textcolor{lgray}{0000}\,.\,\textcolor{lgray}{0000} MHz \hfill \textcolor{lgray}{SSB} \hfill \textcolor{lgray}{1000}\,W}; + + \foreach \r in {0,...,9} { + \draw [loosely dashed] (0,\r*2\rowhight) -- (\fromright{0},\r*2\rowhight); + \draw [loosely dotted, thin] (17.5mm,\r*2\rowhight+\rowhight) -- (\fromright{0},\r*2\rowhight+\rowhight); + \node at (0,\r*2\rowhight+\rowhight) [time] {\Large :}; + \node at (\fromright{22mm},\r*2\rowhight+\rowhight) [report] {\Large 599}; + \node at (\fromright{11mm},\r*2\rowhight+\rowhight) [report] {\Large 599}; + } + + \draw [loosely dashed] (0,0) rectangle (\fromright{0},20\rowhight); + \draw [loosely dotted, thin] (17.5mm,0) -- (17.5mm,20\rowhight); + \end{tikzpicture} +} + +\begin{document} +\pagestyle{empty} +\enlargethispage{\margin} +\dottedpage +\dottedpage +\dottedpage +\dottedpage +\end{document} diff --git a/sota-log.tex b/sota-log.tex new file mode 100644 index 0000000..77c322c --- /dev/null +++ b/sota-log.tex @@ -0,0 +1,7 @@ +\documentclass{scrartcl} + +\usepackage{inlay} + +\begin{document} +\inlay{SOTA Logbook}{sota-log-inlay.pdf} +\end{document}