lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: short instrument name setting


From: chip
Subject: Re: short instrument name setting
Date: Mon, 05 Jan 2009 14:53:26 -0700
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Reinhold Kainhofer wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 5. Januar 2009 21:55:24 schrieb chip:
Reinhold Kainhofer wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 5. Januar 2009 21:09:41 schrieb chip:
There must be an override to make the shortInstrumentName not
appear on the individual parts?
Just don't set it in the individual parts ;-)
So I have to put them in the /score /book section  I am guessing. I have
this  section -

\book { \score {
        << \new Staff = "trumpet" \trumpet

\new Staff = "trumpet" \with { shortInstrumentName = #"Tbe." } \trumpet

Cheers,
Reinhold
Ok, I know I'm not this stupid, but no matter what I do it just won't work. I've tried everything suggested and played with the \remove bit from NR 5.1.3, now I'm ready to just through up my hands and say forget it, it's not worth the hassle. I'm going for a drive. I'm sure the answer is in the manuals somewhere, probably broken up into bits scattered about the NR and the LM. The section that talks about writing a score should also include how to not have the shortnames print on all the separate parts from that score. At any rate, here's my file (condensed) -

% LilyPond
\include "english.ly"
\version "2.12.0"
\header{
   title = "Que Bien Te Miras"
   composer = "Recorded by: Rudy Palacias"
   arranger = "Transcribed by: Chip Wiegand"
}
global = { \time 4/4 \key g \major \tempo 4=107
 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
 %\override Score.BarNumber #'break-visibility = #'#(#f #f #f)
%\override Score.BarNumber #'break-visibility = #end-of-line-invisible %\override Score.BarNumber #'self-alignment-X = #-1
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \override MultiMeasureRest #'expand-limit = 1
\set Score.skipBars = ##t \numericTimeSignature
}
\paper {
top-margin = 0.1\cm
page-top-space = 0.1\cm
ragged-bottom = ##t
left-margin = 20\mm
line-width = 175\mm
}
% ------ Trumpet 1------
trpt = \relative c' {
\partial 8*3 fs8 fs e-.
a8 a-. a8.-. a16 a8-. fs g a-.
===== all the rest of the notes removed to condense it here ===
}

trumpet = {
 \global
 \set Staff.instrumentName = #"Trumpet 1"
\set Staff.shortInstrumentName = #"Tpt 1" ~~~~~~~ I set this so it shows on all the score pages \set \clef treble
 <<
   \trpt
 >>
}

% ------ Trumpet 2------
====  a whole bunch of notation removed to condense it here ====

\book { \score {
       << \new Staff = "trumpet" \trumpet
            \new Staff = "trumpetb" \trumpetb
            \new Staff = "alto" \altosax
            \new Staff = "altob" \altosaxb
            \new Staff = "tenor" \tenorsax
            \new Staff = "bari" \barisax
            \new Staff = "trombone" \trombone
        \new Staff = "tromboneb" \tromboneb
       >> } }
\book { \score { << \new Staff = "trumpet" \with { \remove shortInstrumentName } \trumpet >> } } \book { \score { << \new Staff = "trumpetb" \with { \remove shortInstrumentName } \trumpetb >> } } \book { \score { << \new Staff = "alto" \with { \remove shortInstrumentName } \altosax >> } } \book { \score { << \new Staff = "altob" \with { \remove shortInstrumentName } \altosaxb >> } } \book { \score { << \new Staff = "tenor" \with { \remove shortInstrumentName } \tenorsax >> } } \book { \score { << \new Staff = "bari" \with { \remove shortInstrumentName } \barisax >> } } \book { \score { << \new Staff = "trombone" \with { \remove shortInstrumentName } \trombone >> } } \book { \score { << \new Staff = "tromboneb" \with { \remove shortInstrumentName } \tromboneb >> } }
\layout { \context { \Score } }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]