%% Generated by lilypond-book.py
%% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"







% ****************************************************************
% Start cut-&-pastable-section 
% ****************************************************************

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "font-postscript.ly"
\header {

    texidoc = "This file demonstrates how to load different
    (postscript) fonts. The file @file{font.scm} shows how to define
    the scheme-function @code{make-century-schoolbook-tree}.

    This file should be run with the TeX and extra options should be
    passed to LaTeX and dvips to help it find the uncb font."

}


\paper
{
    #(define text-font-defaults
      '((font-encoding . latin1)
	(baseline-skip . 2)
	(word-space . 0.6)))

    #(set! fonts (make-century-schoolbook-tree 1.0))
}

%ugh.
% do this here so we don't forget the connection with
% this file.
#(system "afm2tfm `kpsewhich uncb8a.afm` uncb8a.tfm") 

\layout {
    line-width = 160 \mm - 2.0 * 9.0 \mm

    
    indent = 0.0\mm
    ragged-right = ##t
}

{
    \key a \major
    \time 6/8
    cis''8.

%% uncomment to test postscript fonts. 
% ^"test!"

    
    
    d''16 cis''8 e''4 e''8
}



% ****************************************************************
% end ly snippet
% ****************************************************************
