Skip to content

Commit

Permalink
Make full score including covers
Browse files Browse the repository at this point in the history
  • Loading branch information
nivlekp committed Sep 22, 2024
1 parent 95e48f9 commit f915947
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,10 @@ test:
make isort-check
make pytest

score:
@python ${PANG_PATH}/scripts/make_score.py

score_directory = minamidera/builds/score

full-score:
@python ${PANG_PATH}/scripts/make_score.py
@python ${PANG_PATH}/pang/scripts/make_score.py
# run lualatex on front-cover.tex twice, otherwise rectangle is not
# centred
@lualatex --output-directory=${score_directory} ${score_directory}/front-cover.tex
Expand Down
12 changes: 12 additions & 0 deletions minamidera/builds/score/back-cover.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[a4paper, landscape]{geometry}
\usepackage{fontspec, nopageno}

\pagenumbering{gobble}

\begin{document}

\vfill
\textcopyright 2024
\end{document}
41 changes: 41 additions & 0 deletions minamidera/builds/score/front-cover.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[a4paper, landscape]{geometry}
\usepackage{fontspec, graphicx, nopageno, tikz}
\usepackage{luatexja-fontspec}
\setmainjfont{IPAMincho}

\usetikzlibrary{calc}
\pagenumbering{gobble}

\begin{document}
\begin{titlepage}
\begin{tikzpicture}[remember picture, overlay]
\draw[line width = 6pt]
($(current page.north west) + (0.5in, -0.5in)$)
rectangle
($(current page.south east) + (-0.5in, 0.5in)$);
\draw[line width = 3pt]
($(current page.north west) + (0.7in, -0.7in)$)
rectangle ($(current page.south east) + (-0.7in, 0.7in)$);
\end{tikzpicture}

\begin{center}
{\fontsize{60}{62}\selectfont \textbf{南寺}}
\newline
{\fontsize{60}{62}\selectfont \textbf{Minamidera}}
\end{center}

\vfill

{\slshape for piano}

\vspace*{1\baselineskip}

{\slshape 2024}

\vspace*{1\baselineskip}

Tsz Kiu Pang
\end{titlepage}
\end{document}
31 changes: 31 additions & 0 deletions minamidera/builds/score/preface.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[a4paper, landscape]{geometry}
\usepackage{hyperref}
\usepackage{nopageno}
\usepackage{parskip}

\begin{document}
Placeholder text, lorem ipsum bla bla bla

\section*{Performance Instruction}
The piece can be performed as it is, for solo piano, fully notated.
%
It can also be performed as a mix of playing the notated music and
improvising.
%
In this case, the notated music can serve as a guide for the
improvisation.
%
Metric modulation indicates the transition from one section to the next.
Although not indicated, when improvising, each section can be repeated,
as many times as desired.
%
When improvising, this piece can be played accompanied.

\noindent
Accidentals apply only to the note they are attached to.

\noindent
Dynamics are notated above the staff rather than next to the notes.
\end{document}
12 changes: 12 additions & 0 deletions minamidera/builds/score/score.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\documentclass{article}
\usepackage[a4paper, landscape]{geometry}
\usepackage{pdfpages}

\begin{document}
\includepdf[pages=-]{minamidera/builds/score/front-cover.pdf}
\shipout\null
\includepdf[pages=-]{minamidera/builds/score/preface.pdf}
\shipout\null
\includepdf[pages=-]{minamidera/builds/score/music.pdf}
\includepdf[pages=-]{minamidera/builds/score/back-cover.pdf}
\end{document}

0 comments on commit f915947

Please sign in to comment.