[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing a tiny pianostaff at the beginning of a score
From: |
David Kastrup |
Subject: |
Re: printing a tiny pianostaff at the beginning of a score |
Date: |
Tue, 18 Feb 2020 15:26:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Sandro Santilli <address@hidden> writes:
> On Tue, Feb 18, 2020 at 02:55:44PM +0100, David Kastrup wrote:
>
>> \new Staff \with { \override StaffSymbol.line-count = #1
>> \omit Clef
>> \omit KeySignature
>> \omit TimeSignature
>> \omit LedgerLineSpanner
>> \omit BarLine
>> instrumentName = \markup \column { Gtr Bas }
>> }
>> << { \stemUp r4 r r d'' } \\ { \stemDown g'4 r8 g' g'4 r } >>
>>
>> would appear to do the trick. You can use that inside of a \score
>> markup if necessary. You have to see just which of the omitted material
>> you'd rather have.
>
> What happens if I prepend that staff to the rest of the lead sheet,
> which starts with:
>
> leadSheet = {
> <<
> \new ChordNames {
> \harmony
> }
> .....
>
> Is that the new Staff continues instead of being interrupted.
> I'd want it completely detached instead (and smaller).
> Nice one, line-count, but I think I can deal with full staff as well.
I repeat: "You can use that inside of a \score markup if necessary".
\header {
composer = "myself"
title = "Hark"
}
\score {
\header {
piece = \markup \score {
\new Staff \with { \override StaffSymbol.line-count = #1
\omit Clef
\omit KeySignature
\omit TimeSignature
\omit LedgerLineSpanner
\omit BarLine
instrumentName = \markup \column { Gtr Bas }
}
<< { \stemUp r4 r r d'' } \\ { \stemDown g'4 r8 g' g'4 r } >>
\layout { #(layout-set-staff-size 14) }
}
composer = "myself"
}
<<
\chords { c1 }
\new Staff { c'1 }
\addlyrics { Om. }
>>
}
--
David Kastrup
My replies have a tendency to cause friction. To help mitigating
damage, feel free to forward problematic posts to me adding a subject
like "timeout 1d" (for a suggested timeout of 1 day) or "offensive".