Putting lyrics inside the staff: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Lyrics can be moved vertically to place them inside the staff. The lyrics are moved with <code>\override LyricText.extra-offset = #'(0 . </code><code>dy</code><code>)</code> and there are similar commands to move the extenders and hyphens. The offset needed is established with trial and error.
Lyrics can be moved vertically to place them inside the staff. The lyrics are moved with <code>\override LyricText.extra-offset = #'(0 . <var>dy</var>)</code>, and there are similar commands to move the extenders and hyphens. A good value for <var>dy</var> must be found by trial and error.


<lilypond version="2.24.0">
<lilypond version="2.24">
% LSR : contributed by Jan-Peter Voigt http://lists.gnu.org/archive/html/lilypond-user/2010-10/msg00451.html
% LSR contributed by Jan-Peter Voigt
% LSR http://lists.gnu.org/archive/html/lilypond-user/2010-10/msg00451.html


<<
<<
Line 16: Line 17:
</lilypond>
</lilypond>


[[Category:Staff notation]]
[[Category:Text]]
[[Category:Text]]
[[Category:Text]]
[[Category:Staff notation]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]