music running off the page

2017-07-12 Thread Michael Dykes

Good Afternoon all,

I have some music within a .tex file, and I had compiled it a while back 
(several months ago) and all was well. Well, now I am using that as a 
template and lo and behold the music now in the current document and in 
the old one now goes off the edges of the page.


However, in just the music, this does not happen. Note that the text 
does not only the music. What can I do? Is this as simple as adjusting 
the page margins, and if so why all of a sudden should this occur?


Thanks,


-Michael Dykes


\documentclass[12pt,a4paper,oneside]{article}
\usepackage[left=1.40cm,right=1.40cm,top=2.25cm,bottom=2.55cm]{geometry}
\usepackage{color,enumitem,epsfig}
\usepackage{fancyhdr,multicol,xcolor}
\usepackage{indentfirst}

\usepackage{titling}

\setlength{\droptitle}{-6em}

\newcommand*{\Chapter}{%
  \usefont{\encodingdefault}{\rmdefault}{b}{n}%
  \fontsize{24}{30}%
  \selectfont}

\newcommand*{\Section}{%
\usefont{\encodingdefault}{\rmdefault}{b}{n}%
\fontsize{22}{30}%
\selectfont}


\renewcommand{\P}{\textbf{Priest: }}

\newcommand{\D}{\textbf{Deacon: }}

\newcommand{\R}{\textbf{Reader: }}

\newcommand{\C}{\textbf{Choir: }}

\newcommand{\A}{\textbf{ALL: }}
% % % Top Matter % % % % % % % % % % % % % % % % % % % % % % %


\title{%
\textbf{The Third Antiphon} \\
\large \textbf{Holy Pentecost} \vspace{-4.5em}}
\author{}
\date{}
\begin{document}
\maketitle

% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %

\R In Thy strength the king rejoices, O Lord, and exults greatly in Thy 
salvation.   \textit{\textbf{\textcolor{red}{Ps. 20:1}}}\\


\begin{lilypond}
\version "2.18.0"
\include "english.ly"
\include "gregorian.ly"

\layout {
\context{
\Score \override SpacingSpanner.packed-spacing = ##f
}
\context{
\Lyrics \override LyricHyphen.minimum-distance = #2.5
\override LyricSpace.minimum-distance = #1.5
}
}


\header {
title = \markup\bold\fontsize #1.55
{"Troparion"}
poet = \markup\bold\fontsize #1.25
{"Tone 8"}
composer = \markup\bold\fontsize #1.25
{"Abbreviated ''Bulgarian'' Chant"}
tagline = "Translation - OCA Traditional English"
}

% #(set-global-staff-size 22)
global = {
\key g \major
\override Staff.NoteHead.style = #'altdefault
\override Staff.TimeSignature.stencil = ##f
%\override Staff.BarLine.stencil = ##f
\set Score.defaultBarType = "-"
\bar "|."
}
move = { \bar "" \break }

soprano =
\relative c'' {
\global
% Music follows here.
g4 a b c c b a g2 \bar"|"
b4 a b c c \[b b b\] b a2 a g \bar "|"

g4 a b c c b b b b a2 g \bar"'"
g4 a b c c b b a2 a4 a g2 \bar"||"

g4 a b c c \[b b b\] a2 a4 a g\breve \bar"|."
}


bass =
\relative f {
\global
% Music follows here.
g4 d g c, e g d g2 \bar"|"
g4 d g c, e \[g g g\] g d2 d g \bar"|"

g4 d g c, e g g g g d2 g \bar"|"
g4 d g c, e g g d2 d4 d g2 \bar"||"

g4 d g c, e \[g g g\] d2 d4 d g\breve \bar"|."
}


verse = \lyricmode {
% Lyrics follow here.
Bles -- sed art Thou, O Christ our God;
for Thou hast shown the fish -- er -- men to be most wise
by send -- ing down on them the Ho -- ly Spir -- it
and through them catch -- ing all the world in Thy net.
Glo -- ry to Thee, O good God Who lov -- est man -- kind!
}

\score {
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "string ensemble 1"
instrumentName = \markup \center-column { "Soprano" "Tenor"}
} <<
\new Voice = "soprano" { \voiceOne \soprano }
>>
\new Lyrics \lyricsto "soprano" \verse
\new Staff \with {
midiInstrument = "string ensemble 1"
instrumentName = \markup \center-column { "Alto" "Bass" }
} <<
\clef bass
\new Voice = "bass" { \voiceTwo \bass }
>>
>>
\layout {
ragged-last=##t
#(layout-set-staff-size 23)
\context {
\Lyrics
\override VerticalAxisGroup.staff-affinity = ##f
\override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2)
(padding . 2))
}
indent = 1.25\cm
\context {
\Staff
\override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2)
(padding . 2))
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 155/4)
}
}
}

%{
convert-ly (GNU LilyPond) 2.18.2  convert-ly: Processing `'...
Applying conversion: 2.17.0, 2.17.4, 2.17.5, 2.17.6, 2.17.11, 2.17.14,
2.17.15, 2.17.18, 2.17.19, 2.17.20, 2.17.25, 2.17.27, 2.17.29,
2.17.97, 2.18.0
%}
\end{lilypond}

\vspace{4mm}

\R Thou hast given him his heart’s desire, and hast not withheld the 
request of his lips.   \textit{\textbf{\textcolor{red}{Ps. 20:2}}}\\


\C Repeat \textbf{\textit{``Blessed art Thou, O Christ 

Music running off the page

2011-06-19 Thread Michael Dykes
I have an attached piece of music, and some of the measures are, for lack of
a better term, running off the page. Any help will be appreciated.

-- 
In Christ,
Michael D
\version 2.12.3
\include english.ly
\include gregorian.ly

\header {
  title = Anaphora
  poet = Znamenny Chant
  composer =  Arranged by Michael Dykes
 footer = anap_zn[3]
ponomarname = Anaphora
ponomartype = OwnWork
ponomarsubtype = Arrangement
ponomarsource = Unknown
ponomarauthor = Michael Dykes
maintainer = Michael Dykes
maintaineremail = thedoctor81...@gmail.com
lastupdated = 2011/06/18
ponomarlang = en
ponomarcomments = 
copyright = This score is part of the Ponomar OpenMusic Project
tagline = \markup {
\override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7)
\box \center-column {
  \line { \with-url #http://www.ponomar.net; \line { www. \hspace #-1.0 ponomar \hspace #-1.0 .net \hspace #0.5 } • Orthodox Liturgical music that is \italic free to download, use, modify and distribute. }
  \line { Typeset using \with-url #http://www.LilyPond.org; \line { LilyPond } by \maintainer \hspace #-1.0 . \hspace #0.5 Copyright © 2011. \hspace #0.5 Reference: \footer }
  \line { \teeny \line { Licensed under the Creative Commons Attribution-ShareAlike 3.0 (Unported) License, for details see: \hspace #-0.5 \with-url #http://creativecommons.org/licenses/by-sa/3.0; http://creativecommons.org/licenses/by-sa/3.0 } }
}
  }
}

% #(set-global-staff-size 22)
global = {
  \key f \major
  \time 5/4
  \revert Score.SpacingSpanner #'packed-spacing
  \override Staff.NoteHead #'style = #'altdefault
  \override Staff.TimeSignature #'stencil = ##f
  \override Staff.BarLine #'stencil = ##f
}
move = { \bar  \break }

soprano = \relative c'' {
  \global
  % Music follows here.
  g4 bf(a8 bf c2) bf4 bf bf(a) bf c2 bf8(a) bf4 bf a2(g1) \finalis
  bf4 bf8(g) a(bf) c2(bf8 a bf4 a2) g1 \finalis
  bf4 bf8(g) a(bf) c4 c bf8(a) bf4 a2(g1) \finalis
  
  a8(bf) c4 bf2(a4) g8(f) g4. \divisioMinima
  g8 bf4 bf8 a bf bf bf a bf4 bf8 a bf bf a2 g2 \divisioMaior
  g8 bf4 bf8 bf a bf c4 c \divisioMinima
  c8(bf) a(bf) c4 bf2(a) g1 \finalis
  
  g4.(a8 bf4) bf bf bf bf2 g \divisioMinima
  bf4. bf8 bf a bf2 \divisioMaior
  bf4 bf8 bf bf a bf4 a8 a g4 g4. \divisioMinima
  g8 g4 g a bf c bf2 \divisioMaior
  
  bf8 a bf c4. bf8 c bf a bf2(a4) a8 a g4(a g8 f g2) \divisioMinima
  g4 a(bf c bf a8 bf c4) bf4 a8 bf c2(a8 bf a4) g1 \finalis
  
  g4(a) bf1 \finalis
  g4(a bf2 a4 g8 a bf2 a8 bf a4) g1 \finalis
  
  g4 bf(c) bf4. g8 bf4.(a8) bf2 \divisioMinima
  g8 a bf4 bf8 a bf4. bf8 c2(bf8 a g1) \divisioMaior
  
  g4 a8(bf) c2 c8(bf) a4 bf2 \divisioMinima
  a4 a g8(a bf a bf2 a g\breve \finalis
}

tenor = \relative c' {
  \global
  % Music follows here.
  g4 d'(c8 d ef2) d4 d d(c) d ef2 d8(c) bf4 bf c2(g1) \finalis
  d'4 d8(bf) c(d) ef2(d8 c bf4 c a) bf1 \finalis
  d4 d8(bf) c(d) ef4 ef d8(c) bf4 c2(g1) \finalis
  
  c8(d) ef4 d2(c4) bf8(a) bf4.\divisioMinima
  bf8 d4 d8 c d8 d d c d4 d8 c bf bf c2 g2 \divisioMaior
  g8 d'4 d8 d c d ef4 ef \divisioMinima
  ef8(d) c(d) ef4 d2(c4 a) g1 \finalis
  
  d'2. d4 d d d2 d \divisioMinima
  d4. d8 d c d2 \divisioMaior
  d4 d8 d d c bf4 c8 c g4 g4. \divisioMinima
  bf8 bf4 bf c d ef d2 \divisioMaior
  
  d8 c d ef4. d8 ef d c d2(c4) c8 c bf4(c bf8 a bf2) \divisioMinima
  bf4 c(d ef d c8 d ef4) d c8 d ef2(c8 bf c4) g1 \finalis
  
  bf4(c) d1 \finalis
  bf4(c d2 c4 bf8 c d4 bf c8 bf c4) g1 \finalis
  
  g4 g2 g4. g8 g2 g2 \divisioMinima
  g8 g g4 g8 g g4. g8 g2.~g1 \divisioMaior
  
  bf4 c8(d) ef2 ef8(d) c4 bf2 \divisioMinima
  c4 c bf8(c d c d2 c bf\breve) \finalis
}

bass = \relative c {
  \global
  % Music follows here.
  g'4 g1 g4 g g2 g4 g2 g4 d d f2(g1) \finalis
  g4 g g g2.(d4 c2) g' g1\finalis
  g4 g g g g d d f2(g1) \finalis
  
  g4 g g2. d4 g4. \divisioMinima
  g8 g4 g8 g g g g g g4 g8 g d d f2 g2 \divisioMaior
  g8 g4 g8 g g g g4 g \divisioMinima
  g g g8(a) bf4(g c,2) g1 \finalis
  
  g'4.(a8 bf4) bf4 bf bf bf2 bf \divisioMinima
  g4. g8 g g g2 \divisioMaior
  g4 g8 g g g d4 f8 f g4 g4. \divisioMinima
  g8 g4 g g g g g2 \divisioMaior
  
  g8 g g g4. g8 g g g g2. g8 g g2.(g2) \divisioMinima
  g4 g1~g2 g4 g8 f ef2(f) g1 \finalis
  
  g2 g1 \finalis
  g1(~g2 g4 d f2) g,1 \finalis
  
  g'4 g2 g4. g8 g2 g2 \divisioMinima
  g8 g g4 g8 g g4. g8 g2(d4 g1) \divisioMaior
  
  g4 g g2 g4 g d2 \divisioMinima
  c4 c g1(~g2~g\breve) \finalis
}

verse = \lyricmode {
  \override LyricSpace #'minimum-distance = #1.0
  \override LyricText #'font-size = #+1
  % Lyrics follow here.
  A mer -- cy of peace! A sac -- ri -- fice of praise!
  and with thy spir -- it.
  We lift them up un -- to the Lord.__
  
  It is meet __ and right
  to wor -- ship the Fath -- er, and the Son, and the 
Ho -- ly Spir -- it:
  the Tri -- ni -- ty, One in Es -- sence, and 
un -- di -- vi -- ded.
  
  Ho -- ly! Ho -- ly! Ho -- ly! Lord of Sa -- ba -- oth!
  Heav -- en and Earth are full of Thy 

Re: Music running off the page

2011-06-19 Thread Graham Percival
On Sun, Jun 19, 2011 at 06:18:04PM -0400, Michael Dykes wrote:
I have an attached piece of music, and some of the measures are, for lack
of a better term, running off the page. Any help will be appreciated.

Use bar checks |  and you'll find the problem.

Cheers,
- Graham

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Music running off the page

2011-06-19 Thread Matthew Collett
On 20/06/2011, at 10:18 am, Michael Dykes wrote:

 I have an attached piece of music, and some of the measures are, for lack of 
 a better term, running off the page. Any help will be appreciated.

You need to give it more opportunity to find breaks.  A quick fix, since you 
are not actually using bars, would be to change your time from 5/4 to 1/4.  
Alternatively, for more control, you could sprinkle '\bar' at lots of 
sensible break points (every _divisio_, for a start); to reduce the clutter, 
you could do this by defining 'pipeSymbol = \bar', and then inserting '|'.

(Personally, I would prefer Lilypond to treat _divisiones_ as barlines anyway.  
From a performance point of view they may have a different meaning, but from a 
music formatting point of view they are largely equivalent, including their 
implications for such things as note spacing, the possibility or desirability 
of line breaks and the termination of the effect of accidentals.)

Best wishes,
Matthew


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Music running off the page

2011-06-19 Thread Carl Sorensen



On 6/19/11 4:18 PM, Michael Dykes thedoctor81...@gmail.com wrote:

 I have an attached piece of music, and some of the measures are, for lack of a
 better term, running off the page. Any help will be appreciated.


I haven't read your .ly file, but whenever measures run off a page, it
generally means that not all the staves have the same rhythm, so there's no
place for lilypond to break a line (at a measure break).  Typically what
will happen is an 8th or 16th note is left out of a measure.

You can usually find these problems easily with bar checks.

HTH,

Carl


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user