<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% harmony.sty 2024/08/01
%% Copyright 2005 - 2024
%% Dagny Wegner &lt;dagny.wegner@t-online.de&gt;
%% Arnim Wegner &lt;arnim.e.wegner@t-online.de&gt;
%
%  This work may be distributed and/or modified under the
%  conditions of the LaTeX Project Public License, either
%  version 1.3 of this license or (at your option) any
%  later version.
%
%  This work consists of the files harmony.sty,
%  harmony.tex, harmony.pdf, and Readme.
%  ==================================================================================
\documentclass[paper=a4,fontsize=12pt,origlongtable]{scrartcl}
%
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\usepackage{array}
\usepackage{longtable}
\usepackage[pdftex]{hyperref}
%
\usepackage[12pt]{harmony} % options: 8pt 9pt 10pt 11pt 12pt 13pt 14pt
%
\setlength{\voffset}{-10mm}
\setlength{\textheight}{255mm}
\setlength{\overfullrule}{0pt}
\setlength{\extrarowheight}{2ex}
\setlength{\parindent}{0pt}
\setcounter{errorcontextlines}{10}
%
\hypersetup{%
plainpages,
pdfauthor    = {Dagny Wegner - Arnim Wegner},
pdftitle     = {harmony.sty: usage - examples - options},
pdfkeywords  = {musicology, harmony symbols, Musikwissenschaft, Harmonielehre},
urlcolor     = {blue},
pdfstartview = {Fit},
}
%-------------------------------------------------------------------------------------
\begin{document}
%
\title{harmony}
\author{Dagny Wegner \and  Arnim Wegner}
\date{2024/08/01}
\maketitle
%
\vfill
%
\begin{center}
Copyright 2005 - 2024\\ 
Dagny Wegner &lt;dagny.wegner@t-online.de&gt;\\
Arnim Wegner &lt;arnim.e.wegner@t-online.de&gt;
\end{center}
This work may be distributed and/or modified under the
conditions of the \LaTeX\ Project Public License, either
version 1.3 of this license or (at your option) any
later version.
This work consists of the files harmony.sty,
harmony.tex, harmony.pdf, and Readme.
%
\newpage
%
\begin{center}
The package harmony was first developed for the doctoral dissertation in\\ musicology of
Dagny Wegner; cf. this dissertation for further examples.\\
(Look at https://ediss.sub.uni-hamburg.de/handle/ediss/1483)\\[1ex]
This package accepts the optional parameters 8pt, \dots ,14pt for the size\\ of the notes
 independent of the fontsize of the document.
\end{center}
%
\vspace*{-5mm}
\begin{longtable}{|l|c|}
%
\caption*{\textbf{Usage and Examples}}
\endfirsthead
\caption*{\textbf{Usage and Examples}}
\endhead
%
\hline
Input &amp; Output\\
\hline\hline
\verb|\HH.X.u.v.w.z.|&amp;\HH.X.u.v.w.z.\\
\verb|\HHR.X.u.v.w.z.|&amp;\HHR.X.u.v.w.z.\\
\verb|\HHr.X.u.v.w.z.|&amp;\HHr.X.u.v.w.z.\\
\verb|\HH.D.....|&amp;\HH.D.....\\
\verb|\HH.D..7...|&amp;\HH.D..7...\\
\verb|\HH.D.3....|&amp;\HH.D.3....\\
\verb|\HH.D.3.7...|&amp;\HH.D.3.7...\\
\verb|\HH.D.3.9.7..|&amp;\HH.D.3.9.7..\\
\verb|\HH.D.3.9.7.5.|&amp;\HH.D.3.9.7.5.\\
\hline
\verb|\Dohne, \Dsans|&amp;\Dohne\\
\verb|\DohneR, \DsansR|&amp;\DohneR\\
\verb|\Dohner, \Dsansr|&amp;\Dohner\\
\verb|\DD|&amp;\DD\\
\verb|\DDR|&amp;\DDR\\
\verb|\DDr|&amp;\DDr\\
\verb|\DDohne, \DDsans|&amp;\DDohne\\
\verb|\DDohneR, \DDsansR|&amp;\DDohneR\\
\verb|\DDohner. \DDsansr|&amp;\DDohner\\
\verb|\DS|&amp;\DS\\
\verb|\Ds|&amp;\Ds\\
\verb|\UB|&amp;\UB\\
\verb|\VM|&amp;\VM\\
\hline
\newpage
\hline
\verb|\Ohne{D}, \Sans{D}|&amp;\Ohne{D}\\
\verb|\Ohne[3pt]{D}, \Sans[3pt]{D}|&amp;\Ohne[3pt]{D}\\
\verb|\Ohne[-3pt]{D}, \Sans[-3pt]{D}|&amp;\Ohne[-3pt]{D}\\
\hline
\verb|\Fermi{X}|&amp;\Fermi{X}\\
\verb|\Ferli{X}|&amp;\Ferli{X}\\
\verb|\Ferli[5pt]{T}|&amp;\Ferli[5pt]{T}\\
\verb|\Ferli[-5pt]{T}|&amp;\Ferli[-5pt]{T}\\
\hline
\verb|\Umd{D}|&amp;\Umd{D}\\
\verb|\Umd[5pt]{D}|&amp;\Umd[5pt]{D}\\
\verb|\Kr{a:}|&amp;\Kr{a:}\\
\verb|\Kr{f:} \Kr{g:}|&amp;\Kr{f:} \Kr{g:}\\
\verb|\Kr[105]{fis:}    (#1: 100 - 110)|&amp;\Kr[105]{fis:}\\[1ex]
\hline
\verb|\Takt{u}{v}|&amp;\Takt{u}{v}\\
\verb|\Takt{3}{4}|&amp;\Takt{3}{4}\\
\verb|\Takt{12}{8}|&amp;\Takt{12}{8}\\
\verb|\Takt{c}{0}|&amp;\Takt{c}{0}\\
\verb|\Takt{c}{1}|&amp;\Takt{c}{1}\\
\hline
\verb|\Fermi{\HH.D.3.9\VM-8.7.5.}|&amp;\Fermi{\HH.D.3.9\VM-8.7.5.}\\
\verb|\Ferli{\HH.D.3.9\VM-8.7.5.}|&amp;\Ferli{\HH.D.3.9\VM-8.7.5.}\\
\verb|\Ferli[-1pt]{\HH.D.3.9\VM-8.7.5.}|&amp;\Ferli[-1pt]{\HH.D.3.9\VM-8.7.5.}\\
\verb|\Umd{\HH.D.3.9.7.5.}|&amp;\Umd{\HH.D.3.9.7.5.}\\
\verb|\Umd[5pt]{\HH.D.3.9.7.5.}|&amp;\Umd[5pt]{\HH.D.3.9.7.5.}\\
\verb|\HH.\DDohne.5\VM.9\VM.7..|&amp;\HH.\DDohne.5\VM.9\VM.7..\\
\verb|\HH.\Ohne[0.1em]{Es}.5-3.7...|&amp;\HH.\Ohne[0,1em]{Es}.5-3.7...\\
\verb|\Ferli[-1pt]{\HH.\DDohne.5\VM.9\VM.7..}|&amp;\Ferli[-1pt]{\HH.\DDohne.5\VM.9\VM.7..}\\
\hline
\newpage
\hline
\verb|\Ganz|&amp;\kern-0.1em\Ganz\\
\verb|\Halb|&amp;\Halb\\
\verb|\Vier|&amp;\Vier\\
\verb|\Acht|&amp;\Acht\\
\verb|\Sech|&amp;\Sech\\
\verb|\Zwdr|&amp;\Zwdr\\
\verb|\Pu|&amp;\Pu\\
\hline
\verb|\Halb\Pu|&amp;\Halb\Pu\\
\verb|\Vier\Pu|&amp;\Vier\Pu\\
\hline
\verb|\AAcht|&amp;\AAcht\\
\verb|\AchtBL|&amp;\AchtBL\\
\verb|\SechBL|&amp;\SechBL\\
\verb|\SechBl|&amp;\SechBl\\
\verb|\AchtBR|&amp;\AchtBR\\
\verb|\SechBR|&amp;\SechBR\\
\verb|\SechBr|&amp;\SechBr\\
\hline
\verb|\Vier\AchtBL|&amp;\Vier\AchtBL\\
\verb|\Vier\kern0.2em\AchtBL|&amp;\Vier\kern0.2em\AchtBL\\
\verb|\Vier\SechBL|&amp;\Vier\SechBL\\
\verb|\Vier\kern0.2em\SechBL|&amp;\Vier\kern0.2em\SechBL\\
\verb|\Vier\SechBl|&amp;\Vier\SechBl\\
\verb|\Vier\kern0.2em\SechBl|&amp;\Vier\kern0.2em\SechBl\\
\verb|\AchtBR\Vier|&amp;\AchtBR\Vier\\
\verb|\SechBR\Vier|&amp;\SechBR\Vier\\
\verb|\SechBr\Vier|&amp;\SechBr\Vier\\
\verb|\SechBr\Vier\kern0.2em\SechBl|&amp;\SechBr\Vier\kern0.2em\SechBl\\
\verb|\AchtBR\AchtBR\AchtBL|&amp;\AchtBR\AchtBR\AchtBL\\
\hline
\newpage
\hline
\verb|\Blkn{0em}{0ex}|&amp;\Blkn{0ex}{0em}\\
\verb|\AchtBR\Blkn{0.04em}{2.07ex}|&amp;\AchtBR\Blkn{0.04em}{2.07ex}\\
\hline
\verb|\achteltriole|&amp;\kern-0.6em\achteltriole\\
\verb|\vierteltrioleA|&amp;\vierteltrioleA\\
\verb|\vierteltrioleB|&amp;\vierteltrioleB\\
\verb|\halbetrioleA|&amp;\halbetrioleA\\
\verb|\halbetrioleB|&amp;\halbetrioleB\\
\hline
\verb|\GaPa|&amp;\GaPa\\
\verb|\HaPa|&amp;\HaPa\\
\verb|\ViPa|&amp;\ViPa\\
\verb|\AcPa|&amp;\AcPa\\
\verb|\SePa|&amp;\SePa\\
\verb|\ZwPa|&amp;\ZwPa\\
\hline
%
\end{longtable}
%
\setlength{\extrarowheight}{1ex}
\begin{longtable}{|l|l|}
%
\caption*{\textbf{Options}}
\endhead
%
\hline
Option&amp;Family\\
\hline
sf (default and recommended)&amp;sffamily\\
rm&amp;rmfamily\\
\hline
\end{longtable}
%
\newpage
%
\centerline{\bfseries{Final Example}}
%
\vspace{5ex}
\centerline{\bfseries{Input:}}
\vspace{5ex}
\begin{verbatim}
%%% Cherubini, Requiem d-moll, Sequenz %%%
%
\def\h#1h{\hspace*{#1em}}
\newcommand{\Str}[2][0.5]{\raise#1ex\hbox to #2em{\hrulefill}} 
\newcommand{\ST}{\h0.03h\Str[0.65]{0.27}\h0.03h}
%
\h9h\Kr[103]{g:}%
\h1h\HH.\DDohne.5\VM.9\VM.7..%
\h0,5h\HH.D..6.4..%
\h0,5h\HH.\DDohne.3.9\VM.7..%
\h0,5h\HH.\Dohne.7.9\VM...%
\h0,5h\HH.T.3....\\[1ex]
\h17h\Kr[102]{d:}%
\h0,5h\Umd[1ex]{\HH.S.3....}%
\h0,5h\HH.\DD.5\VM.7...%
\h0,5h\HH.D..8\Str[0,65]{1,2}7\ST6\ST5.8\ST6\ST4\Str[0,65]{2}3.6\ST5\ST8%
\Str[0,65]{3}7.%
\h0,5h\HH.t.....
\end{verbatim}
\vspace{5ex}
\centerline{\bfseries{Output:}}
\vspace{5ex}
\def\h#1h{\hspace*{#1em}}
\newcommand{\Str}[2][0.5]{\raise#1ex\hbox to #2em{\hrulefill}} 
\newcommand{\ST}{\h0.03h\Str[0.65]{0.27}\h0.03h}
%
\h9h\Kr[103]{g:}%
\h1h\HH.\DDohne.5\VM.9\VM.7..%
\h0,5h\HH.D..6.4..%
\h0,5h\HH.\DDohne.3.9\VM.7..%
\h0,5h\HH.\Dohne.7.9\VM...%
\h0,5h\HH.T.3....\\[1ex]
\h17h\Kr[102]{d:}%
\h0,5h\Umd[1ex]{\HH.S.3....}%
\h0,5h\HH.\DD.5\VM.7...%
\h0,5h\HH.D..8\Str[0,65]{1,2}7\ST6\ST5.8\ST6\ST4\Str[0,65]{2}3.6\ST5\ST8%
\Str[0,65]{3}7.%
\h0,5h\HH.t.....
%
\end{document}
</pre></body></html>