Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • LilyPond LilyPond
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,011
    • Issues 1,011
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LilyPond
  • LilyPondLilyPond
  • Issues
  • #5977
Closed
Open
Created May 12, 2020 by Valentin Villenave@vvillenaveDeveloper

note-by-number markup command doesn’t scale the stem properly

Reported by Ben Rudiak-Gould:

\version "2.21.2"  
\book {  
  \paper { #(layout-set-staff-size 40) }  
  { \tempo 8=88 c'8 }  
}  

document.preview

The stem in the markup is twice as large (horizontally and vertically) as it should be. While fiddling around with that example I also noticed that set-global-staff-size has the opposite effect, making the stem too small if you set a size larger than 20:

\version "2.21.2"  
\book {  
  #(set-global-staff-size 40)  
  { \tempo 8=88 c'8 }  
}  

document.preview

set-global-staff-size doesn't work inside \book anyway so I suppose it doesn't matter, but I'd still expect the stem size to be consistent with everything else in this example if it was being calculated correctly.

Since everything else, including note heads and flags, staff and ledger lines, stems of ordinary non-markup notes, etc., scales consistently, I'd think there must be already working code somewhere that could be copy-pasted into note-by-number.

Edited May 12, 2020 by Valentin Villenave
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking