Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collision with dotted half rests #3

Open
jeandeaual opened this issue Jan 24, 2021 · 1 comment
Open

Collision with dotted half rests #3

jeandeaual opened this issue Jan 24, 2021 · 1 comment

Comments

@jeandeaual
Copy link

I noticed a collision happens when using dotted half rests (r2.), with doesn't happen with dotted half notes:

sample-hash

I'd like to fix this issue but I'm not sure where the dot is generated in the code. Do you have any pointers?

Here is the code used for testing:

\version "2.20.0"

\include "shamisen.ly"

#(set-global-staff-size 32)

\header {
  tagline = ##f
}

\paper{
  page-breaking = #ly:one-line-auto-height-breaking
  #(define fonts
    (set-global-fonts
     #:roman "IPAexGothic"
     #:factor (/ staff-height pt 20)
    ))
}

\score {
  \new TabStaff \with { stringTunings = #niagariTuning } {
    \shamisenNotation
    \time 4/4

    g2. g4 |
    r2. r4 |

    \bar "|."
  }
}
@jeandeaual
Copy link
Author

I'd also like to move the elongation line down or up a line when on the 1st or 3rd string. For now they have the same position regardless of which string is used:

sample-hash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant