Source code(milano2.ly , milano2-sheet.latex , run-script)
---- name milano2.ly -------------------------------------------------------------
%% -*- Coding: utf-8 -*-
\version "2.12.1"
#(set-default-paper-size "a4")
#(set-global-staff-size 23)
\header {
dedication = "Wordless Poem"
title = "Landscape of Milano, 2"
subtitle = "At Milano city in Italia"
subsubtitle = "baritone; C clef on 5th line, alto; C clef on 3th line."
poet = ""
composer = \markup { \italic "yukio yoshida" }
arranger = \markup{\tiny "No.8 (Oct 10 2006)"}
}
altoOne = {
\autoBeamOff
%1-4
c'2. d'2 c'4 | f'2 ees'4 f'2. | d'2. d' | r2 ees'4 c'2. |
\break
%5-8
c'2. d'2 c'4 | f'2 ees'4 f'2. | f'2 g'4 ees'2 ees'4 | d'1. |
\break
%9-12
g'2 a' g' | aes' g' bes' | f'2. a'2. | cis'2 e' g' |
\break
%13-16
eis'2 b a | bes4 aes2. c'2 | aes4 c'2 bes4 ees'2 | f'2 ees'4 f'2. |
\break
%17-20
R1. | c'2. d'2 c'4 | f'2 ees'4 bes'2. | d'1.^\fermata \bar "|."
}
tenorOne = {
\autoBeamOff
%1-4
f1. | g1. | g4. ees4. ees2. | d2 ees4 f g2 |
\break
%5-8
R1. | r2. f2. | g2. aes2. | aes2 bes4 g2 f4 |
\break
%9-12
f2. aes2. | aes4-. bes4-. aes4-. bes4-. a4-. b4-. |
d'2. bes2. | f2 dis4 ees2. |
\break
%13-16
g4 bes2 c'4 d'2 | c'2 ees'4 d'2 bes4 | aes2. g2. | bes2. f2. |
\break
%17-2o
f2. c'2. | gis2 d4 ees f2 | g2 f4 bes d'2 | g1.^\fermata \bar "|."
}
\score {
<<
\context ChoirStaff = "coroOne" <<
\new Staff \with { \consists Ambitus_engraver} {
\clef alto \key ees\major \time 3/2
\set Staff.midiInstrument = "pad 4 (choir)"
\set Staff.instrumentName = \markup{"alto "} \altoOne }
\new Staff \with { \consists Ambitus_engraver} {
\clef baritone \key ees\major \time 3/2
\set Staff.midiInstrument = "contrabass"
\set Staff.instrumentName = \markup{"baritone"} \tenorOne }
>>
>>
\layout {}
\midi {}
}
---- name milano2-sheet.latex ---------------------------------------------------
\documentclass{article}
\usepackage[dvips]{graphicx,color}
\definecolor{lightgoldenrod2}{rgb}{0.93332,0.86273,0.5098}
\usepackage{geometry}
\geometry{a4paper,width=180mm,bottom=8mm,headsep=6mm,%
top=4mm,headheight=6mm,footskip=5mm,portrait}
\parindent=0pt
\begin{document}
\thispagestyle{empty}
\pagecolor{lightgoldenrod2}
\vspace*{-16pt}
\hspace*{-20pt}
\input milano2-systems.tex
\vfill
\end{document}
--- name run-script.cmd [For windows XP]------------------------------------------
del *.log *.aux *.dvi *.eps *.ps *.pdf *.png *.mid *.count *.texi *.tex
Rem process for %1-sheet.latex -----------------------------------------
lilypond -dbackend=eps %1.ly
Rem Now runing LilyPond normally ---------------------------------------
lilypond --pdf --png %1.ly
Rem Process from here for %1-sheet.latex -------------------------------
latex %1-sheet.latex
dvips -P pdf %1-sheet.dvi
gswin32c -sDEVICE=png16m -r120 -sOutputFile=%1-sheet.png -dNOPAUSE %1-sheet.ps -c quit
call ps2pdf %1-sheet.ps
%1.mid | %1.png | %1-sheet.png | %1.pdf | %1-sheet.pdf
del %1-1.* *.count *.aux *.log *.dvi *.ps *.tex *.texi *.eps *.*~ *~
dir /w
----------------------------------------------------------------------------------