Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summits on the Air log book #3

Merged
merged 6 commits into from
Jan 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name:
- dotted
- gridded
- sota-log

steps:
- name: Set up Git repository
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down
62 changes: 62 additions & 0 deletions sota-log-inlay.tex
Original file line number Diff line number Diff line change
@@ -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}
7 changes: 7 additions & 0 deletions sota-log.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
\documentclass{scrartcl}

\usepackage{inlay}

\begin{document}
\inlay{SOTA Logbook}{sota-log-inlay.pdf}
\end{document}