lilypond-user
[Top][All Lists]
Advanced

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

Re: Placing (some) outside-staff objects horizontally rather than vertic


From: William Rehwinkel
Subject: Re: Placing (some) outside-staff objects horizontally rather than vertically
Date: Thu, 29 Dec 2022 15:02:09 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

Dear Joel,

Especially if you are most interested in replicating a known source, another workaround that you may try is to manually write the three symbols as one markup line, like so:

Thanks,
-Will

% ----------
\version "2.24.0"

music = \fixed c' {
  \set Score.tempoHideNote = ##t
  \tempo 4 = 80
  \textMark \markup {
    \line {
      \small \italic "Silence."
      \large Largo.
      \small "\"PETER DRAGS WENDY ON TO ROCK\""
    }
  }
  d1
  \repeat unfold 4 { c4 d e f }
}



\score {
  <<
    \music
  >>
}
% ----------


On 12/29/22 15:49, Joel C. Salomon wrote:
The attached example has simultaneously a text mark, tempo mark, and section label.

Is there a way to get Lilypond to place them next to each other horizontally, rather than stacking them vertically, to match the original score?  Ideally, this would obey `outside-staff-priority`.

(Yes, there is: by manually tweaking the anchors for the various marks, till they end up approximately where I want them; see below.  I'm hoping there's a cleaner option available.)

--Joel


\version "2.24.0"

music = \fixed c' {
   \textMark \markup \small \italic "Text Mark"
   d1
   \repeat unfold 4 { c4 d e f }
}

dynamics = {
   \set Score.tempoHideNote = ##t
   <>\tempo 4 = 80
   \after 4*3 \tempo "Tempo Mark"
   \skip \music
}

up = {
   \after 1*2 \sectionLabel "Section Label"
   \music
}

\score {
   <<
     \up
     \new Dynamics \dynamics
   >>
}

--
+ ---------------------------------------------- +
|    William Rehwinkel - Oberlin College and     |
|                           Conservatory '24     |
|          william@williamrehwinkel.net          |
| PGP key:                                       |
| https://williamrehwinkel.net/static/pubkey.txt |
+ ---------------------------------------------- +

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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