Re: Rotated StaffGroup InstrumentName?
"N. Andrew Walsh" writes: > Hi List, > > quick general question: > > if I have a StaffGroup, like this in my score: > -- > \new StaffGroup = "Staff_soloists" > << > \new Staff = "Staff_oboe_solo" << > \global \exTwoOboeMusic > >> > \new Staff = "Staff_guitar_solo" << > \global \exTwoGuitarMusic > >> > \new StaffGroup = "Staff_percussion_solo" \with { > systemStartDelimiter = #'SystemStartSquare > instrumentName = #"Perc. Solo" > shortInstrumentName = #"S.Prc." > } > << > \new Staff = "percSoloOneUpper" << > \global \exTwoPercSoloOneMusicUpper > >> > \new Staff = "percSoloOneLower" << > \global \exTwoPercSoloOneMusicLower > >> > >> > >\new Staff = "exTwoCbsSolo" << > \global \exTwoBassSoloMusic > >> > >> -*- mode: compilation; default-directory: "/tmp/" -*- Compilation started at Mon Jan 28 15:52:40 lilypond /tmp/staffsolo.ly GNU LilyPond 2.21.0 Processing `/tmp/staffsolo.ly' Parsing... /tmp/staffsolo.ly:5:11: error: unknown escaped string: `\global' \global \exTwoOboeMusic /tmp/staffsolo.ly:5:11: error: string outside of text script or \lyricmode \global \exTwoOboeMusic /tmp/staffsolo.ly:5:19: error: unknown escaped string: `\exTwoOboeMusic' \global \exTwoOboeMusic /tmp/staffsolo.ly:5:19: error: string outside of text script or \lyricmode \global \exTwoOboeMusic /tmp/staffsolo.ly:8:9: error: unknown escaped string: `\global' \global \exTwoGuitarMusic /tmp/staffsolo.ly:8:9: error: string outside of text script or \lyricmode \global \exTwoGuitarMusic /tmp/staffsolo.ly:8:17: error: unknown escaped string: `\exTwoGuitarMusic' \global \exTwoGuitarMusic /tmp/staffsolo.ly:8:17: error: string outside of text script or \lyricmode \global \exTwoGuitarMusic /tmp/staffsolo.ly:17:11: error: unknown escaped string: `\global' \global \exTwoPercSoloOneMusicUpper /tmp/staffsolo.ly:17:11: error: string outside of text script or \lyricmode \global \exTwoPercSoloOneMusicUpper /tmp/staffsolo.ly:17:19: error: unknown escaped string: `\exTwoPercSoloOneMusicUpper' \global \exTwoPercSoloOneMusicUpper /tmp/staffsolo.ly:17:19: error: string outside of text script or \lyricmode \global \exTwoPercSoloOneMusicUpper /tmp/staffsolo.ly:20:11: error: unknown escaped string: `\global' \global \exTwoPercSoloOneMusicLower /tmp/staffsolo.ly:20:11: error: string outside of text script or \lyricmode \global \exTwoPercSoloOneMusicLower /tmp/staffsolo.ly:20:19: error: unknown escaped string: `\exTwoPercSoloOneMusicLower' \global \exTwoPercSoloOneMusicLower /tmp/staffsolo.ly:20:19: error: string outside of text script or \lyricmode \global \exTwoPercSoloOneMusicLower /tmp/staffsolo.ly:25:11: error: unknown escaped string: `\global' \global \exTwoBassSoloMusic /tmp/staffsolo.ly:25:11: error: string outside of text script or \lyricmode \global \exTwoBassSoloMusic /tmp/staffsolo.ly:25:19: error: unknown escaped string: `\exTwoBassSoloMusic' \global \exTwoBassSoloMusic /tmp/staffsolo.ly:25:19: error: string outside of text script or \lyricmode \global \exTwoBassSoloMusic /tmp/staffsolo.ly:27:7: error: Unfinished main input >> /tmp/staffsolo.ly:27:7: error: syntax error, unexpected end of input >> /tmp/staffsolo.ly:1: warning: no \version statement found, please add \version "2.21.0" for future compatibility fatal error: failed files: "/tmp/staffsolo.ly" Compilation exited abnormally with code 1 at Mon Jan 28 15:52:41 Not really interested in creating a minimal working example from scratch here. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Rotated StaffGroup InstrumentName?
Hi Andrew, you might try something like this: \new StaffGroup = "Staff_soloists" \with { \consists "Instrument_name_engraver" instrumentName = \markup \rotate #90 "Solo" } << ... >> HTH Jan-Peter Am 28.01.19 um 15:38 schrieb N. Andrew Walsh: > Hi List, > > quick general question: > > if I have a StaffGroup, like this in my score: > -- > \new StaffGroup = "Staff_soloists" > << > \new Staff = "Staff_oboe_solo" << > \global \exTwoOboeMusic > >> > \new Staff = "Staff_guitar_solo" << > \global \exTwoGuitarMusic > >> > \new StaffGroup = "Staff_percussion_solo" \with { > systemStartDelimiter = #'SystemStartSquare > instrumentName = #"Perc. Solo" > shortInstrumentName = #"S.Prc." > } > << > \new Staff = "percSoloOneUpper" << > \global \exTwoPercSoloOneMusicUpper > >> > \new Staff = "percSoloOneLower" << > \global \exTwoPercSoloOneMusicLower > >> > >> > > \new Staff = "exTwoCbsSolo" << > \global \exTwoBassSoloMusic > >> > >> > --- > Is there a way to put the group InstrumentName for that whole group, but > rotated 90°? This is something that would be useful, for example, in a > piece for orchestra with both chorus and soloists, or a concerto with > more than one soloist (in this case, these are four soloists within a > larger ensemble. The content is in a separate file, triggered by the > variables, and \global defining Staff settings). > > What I would like would be for the toplevel StaffGroup "Staff_soloists" > to have a name, rotated 90° and extending to the left of the individual > instrument names. Is there any way to do that? > > Cheers, > > A > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Rotated StaffGroup InstrumentName?
Hi Jan-Peter, On Mon, Jan 28, 2019 at 4:39 PM Jan-Peter Voigt wrote: [stuff] Yes, that is exactly what I was looking for, thanks very much! My next problem is that this now overlaps the staff instrument names. I could fix this with a bigger indent in the \paper block, but changing the left-margin and indent variables according to NR 4.1.1 doesn't seem to have any effect at all. I'm going to have to dig into it a bit. Cheers, A ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Rotated StaffGroup InstrumentName?
PS- d'oh, nevermind that last. I discovered "\override Staff.InstrumentName.X-offset" -A ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user