]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fixes black bars in NR
authorPhil Holmes <mail@philholmes.net>
Wed, 18 Jul 2012 10:52:38 +0000 (11:52 +0100)
committerPhil Holmes <mail@philholmes.net>
Wed, 18 Jul 2012 11:17:50 +0000 (12:17 +0100)
19 files changed:
Documentation/included/chord-names-jazz.ly
Documentation/included/display-predefined-fretboards.ly
Documentation/notation/ancient.itely
Documentation/notation/changing-defaults.itely
Documentation/notation/chords.itely
Documentation/notation/fretted-strings.itely
Documentation/notation/input.itely
Documentation/notation/notation-appendices.itely
Documentation/notation/pitches.itely
Documentation/notation/repeats.itely
Documentation/notation/simultaneous.itely
Documentation/notation/spacing.itely
Documentation/notation/staff.itely
Documentation/notation/wind.itely
Documentation/notation/world.itely
Documentation/snippets/new/chant-or-psalms-notation.ly
Documentation/snippets/new/chords-headword.ly
Documentation/snippets/new/fretted-headword.ly
Documentation/snippets/new/staff-headword.ly

index 5ef6039053b4121503491cae2598ffd71c4fd085..6a3519778bca6558a3dde3385405f80b4820f49c 100644 (file)
@@ -146,7 +146,6 @@ banterProperties = \sequential {
         \new Staff  \transpose c c' { \chs }
     >>
     \layout {
-        indent = 3.\cm
         \context {
             \ChordNames
             \consists Instrument_name_engraver
index 03d91d79d2050b753e09c0aadac54a2c8bdaffe0..98b1d86f1c22c74a26e42c88e23e41d44c2ac154 100644 (file)
@@ -57,18 +57,15 @@ chordsline = {
 }
 
 \score {
-<<
-  \context ChordNames {
-    \chordsline
-  }
-  \context FretBoards {
-    \chordsline
-  }
-  \context Staff {
-    \chordsline
-  }
->>
-  \layout {
-    indent = 0
-  }
+  <<
+    \context ChordNames {
+      \chordsline
+    }
+    \context FretBoards {
+      \chordsline
+    }
+    \context Staff {
+      \chordsline
+    }
+  >>
 }
index 1348e2761a750dffe4063bc073b95379859b16fb..9c06638b1172bac8acadde0ca825db4f8e5cb2ac 100644 (file)
@@ -834,8 +834,10 @@ The style for accidentals and key signatures is controlled by the
 @code{glyph-name-alist} property of the grobs @code{Accidental} and
 @code{KeySignature}, respectively; e.g.:
 
-@code{\override Staff.Accidental #'glyph-name-alist =
-#alteration-mensural-glyph-name-alist}
+@example
+\override Staff.Accidental #'glyph-name-alist =
+  #alteration-mensural-glyph-name-alist
+@end example
 
 @seealso
 Music Glossary:
@@ -1261,8 +1263,10 @@ The style for accidentals and key signatures is controlled by the
 @code{glyph-name-alist} property of the grobs @code{Accidental} and
 @code{KeySignature}, respectively; e.g.:
 
-@code{\override Staff.Accidental #'glyph-name-alist =
-#alteration-mensural-glyph-name-alist}
+@example
+\override Staff.Accidental #'glyph-name-alist =
+  #alteration-mensural-glyph-name-alist
+@end example
 
 @seealso
 Music Glossary:
index 5be9b2f0e2f3da44d727c78bf92066e318e57989..b0cfac035c62d55e58b80679bc4491566b9fbbb4 100644 (file)
@@ -3123,7 +3123,7 @@ by pre-defined functions, defined in @file{scm/output-lib.scm},
 where the last three columns indicate whether the layout objects
 will be visible in the positions shown at the head of the columns:
 
-@multitable {@code{begin-of-line-invisible}} {@code{'#(#t #t #t)}} {yes} {yes} {yes}
+@multitable {@code{begin-of-line-invisible}} {@code{'#(#t #t #t)}} {Before} {At no} {After}
 @headitem Function                   @tab Vector                  @tab Before @tab At no    @tab After
 @headitem form                       @tab form                    @tab break  @tab break    @tab break
 
index 2a360698cb761012616315028a3709e3f07325bb..0effab0b99c2ec849f56e8f4ba542087b976951e 100644 (file)
@@ -785,7 +785,8 @@ myChords = \relative c' {
 @node Figured bass
 @subsection Figured bass
 
-@lilypondfile[quote]{figured-bass-headword.ly}
+@c Line width hack because of instrument names
+@lilypondfile[quote,staffsize=18,line-width=14.5\cm]{figured-bass-headword.ly}
 
 Figured bass notation can be displayed.
 
index db24f3d0cdf7df964e8ee94d0e1c195fc7e31a71..cb60a7c127d507650edfdfa734d859a03b84bc4a 100644 (file)
@@ -1131,7 +1131,7 @@ diagrams can be added for other instruments or other tunings
 by following the examples found in
 @file{predefined-guitar-fretboards.ly}.
 
-Fret diagrams for the ukulele are contained in the file
+Fret diagrams for the ukulele are contained in the file @*
 @file{predefined-ukulele-fretboards.ly}.
 
 @lilypond[verbatim, ragged-right, quote]
@@ -1149,7 +1149,7 @@ myChords = \chordmode { a1 a:m a:aug }
 }
 @end lilypond
 
-Fret diagrams for the mandolin are contained in the file
+Fret diagrams for the mandolin are contained in the file @*
 @file{predefined-mandolin-fretboards.ly}.
 
 @lilypond[verbatim, ragged-right, quote]
@@ -1401,9 +1401,9 @@ Notation Reference:
 @ref{Predefined fretboard diagrams}.
 
 Installed Files:
-@file{ly/predefined-guitar-fretboards.ly},
-@file{ly/predefined-guitar-ninth-fretboards.ly},
-@file{ly/predefined-ukulele-fretboards.ly},
+@file{ly/predefined-guitar-fretboards.ly}, @*
+@file{ly/predefined-guitar-ninth-fretboards.ly}, @*
+@file{ly/predefined-ukulele-fretboards.ly}, @*
 @file{ly/predefined-mandolin-fretboards.ly}.
 
 Snippets:
index 1ef37b17d6bb011ad6546df0e3c93e9bbe5d9449..fe0af3b5daf4aaddcf320def4da0602a2dfaaea9 100644 (file)
@@ -1356,7 +1356,7 @@ command, either at top-level or inside music.  This label can then be
 referred to in a markup, to get the number of the page where the marked
 point is placed, using the @code{\page-ref} markup command.
 
-@lilypond[verbatim]
+@lilypond[verbatim,papersize=a8landscape]
 \header { tagline = ##f }
 \book {
   \label #'firstScore
@@ -1474,7 +1474,7 @@ tocAct =
    (add-toc-item! 'tocActMarkup text))
 @end verbatim
 
-@lilypond[line-width=11.0\cm]
+@lilypond[line-width=10.0\cm]
 \header { tagline = ##f }
 \paper {
   tocActMarkup = \markup \large \column {
@@ -1502,7 +1502,7 @@ tocAct =
 
 Dots can be added to fill the line between an item and its page number:
 
-@lilypond[verbatim,quote]
+@lilypond[verbatim,line-width=10.0\cm]
 \header { tagline = ##f }
 \paper {
   tocItemMarkup = \tocItemWithDotsMarkup
index 30756c9d2fc00e682e4b0047b7e534fd04aae366..5d4ad9769afb9a1d3f1c679dda477dc2018e1a1f 100644 (file)
@@ -45,7 +45,8 @@
 The following chart shows two standard systems for printing chord
 names, along with the pitches they represent.
 
-@lilypondfile{chord-names-jazz.ly}
+@c The line width is a hack to allow space for instrument names
+@lilypondfile[quote,line-width=15\cm]{chord-names-jazz.ly}
 
 @node Common chord modifiers
 @appendixsec Common chord modifiers
@@ -72,7 +73,7 @@ Major third, perfect fifth
 @tab
 @code{5} or nothing
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:5
 }
@@ -85,7 +86,7 @@ Minor third, perfect fifth
 @tab
 @code{m} or @code{m5}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m
 }
@@ -98,7 +99,7 @@ Major third, augmented fifth
 @tab
 @code{aug}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:aug
 }
@@ -111,7 +112,7 @@ Minor third, diminished fifth
 @tab
 @code{dim}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:dim
 }
@@ -124,7 +125,7 @@ Major triad, minor seventh
 @tab
 @code{7}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:7
 }
@@ -137,7 +138,7 @@ Major triad, major seventh
 @tab
 @code{maj7} or @code{maj}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:maj7
 }
@@ -150,7 +151,7 @@ Minor triad, minor seventh
 @tab
 @code{m7}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m7
 }
@@ -163,7 +164,7 @@ Diminished triad, diminished seventh
 @tab
 @code{dim7}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:dim7
 }
@@ -176,7 +177,7 @@ Augmented triad, minor seventh
 @tab
 @code{aug7}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:aug7
 }
@@ -189,7 +190,7 @@ Diminished triad, minor seventh
 @tab
 @code{m7.5-}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m7.5-
 }
@@ -202,7 +203,7 @@ Minor triad, major seventh
 @tab
 @code{m7+}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m7+
 }
@@ -215,7 +216,7 @@ Major triad, sixth
 @tab
 @code{6}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:6
 }
@@ -228,7 +229,7 @@ Minor triad, sixth
 @tab
 @code{m6}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m6
 }
@@ -241,7 +242,7 @@ Dominant seventh, major ninth
 @tab
 @code{9}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:9
 }
@@ -254,7 +255,7 @@ Major seventh, major ninth
 @tab
 @code{maj9}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:maj9
 }
@@ -267,7 +268,7 @@ Minor seventh, major ninth
 @tab
 @code{m9}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m9
 }
@@ -280,7 +281,7 @@ Dominant ninth, perfect eleventh
 @tab
 @code{11}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:11
 }
@@ -293,7 +294,7 @@ Major ninth, perfect eleventh
 @tab
 @code{maj11}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:maj11
 }
@@ -306,7 +307,7 @@ Minor ninth, perfect eleventh
 @tab
 @code{m11}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m11
 }
@@ -319,7 +320,7 @@ Dominant ninth, major thirteenth
 @tab
 @code{13}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:13
 }
@@ -332,7 +333,7 @@ Dominant eleventh, major thirteenth
 @tab
 @code{13.11}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:13.11
 }
@@ -345,7 +346,7 @@ Major eleventh, major thirteenth
 @tab
 @code{maj13.11}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:maj13.11
 }
@@ -358,7 +359,7 @@ Minor eleventh, major thirteenth
 @tab
 @code{m13.11}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:m13.11
 }
@@ -371,7 +372,7 @@ Major second, perfect fifth
 @tab
 @code{sus2}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:sus2
 }
@@ -384,7 +385,7 @@ Perfect fourth, perfect fifth
 @tab
 @code{sus4}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   c1:sus4
 }
@@ -397,7 +398,7 @@ Perfect fifth
 @tab
 @code{1.5}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   \powerChords
   c1:1.5
@@ -411,7 +412,7 @@ Perfect fifth, octave
 @tab
 @code{1.5.8}
 @tab
-@lilypond[line-width=3\cm,noragged-right, notime]
+@lilypond[line-width=2.8\cm,noragged-right, notime]
 \chordmode {
   \powerChords
   c1:1.5.8
@@ -432,15 +433,15 @@ The chart below shows the predefined string tunings.
 
 The chart below shows the predefined fretboard diagrams for guitar.
 
-@lilypondfile{display-predefined-fretboards.ly}
+@lilypondfile[line-width=15.5\cm]{display-predefined-fretboards.ly}
 
 The chart below shows the predefined fretboard diagrams for ukulele.
 
-@lilypondfile{display-predefined-ukulele-fretboards.ly}
+@lilypondfile[line-width=15.5\cm]{display-predefined-ukulele-fretboards.ly}
 
 The chart below shows the predefined fretboard diagrams for mandolin.
 
-@lilypondfile{display-predefined-mandolin-fretboards.ly}
+@lilypondfile[line-width=15.5\cm]{display-predefined-mandolin-fretboards.ly}
 
 
 @node Predefined paper sizes
index be5c34edaee3942108c2e8d4e8c762ca84ada039..42643abde9a0112877cfb20a9d4923b47a745aad 100644 (file)
@@ -2356,7 +2356,7 @@ Accidentals are printed like with @code{modern}, but cautionary
 accidentals are added for all sharp or flat tones specified by the
 key signature, except if the note is immediately repeated.
 
-@lilypond[quote]
+@lilypond[quote,staffsize=18]
 musicA = {
   <<
     \relative c' {
index 1aeebd69d56930df431ccdb5760c7b2d9dd3a9e1..8696a750096c135f2b8869e43ac78fec376c20da 100644 (file)
@@ -414,7 +414,8 @@ then include the markup in a Scheme list.
 voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
 \relative c'' {
   c1
-  \set Score.repeatCommands = #(list(list 'volta voltaAdLib) 'start-repeat)
+  \set Score.repeatCommands =
+    #(list(list 'volta voltaAdLib) 'start-repeat)
   c4 b d e
   \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
   f1
index 4ded8656e032fd3c70dbebe2e335158d66857305..f633877ac2683b8cda7125f9f2c431fbb767e7ae 100644 (file)
@@ -13,7 +13,7 @@
 @node Simultaneous notes
 @section Simultaneous notes
 
-@lilypondfile[quote]{simultaneous-headword.ly}
+@lilypondfile[quote,ragged-right,line-width=16\cm]{simultaneous-headword.ly}
 
 Polyphony in music refers to having more than one voice occurring
 in a piece of music.  Polyphony in LilyPond refers to having more
@@ -67,7 +67,8 @@ The notes within the chord themselves can also be followed by articulation
 and ornamentation.
 
 @lilypond[verbatim,quote,relative=2]
-<a c\prall e>1 <a-> c-^ e>2 <f-. a c-. e-.>4 <a-+ c-->8. <g\fermata c e\turn>16
+<a c\prall e>1 <a-> c-^ e>2 <f-. a c-. e-.>4
+<a-+ c-->8. <g\fermata c e\turn>16
 @end lilypond
 
 However some notation, such as dynamics, hairpins and slurs must be
@@ -75,7 +76,8 @@ attached to the chord, rather than notes within the chord, otherwise
 they will not print.
 
 @lilypond[verbatim,quote,relative=2]
-<a\f c( e>1 <a c) e>\f <a\< c e>( <a\! c e>) <a c e>\< <a c e> <a c e>\!
+<a\f c( e>1 <a c) e>\f <a\< c e>( <a\! c e>)
+<a c e>\< <a c e> <a c e>\!
 @end lilypond
 
 @cindex chords, empty
index 0078a7839de8a6e0ecfbdd4a32ffbe9133d3b1f9..dba9dbbae26b9c6a0f6895f97dbe0b58726a7011 100644 (file)
@@ -2658,7 +2658,7 @@ The vertical padding between an outside-staff object and the
 previously-positioned grobs can be controlled with
 @code{outside-staff-padding}.
 
-@lilypond[quote,ragged-right,relative=2,verbatim]
+@lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
 \once \override TextScript #'outside-staff-padding = #0
 a'^"This text is placed very close to the note"
 \once \override TextScript #'outside-staff-padding = #3
index b6c06c5690d611b33d331c20399fec7ca5c16ded..cd0b1073e8c7abeccd3e8a0a935b47faf87564ec 100644 (file)
@@ -12,7 +12,9 @@
 @node Staff notation
 @section Staff notation
 
-@lilypondfile[quote]{staff-headword.ly}
+@c The line width is a bit of a hack to allow space for the
+@c  instrument names.
+@lilypondfile[quote,ragged-right,line-width=14.5\cm,staffsize=16]{staff-headword.ly}
 
 This section explains how to influence the appearance of staves,
 how to print scores with more than one staff, and how to add tempo
index 72bb5255f6589f4a71802d95a963547e4ecf8eec..ade4986b780c928fab5dd340543894acc688535a 100644 (file)
@@ -397,10 +397,11 @@ can be displayed on the console using
 @code{#(print-keys-verbose 'flute (current-error-port))}, although
 they will not show up in the music output.
 
-New diagrams can be created by following the patterns in
+Creating new diagrams is possible, although this will require
+Scheme ability and may not be accessible to all users.  The
+patterns for the diagrams are in
 @file{scm/define-woodwind-diagrams.scm} and
-@file{scm/display-woodwind-diagrams.scm}.  However, this will
-require Scheme ability and may not be accessible to all users.
+@file{scm/display-woodwind-diagrams.scm}.
 
 @predefined
 @endpredefined
@@ -420,7 +421,7 @@ require Scheme ability and may not be accessible to all users.
 
 @seealso
 Installed Files:
-@file{scm/define-woodwind-diagrams.scm},
+@file{scm/define-woodwind-diagrams.scm}, @*
 @file{scm/display-woodwind-diagrams.scm}.
 
 Snippets:
index cdc2b0fe308d2176db5f4a2afd0fcfa7100e9ed8..7059fbc5bfeb723d26c83717141fe2a25d6bd294 100644 (file)
@@ -280,7 +280,7 @@ maqam.
 Here is one suggested grouping that maps the more common maqams to
 key signatures:
 
-@multitable @columnfractions 0.1 0.1 0.1 0.6
+@multitable @columnfractions 0.15 0.1 0.1 0.6
 @headitem maqam group
   @tab key
   @tab finalis
index 3a9b7022063411a47e8d59736ee185e595d007f9..95230aa31894414ac0f84e774db0770151d5dcc6 100644 (file)
@@ -11,8 +11,15 @@ aren't always the same length.
   doctitle = "Chant or psalms notation"
 }
 
-stemOn = { \revert Staff.Stem #'transparent \revert Staff.Flag #'transparent }
-stemOff = { \override Staff.Stem #'transparent = ##t \override Staff.Flag #'transparent = ##t }
+stemOn = {
+  \revert Staff.Stem #'transparent
+  \revert Staff.Flag #'transparent
+}
+
+stemOff = {
+  \override Staff.Stem #'transparent = ##t
+  \override Staff.Flag #'transparent = ##t
+}
 
 \score {
   \new Staff \with { \remove "Time_signature_engraver" }
index ce0724c93cad56d764a82e8b852614ee631d29d7..f0e7a0c9724fa4e6698969c15ece954c052b157c 100644 (file)
@@ -1,10 +1,4 @@
 \version "2.15.20"
-#(set-global-staff-size 15)
-\paper {
-  ragged-right = ##f
-  line-width = 15\cm
-  indent = 0\cm
-}
 
 \header {
   lsrtags = "headwords"
index 1e6e556b4fb8b95a2527a165f6f0b1532ad32240..5f49532a3ae271280e5a973fa92c948b6a5fc881 100644 (file)
@@ -5,12 +5,6 @@
 
 \version "2.15.18"
 
-#(set-global-staff-size 15)
-\paper {
-  line-width = 17\cm
-  indent = 0\cm
-}
-
 \header {
   lsrtags = "headwords"
   texidoc = ""
index 3dbed3282b87649c37e2ac6c9917463407cdfcac..30c6709bf04db9549f234acd4a694a451597407a 100644 (file)
@@ -1,12 +1,5 @@
 \version "2.15.32"
 \include "catalan.ly"
-#(set-global-staff-size 15)
-\paper{
-  ragged-right=##t
-  line-width=17\cm
-  indent=0\cm
-}
-
 
 \header {
   lsrtags = "headwords"