%% harmony.sty 2024/08/01 %% Copyright 2005 - 2024 %% Dagny Wegner %% Arnim Wegner % % 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 \\ Arnim Wegner \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 & Output\\ \hline\hline \verb|\HH.X.u.v.w.z.|&\HH.X.u.v.w.z.\\ \verb|\HHR.X.u.v.w.z.|&\HHR.X.u.v.w.z.\\ \verb|\HHr.X.u.v.w.z.|&\HHr.X.u.v.w.z.\\ \verb|\HH.D.....|&\HH.D.....\\ \verb|\HH.D..7...|&\HH.D..7...\\ \verb|\HH.D.3....|&\HH.D.3....\\ \verb|\HH.D.3.7...|&\HH.D.3.7...\\ \verb|\HH.D.3.9.7..|&\HH.D.3.9.7..\\ \verb|\HH.D.3.9.7.5.|&\HH.D.3.9.7.5.\\ \hline \verb|\Dohne, \Dsans|&\Dohne\\ \verb|\DohneR, \DsansR|&\DohneR\\ \verb|\Dohner, \Dsansr|&\Dohner\\ \verb|\DD|&\DD\\ \verb|\DDR|&\DDR\\ \verb|\DDr|&\DDr\\ \verb|\DDohne, \DDsans|&\DDohne\\ \verb|\DDohneR, \DDsansR|&\DDohneR\\ \verb|\DDohner. \DDsansr|&\DDohner\\ \verb|\DS|&\DS\\ \verb|\Ds|&\Ds\\ \verb|\UB|&\UB\\ \verb|\VM|&\VM\\ \hline \newpage \hline \verb|\Ohne{D}, \Sans{D}|&\Ohne{D}\\ \verb|\Ohne[3pt]{D}, \Sans[3pt]{D}|&\Ohne[3pt]{D}\\ \verb|\Ohne[-3pt]{D}, \Sans[-3pt]{D}|&\Ohne[-3pt]{D}\\ \hline \verb|\Fermi{X}|&\Fermi{X}\\ \verb|\Ferli{X}|&\Ferli{X}\\ \verb|\Ferli[5pt]{T}|&\Ferli[5pt]{T}\\ \verb|\Ferli[-5pt]{T}|&\Ferli[-5pt]{T}\\ \hline \verb|\Umd{D}|&\Umd{D}\\ \verb|\Umd[5pt]{D}|&\Umd[5pt]{D}\\ \verb|\Kr{a:}|&\Kr{a:}\\ \verb|\Kr{f:} \Kr{g:}|&\Kr{f:} \Kr{g:}\\ \verb|\Kr[105]{fis:} (#1: 100 - 110)|&\Kr[105]{fis:}\\[1ex] \hline \verb|\Takt{u}{v}|&\Takt{u}{v}\\ \verb|\Takt{3}{4}|&\Takt{3}{4}\\ \verb|\Takt{12}{8}|&\Takt{12}{8}\\ \verb|\Takt{c}{0}|&\Takt{c}{0}\\ \verb|\Takt{c}{1}|&\Takt{c}{1}\\ \hline \verb|\Fermi{\HH.D.3.9\VM-8.7.5.}|&\Fermi{\HH.D.3.9\VM-8.7.5.}\\ \verb|\Ferli{\HH.D.3.9\VM-8.7.5.}|&\Ferli{\HH.D.3.9\VM-8.7.5.}\\ \verb|\Ferli[-1pt]{\HH.D.3.9\VM-8.7.5.}|&\Ferli[-1pt]{\HH.D.3.9\VM-8.7.5.}\\ \verb|\Umd{\HH.D.3.9.7.5.}|&\Umd{\HH.D.3.9.7.5.}\\ \verb|\Umd[5pt]{\HH.D.3.9.7.5.}|&\Umd[5pt]{\HH.D.3.9.7.5.}\\ \verb|\HH.\DDohne.5\VM.9\VM.7..|&\HH.\DDohne.5\VM.9\VM.7..\\ \verb|\HH.\Ohne[0.1em]{Es}.5-3.7...|&\HH.\Ohne[0,1em]{Es}.5-3.7...\\ \verb|\Ferli[-1pt]{\HH.\DDohne.5\VM.9\VM.7..}|&\Ferli[-1pt]{\HH.\DDohne.5\VM.9\VM.7..}\\ \hline \newpage \hline \verb|\Ganz|&\kern-0.1em\Ganz\\ \verb|\Halb|&\Halb\\ \verb|\Vier|&\Vier\\ \verb|\Acht|&\Acht\\ \verb|\Sech|&\Sech\\ \verb|\Zwdr|&\Zwdr\\ \verb|\Pu|&\Pu\\ \hline \verb|\Halb\Pu|&\Halb\Pu\\ \verb|\Vier\Pu|&\Vier\Pu\\ \hline \verb|\AAcht|&\AAcht\\ \verb|\AchtBL|&\AchtBL\\ \verb|\SechBL|&\SechBL\\ \verb|\SechBl|&\SechBl\\ \verb|\AchtBR|&\AchtBR\\ \verb|\SechBR|&\SechBR\\ \verb|\SechBr|&\SechBr\\ \hline \verb|\Vier\AchtBL|&\Vier\AchtBL\\ \verb|\Vier\kern0.2em\AchtBL|&\Vier\kern0.2em\AchtBL\\ \verb|\Vier\SechBL|&\Vier\SechBL\\ \verb|\Vier\kern0.2em\SechBL|&\Vier\kern0.2em\SechBL\\ \verb|\Vier\SechBl|&\Vier\SechBl\\ \verb|\Vier\kern0.2em\SechBl|&\Vier\kern0.2em\SechBl\\ \verb|\AchtBR\Vier|&\AchtBR\Vier\\ \verb|\SechBR\Vier|&\SechBR\Vier\\ \verb|\SechBr\Vier|&\SechBr\Vier\\ \verb|\SechBr\Vier\kern0.2em\SechBl|&\SechBr\Vier\kern0.2em\SechBl\\ \verb|\AchtBR\AchtBR\AchtBL|&\AchtBR\AchtBR\AchtBL\\ \hline \newpage \hline \verb|\Blkn{0em}{0ex}|&\Blkn{0ex}{0em}\\ \verb|\AchtBR\Blkn{0.04em}{2.07ex}|&\AchtBR\Blkn{0.04em}{2.07ex}\\ \hline \verb|\achteltriole|&\kern-0.6em\achteltriole\\ \verb|\vierteltrioleA|&\vierteltrioleA\\ \verb|\vierteltrioleB|&\vierteltrioleB\\ \verb|\halbetrioleA|&\halbetrioleA\\ \verb|\halbetrioleB|&\halbetrioleB\\ \hline \verb|\GaPa|&\GaPa\\ \verb|\HaPa|&\HaPa\\ \verb|\ViPa|&\ViPa\\ \verb|\AcPa|&\AcPa\\ \verb|\SePa|&\SePa\\ \verb|\ZwPa|&\ZwPa\\ \hline % \end{longtable} % \setlength{\extrarowheight}{1ex} \begin{longtable}{|l|l|} % \caption*{\textbf{Options}} \endhead % \hline Option&Family\\ \hline sf (default and recommended)&sffamily\\ rm&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}