%% harmony.sty 2007/05/04 %% Copyright 2005 - 2007 %% 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. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions % of LaTeX version 2005/12/01 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainers of this work are % Dagny Wegner and Arnim Wegner. % % This work consists of the files harmony.sty, % harmony.tex, harmony.pdf, and Readme. %==================================================================================== \documentclass[12pt,origlongtable,pdftex]{scrartcl} % \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage{mathpazo} \usepackage[ansinew]{inputenc} \usepackage{array} \usepackage{longtable} \usepackage[pdftex,a4paper]{hyperref} % \usepackage{harmony} % \setlength{\textheight}{240mm} \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.sty} \author{Dagny Wegner \and Arnim Wegner} \date{2007/05/04} \maketitle % \vfill % \begin{center} Copyright 2005 - 2007\\ 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. The latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. This work has the LPPL maintenance status `maintained'. The Current Maintainers of this work are Dagny Wegner and Arnim Wegner. This work consists of the files harmony.sty, harmony.tex, harmony.pdf, and Readme. % \newpage % \begin{center} This work was developed for the doctoral dissertation in musicology of\\ Dagny Wegner; cf. this dissertation for further examples.\\ (Look at http://www.sub.uni-hamburg.de/opus/volltexte/2006/3047/ or http://www.chmtl.indiana.edu/ddm/DNclassical.html)\\[2ex] \textbf{Many commands in this package therefore are only suitable for size 12pt !} \end{center} % \vspace{2ex} % \begin{longtable}{|l|l|} % \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|\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|&\Dohne\\ \verb|\DD|&\DD\\ \verb|\DDohne|&\DDohne\\ \verb|\DS|&\DS\\ \verb|\Ds|&\Ds\\ \verb|\UB|&\UB\\ \verb|\VM|&\VM\\ \verb|\Ohne{D}|&\Ohne{D}\\ \verb|\Ohne[3pt]{D}|&\Ohne[3pt]{D}\\ \verb|\Ohne[-3pt]{D}|&\Ohne[-3pt]{D}\\ \hline \newpage \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}\\ \hline \verb|\Kr{a:}|&\Kr{a:}\\ \verb|\Kr{f:} \Kr{g:}|&\Kr{f:} \Kr{g:}\\ \verb|\Kr{\small fis:}|&\Kr{\small fis:}\\ \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|&\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\SechBL|&\Vier\SechBL\\ \verb|\Vier\SechBl|&\Vier\SechBl\\ \verb|\AchtBR\Vier|&\AchtBR\Vier\\ \verb|\SechBR\Vier|&\SechBR\Vier\\ \verb|\SechBr\Vier|&\SechBr\Vier\\ \verb|\SechBr\Vier\SechBl|&\SechBr\Vier\SechBl\\ \verb|\AchtBR\AchtBR\AchtBL|&\AchtBR\AchtBR\AchtBL\\ \verb|\AchtBR\kern-0.15em\AchtBR\kern-0.15em\AchtBL|% &\AchtBR\kern-0.15em\AchtBR\kern-0.15em\AchtBL\\ \hline \newpage \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{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{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{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{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}