user defined style - positioning 'above/below' is ignored

• May 29, 2022 - 20:15

I would like to define a user defined text style. As as starting point the style should look like the 'String Number' style, thus the text should have a frame and it should be placed above the stem of the notes. When I create a string number with the default style, everything looks good. But when I change the style of this element to my user-defined one, the placement setting 'above' is ignored and the text is placed at the same height as the head of the note. How can I control this behavior?
When I select the element, a right click 'select / more' shows that the element still belongs to the element type 'fingering' (which is what I want) and the subtype corresponding to the user-defined style. Which is perfectly what I expect.


Comments

Does it actually need to be fingering? And is there a reason you can't simply use the existing string number style (perhaps customizing it first) rather than creating a new style? The positioning rules for fingering depend on the style - MuseScore positions string number differently from LH vs RH guitar, and piano differently still. The way MuseScore knows how to do this is based on the text style. So, if you create a custom text style, MuseScore doesn't know how to position it, and goes with the only safe call: right on top of the notehead, allowing you to add your own offset from a reliable starting position.

As I recall, the positioning rules for string number aren't particularly different from ordinary staff text. Making me wonder if you really need it to be a fingering. If you explain your actual goal in more detail, and ideally attach a sample score, we can understand and assist better.

In reply to by Marc Sabatella

Fingering would be the right category, but there is no real need for it. As a work around it may be something different. One thing I want to get is the option to select all elements of this kind by their category and style, but this can be achieved with any combination, e.g. text with custom style.
There are several reasons why I like to define new styles.
1. On the guitar you usally mark the position of the left hand with latin numbers. I like to predefine things like textsize for this numbers. The positioning would be the same as for the string number.
2. Sometimes it is very helpful to add the absolute position of a note on the fret board. There is no common way how to do it. Actually I'm thinking on a small number like fingering or LH fingering with I set in []. The positioning depends on the score for a single note it would be fine to place the number on top, like the fingering style, but for a chord the number must be place near the head of the note.
3. I use musescore to digitalize sheet music. Usually the author notes some fingering in his score. For myself however I need additional fingering informations. To distinguish between the original information and my added information I use different coulors.

In reply to by mcGuitarist

It would be good to see a sample score and ideally an image from a corresponding piece of published music, to either show you how to accomplish what you want better, or understand where there is an opportunity for improvement.

One thing I can say already is, it's already perfectly possible to select all elements of a given kind (see the Select menu after right-clicking), and it's also possible to modify the style for all elements of a given type without bother to select first. So almost certainly you can do everything you want already. We just need more information to assist you better.

Regarding the specific desire to show "editorial" fingerings that are basically the same type as the published ones but where you want to use another color to indicated that these are ones you added yourself, that particular use case is one I understand already, and I can see both why you'd want to use a custom style for it.. I'd recommend a different approach, though: simply color one such fingering manually then add it back to your palette with Ctrl+Shift+drag for easy reuse.

In reply to by Marc Sabatella

The approach you suggest is what I do at the moment. The drawback is, that I cannot select only my settings to hide them when I give the score to someone else. I tried your suggestion with the stave text. The placement is good, but when I drag it into a custom palette I get only the pure text e.g. '1', not the color and not the border. If the color or the border was changed with respect to the style it is visible, however. Unfortunately, this disconnects these two settings from the style, thus changing the style has no longer any effect on my texts.

In reply to by mcGuitarist

If you do use a custom style, you can select all elements with that style using Select / More / Same subtype. So combine that with overriding the specific things you want app[lied from the palette and it seems you still do most of this pretty well.

Again, if you attach a specific score so we can understand better the things you are trying to do, we can advise better.

In reply to by mcGuitarist

I have attached a screenshot of a score which has a lot of annotations from the author and from me. Most scores don't have so much annotions, but this one is quite difficult to play for me. Sometime I'm still not sure if it is better to use note the hand position or the position of the note on the fred board, thats why I have noted both in the top line. In addition to the things we have discussed so far, I use a glissando (which is not played of course) to indicate the movement of the hand, which is not uncommon for guitar scores.

Attachment Size
Unbenannt.PNG 113.31 KB

Do you still have an unanswered question? Please log in first to post your question.