Re: Disable all padding and collision around markup

2024-05-19 Thread William Rehwinkel via LilyPond user discussion
This is perfect, thanks so much for your responses everybody. -William On 5/19/24 10:56, Kieren MacMillan wrote: Hi Knute, There are ways to "disable the padding" (a.k.a. have the spacing engine ignore the TextScript). However, it might be just as easy — or maybe even easier? — to simply

Disable all padding and collision around markup

2024-05-18 Thread William Rehwinkel via LilyPond user discussion
Dear list, In the following example, I use a section label and a TextScript on a note. I offset the markup text so that it appears inside the staff, but it still makes the section text higher up. I would like to know if it is possible to disable this padding around the TextScript, so that the

Re: Can I output PNG and midi from the same file?

2024-05-12 Thread William Rehwinkel via LilyPond user discussion
Dear Peter, Assuming you wrote something like % - \version "2.25.7" \score { c'4 \midi {} } % - and then ran lilypond --PNG midi.ly, then there would be no PNG output. This is because if you only include the \midi block, then lilypond produces no visual output at all. But if you

Re: Unison notes, one stem

2024-05-06 Thread William Rehwinkel via LilyPond user discussion
Dear Dirck, There is a very easy way! You can simply do \version "2.25.7" \relative c' 4 -William On 5/6/24 22:44, Dirck Nagy wrote: Hi all Does Lilypond have an easy way to display unisons on one stem?  (it is fairly common in guitar music; same note played on 2 strings simultaneously) 

Re: subscript in lyrics

2024-04-26 Thread William Rehwinkel via LilyPond user discussion
Dear David, You have to make the whole title a markup, in other words title = \markup { 539. Threshing Floor of Aruna. 1100 \smallCaps BC } -William On 4/26/24 18:49, David Olson wrote: Thanks for drawing my attention to \markup Does \markup also work in the header? If I'm giving a

Re: Highlighting lyric words

2024-04-24 Thread William Rehwinkel via LilyPond user discussion
I don't know what you mean by highlighting. But you can override properties of text in lyrics like this: -William % -- \version "2.25.7" \relative c' { c4 c } \addlyrics { Hello \once\override LyricText.color = #red world } On 4/23/24 23:18, Walt North wrote: I have found how to

Re: Lyrics and Barchecks

2024-04-23 Thread William Rehwinkel via LilyPond user discussion
Dear Steve, I think the reason for this is hinted at by the cryptic "5/8" in the barcheck failure message. The "mine" at the end of the first measure extends all the way until the next note ("I"), which is not at the beginning of a bar, causing the barcheck to fail. If you try the following

Re: Special notation question

2024-04-21 Thread William Rehwinkel via LilyPond user discussion
Dear Xavier, I think this is called "void notation". I write it in the following way (including an example of how to write whole notes), but it is very time-consuming, and perhaps someone else has an easier way to automatically write music like this. Thanks, -William % \version

Re: coloring notes with more voices in a staff

2024-03-18 Thread William Rehwinkel via LilyPond user discussion
Dear Joop, Use \tweak color #red , like so \version "2.25.6" \relative c { f'2( g4.) << { d8 | f4 f4 g16 a } { \tweak color #red g8 | d4 d4 e16 f } >> a8 r4 } Thanks, -William On 3/18/24 12:41, Go77 wrote: Hi, I'm trying

Re: Tremolo/triplet problem

2024-03-06 Thread William Rehwinkel via LilyPond user discussion
Dear Ralph, I think this replicates how the original score looks: \version "2.25.7" \relative b { \clef alto \time 4/4 \tuplet 6/4 { b2.:8 } c4.*2/3:8 d4.*2/3:8 | c2.*2/3:8 b4.*2/3:8 a4.*2/3:8 } -William On 3/6/24 21:53, Ralph Palmer wrote: Hi - Thanks for all your work and for your

Omit footnotes and footnote text from score

2024-02-27 Thread William Rehwinkel via LilyPond user discussion
Dear list, I am wondering if there is a way to omit footnotes and the text that accompanies them from a score. the reason for this is I am making a critical edition of a baroque trio sonata from a manuscript, and would like to use footnotes for editorial changes in the full score and not

Re: "Squished" tie between 2 notes

2024-02-11 Thread William Rehwinkel via LilyPond user discussion
Dear George, I put the following in a style-sheet which I import into every lilypond file: \context { \Voice \override Tie.springs-and-rods = #ly:spanner::set-spacing-rods \override Tie.minimum-length = #4 \override Tie.minimum-length-after-break = #4 } It shouldn't

Re: Help with music function

2023-12-18 Thread William Rehwinkel via LilyPond user discussion
Dear Mark, I did this in a slightly different way...if you do \displayMusic c4\rest you can see how to represent a rest using the make-music procedure in scheme code. Modifying that a bit, I got % \version "2.25.6" %\displayMusic c4\rest = %(make-music %'RestEvent

Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread William Rehwinkel via LilyPond user discussion
Dear Robert, in the future, please take care that the minimal working example does not contain any undefined symbols that cause errors. Here, simply adding "strike = \fermata" at the beginning of the file alleviated all these errors, however. After using convert-ly and rendering (using

Re: init.ly Error Making PDF

2023-11-14 Thread William Rehwinkel via LilyPond user discussion
yes, it is a known bug due to a ghostscript security patch. Try using the pre-built binary for lilypond instead of homebrew. -William On 11/15/23 01:13, Ernie Braganza wrote: I just updated my Mac using Homebrew and I now get this error when I run lilypond. It compiles fine if I create a

Re: Fermata Markup below Staff

2023-11-12 Thread William Rehwinkel via LilyPond user discussion
I see, thanks for the update. I found a solution to this problem here: https://www.reddit.com/r/lilypond/comments/vozo9z/comment/ieibg4j/ does this do what you were hoping for? -William Pasted below in-case this link goes away... \version "2.25.7" \score { \new PianoStaff <<

Re: Fermata Markup below Staff

2023-11-12 Thread William Rehwinkel via LilyPond user discussion
Dear Johannes, If you change "ufermata" to "dfermata" and insert "\tweak direction #DOWN" before "\mark" that should get you what you want. Thanks, -William \version "2.24.0" \relative c' { e1 \break \once \override Score.RehearsalMark.break-visibility = #end-of-line-visible \tweak

Re: Where is my tuplet bracket?

2023-10-16 Thread William Rehwinkel via LilyPond user discussion
I don't know, but what I meant to say is that this use of \tuplet outside of \voices or a split into multiple voices seems to me to be "undefined behavior" ("unspecified"?). -William On 10/16/23 19:09, David Kastrup wrote: William Rehwinkel writes: Dear David, This seems like an

Re: Where is my tuplet bracket?

2023-10-16 Thread William Rehwinkel via LilyPond user discussion
Dear David, This seems like an improper/unintended use of \tuplet. I would have used \scaleDurations instead. However, if you slightly modify the mwe as shown below, the tuplet bracket is shown. Thanks, -William \version "2.25.7" \new Staff { \key c \minor < es' g' > < bes' d''~ >2.

Re: Beam issue

2023-09-23 Thread William Rehwinkel via LilyPond user discussion
See https://lilypond.org/doc/v2.25/Documentation/notation/setting-automatic-beam-behavior In engraving from the Romantic and Classical periods, beams often begin midway through the measure in 3/4 time, but modern practice is to avoid the false impression of 6/8 time (see Gould, p. 153).

Re: tagline = ##f does not work in score header block

2023-09-12 Thread William Rehwinkel via LilyPond user discussion
Dear Knute, Searching `lilypond "tagline"` on google I found https://lilypond.org/doc/v2.23/Documentation/notation/creating-titles-headers-and-footers where it is stated "The default LilyPond footer text can be changed by adding a tagline in the top-level \header block." (it seems this is

Re: Is there a better way to have a boxed part letter at the beginning of an arbitrary line?

2023-08-16 Thread William Rehwinkel via LilyPond user discussion
Dear Kevin, I use "\sectionLabel"s for this. *\version "2.25.6"** **\language "english"** **melody = \relative c' {** **  \time 6/8** **  \key d \major** **  \clef treble** **  \sectionLabel \markup{ \box \pad-markup #0.5 "A" }** **  d8[ e8** **e8] g8[ a8 b8] |** **  \break** ** 

Re: s-curve slurs across staves?

2023-08-16 Thread William Rehwinkel via LilyPond user discussion
What PDF did you find this in? -William On 8/16/23 12:50, Jin Choi wrote: I came across a PDF describing updates to \shape that let you use head centered coordinates and polar coordinates that would make this easier. But my 2.24.0 version of lilypond doesn’t seem to include \shapeII. What is

Re: strange detached beam issue

2023-08-15 Thread William Rehwinkel via LilyPond user discussion
It should be noted that on 2.25.7 this doesn't happen on my machine, and the beam renders correctly (after running convert-ly on your snippet, it didn't change anything). -William On 8/15/23 18:11, Jin Choi wrote: I have a section of piano music where two voices start in the treble clef and

Re: vertically center rests in polyphonic voices

2023-08-10 Thread William Rehwinkel via LilyPond user discussion
Dear Jin, You can write 4\rest instead of r4 to specify what "pitch" (vertical position) the rest should appear at. You should write the note that is the middle line of the staff for it to appear like a \oneVoice rest. So \version "2.25.6" upper = \relative c'' {   \new Voice {    

Re: Removing barlines temporarily

2023-08-10 Thread William Rehwinkel via LilyPond user discussion
Dear Jin, Depending on what type of music it is, you can also do this: -William \version "2.25.7" \relative c' {   c4 d e f g a b c | c \set Timing.measureBarType = "" b a g f e d c | c \set Timing.measureBarType = "|" d e f g a b c } On 8/10/23 11:36, Jin Choi wrote: I have a section of

Re: Polyphonic piano writing - beam directions

2023-08-08 Thread William Rehwinkel via LilyPond user discussion
Dear Jin, In the future, it will be helpful to include a minimum working example, so we can get a better idea of what step you are at, and what exactly the problem is, so we can modify the code more directly. For writing cross-staff beams, you can use \voiceOne when the notes go to the

Re: Cadenza in right hand, metered in left

2023-08-02 Thread William Rehwinkel via LilyPond user discussion
Dear Knute, Substituting the following for the score context may result in more of what you are looking for. \context {   \Score   \remove Timing_translator   \override SpacingSpanner.strict-note-spacing = ##t     } % ... } However, it will probably not be ideal to have the

How to display timesig.C22 on 4/2 instead of 2/2

2023-07-08 Thread William Rehwinkel via LilyPond user discussion
Dear list, I am having trouble finding the source code which displays the glyphs timesig.C44 and C22 in place of 4/4 and 2/2 time signatures. The reason is I would like to override this so that timesig.C22 displays on 4/2 time signature for early music which uses the /brevetactus/. I know

Re: spacing

2023-07-05 Thread William Rehwinkel via LilyPond user discussion
Dear Lydia, Sorry, I'm not sure what you want to do to change the spacing. If I add "ragged-right = ##t" inside the \paper block, we can see that the first system takes up much less horizontal space than the other systems when you ignore the stretching out to fill the whole line. What were

Re: overriding digit-names

2023-06-28 Thread William Rehwinkel via LilyPond user discussion
Dear John, You need to add another pound sign before the list. StrokeFinger.digit-names is a vector, with is a guile-specific construct not a standard list. This is entered by adding a pound sign, so confusingly we need the lilypond pound sign and the guile pound sign (of course this is

Embed files other than source code in PDF file?

2023-05-31 Thread William Rehwinkel via LilyPond user discussion
Dear list, I have been using the line #(ly:set-option 'embed-source-code #t) to embed the lilypond files I used in the PDF, but was wondering if there was a procedure I could call to embed some other file, such as a PDF of the source I used for the transcription? Sorry, looking through the

Re: running on a MacBook

2023-05-26 Thread William Rehwinkel via LilyPond user discussion
Hello Donna, macOS user here, what I do is download and unpack https://gitlab.com/lilypond/lilypond/-/releases/v2.24.1/downloads/lilypond-2.24.1-darwin-x86_64.tar.gz into my home directory at for example ~/lilypond-2.24.1/ , then symlink that directory to ~/lilypond/ , and add export

Re: Fonts and Tempo

2023-05-20 Thread William Rehwinkel via LilyPond user discussion
My apologies for double-posting...after writing I looked some more and found that you can use *\char ##x* to enter unicode characters in a markup block as in here https://lilypond.org/doc/v2.25/Documentation/notation/unicode On 5/20/23 23:24, William Rehwinkel via LilyPond user discussion

Re: Fonts and Tempo

2023-05-20 Thread William Rehwinkel via LilyPond user discussion
Dear Greg, For the umlaut, as long as you enter the character with umlaut into the file, it should work. for Example, on vim I type -K, then colon (:), then "o", and it enters ö. For the second question, I found https://lsr.di.unimi.it/LSR/Snippet?id=1008 (also attached to this email) but

Re: Moving note in three-voice context

2023-05-17 Thread William Rehwinkel via LilyPond user discussion
Dear Jakob, It must be a nice /piece d'orgue/ ;) (this has lost some of its comedic value as others have already answered) I can think of two solutions to this problem. 1. You can override NoteHead.extra-spacing-width = #'(left . right). For example, #'(-4 . 0) so: % --- leftOne =

Re: Non-local page-break oddities

2023-04-24 Thread William Rehwinkel via LilyPond user discussion
Dear Joel, I think that using multiple bookparts is a perfect strategy for this document based on this example, in which each score should nicely start on a new page. Without any minimal examples, it is hard to determine what exactly is causing the bad page-breaking results, maybe you are

Re: How to control ties direction between chords

2023-04-21 Thread William Rehwinkel via LilyPond user discussion
Dear Vlad, Inserting ^~ and _~ to the individual notes in the chord should work nicely, Like so. Thanks, -William \version "2.25.2" \relative { \clef treble \key c \major \time 4/4 << \new Voice = voiceOne \relative { \voiceOne 4 8 } \new Voice = voiceTwo

Question about bracketifying rests

2023-04-19 Thread William Rehwinkel via LilyPond user discussion
Dear list, I use the following stencil (which is derived the bracketify-stencil procedure from lilypond) to draw editorial brackets around rests. The output looks very nice and more preferable for my use than using \parenthesize (mainly because it changes in size for quarter note rests).

Re: /usr/local/lilypond/usr/bin/lilypond: not found

2023-04-11 Thread William Rehwinkel via LilyPond user discussion
Dear JD, I'm not sure I can help much but will just write two things that come to mind. Did you double check that the path /usr/local/lilypond/usr/bin/lilypond exists, and is not just a slightly different path? When I install lilypond from

Re: spacing of invisible rests

2023-03-24 Thread William Rehwinkel via LilyPond user discussion
Dear Jaime, Try using `\once \hideNotes r` and before that include \once \override Rest.extra-spacing-width = #'(0 . 50) Or another value, depending on how much space. As in the following example. I'm having trouble figuring out exactly what you are looking for, could you hook up a minimum

Re: spacing of invisible rests

2023-03-24 Thread William Rehwinkel via LilyPond user discussion
Dear Jaime, If you mean silent rests such as s4, s8 etc. I thought those do not actually take up any space, and are analogous to using \skip for that duration. As in the following example: \version "2.24.1" << \new Staff { c'1 c'1 } \new Staff { \repeat unfold 128 { s128 } }

Re: how to install in Linux

2023-03-24 Thread William Rehwinkel via LilyPond user discussion
Dear Dario, Personally, I think adding the `lilypond-2.24.1/bin` directory to $PATH is the best way to handle this, whether you placed lilypond-2.24.1 in the user's home directory or somewhere else. -William On 3/24/23 17:41, Dario Marrini wrote: Hi lilypond people, I'm using a LinuxMint

Re: cross-staff stems

2023-03-23 Thread William Rehwinkel via LilyPond user discussion
Dear all, Something like the following example might be helpful to include in the documentation, as it explains which of the staves \crossStaff should be applied to. -Will % -- \version "2.24.1" \new PianoStaff << \new Staff = "right" { \voiceTwo \crossStaff {

Re: cross-staff stems

2023-03-22 Thread William Rehwinkel via LilyPond user discussion
Dear Mark, I found that the error was applying "\crossStaff" to the lower notes instead of the higher ones, applying them to the upper notes (whos stems will extend further below the stem) seems to have fixed the issue. Thanks, -William On 3/22/23 20:24, Mark Stephen Mrotek wrote: Jean,

Re: Positioning lyrics properly with beaming?

2022-07-21 Thread William Rehwinkel via LilyPond user discussion
Hey Kevin, I found that the command to disable all logic for finding melismas (manual beams when \autoBeamOff, slurs, etc.) is *melismaBusyProperties = #'()* . Refer to the attached example which sets it in a \context block. In the *words* macro I entered the lyrics in a few different ways,