How to Change a Staff Label Without Text Overlap

I’d like to replace “Hn in F” with “Corno in F” above the staff. How can I do this?

Even if I add a white background behind the text, as shown in the second image, the letters still overlap. How can I completely cover the underlying text so that it doesn’t show through?

Is there a reason you’re doing this with a text item moved on top of the staff label, rather than renaming the instrument or player and thereby updating the staff label’s text natively?

In the problematic score, some pages of one of the instrument parts have notation that is too close to the bracket, and the spacing cannot be adjusted individually. Therefore, I would like to cover it with another text marking placed above it.

You have notation that’s colliding with the staff labels, making you want to move the staff labels upwards? Did I understand that correctly?

I’m failing to imagine what that notation could be (I’m interested to see it!), but couldn’t you adjust that notation instead so that it stays within the area meant for the music?

@Lillie_Harris

A slightly different but related circumstance would be the ability to overwrite phonetic lyrics with properly-spelled text when using Cantai.

I want the “Corno in F” label to appear above the default “Hn in F” label.

“Above”?
Or “on top of/superimposed on”?

You didn’t answer my questions about why you want to do that (and I suspect there are better solutions to your problem), but one way to accomplish what you want if you really want it is to use a text frame with a solid white background instead.

Using a text frame hides the text, but it still cannot extend beyond the score frame. I want the text to extend slightly outside the frame so that it is separated from the bracket.

No, I’m not talking about a text item. You can put a text frame anywhere on the page. Those are different things.

The background turns white, but the note doesn’t move outside the staff.

Is there a way to make the background white and place text outside the music staff frame?

You can move a text frame outside the music frame, but not outside the area between the page margins. You could therefore reduce the page margins and indent the music frame by the same amount.

This is essentially the solution, but it’s a bit tricky to do. Even though OP has figured out how it’s done, I thought I’d explain the process to anyone wanting to replicate it. I’ve noticed that this is basically a staff label override—a feature many of us have requested before. Between ensuring proper text size and alignment, it’s a very poor substitute for a proper staff label override. But since Dorico does not yet have that, this will have to do.

Select your custom text frame (not to edit; just single-click) and go to the Properties panel. Enable background color, double-click on the adjacent color box and set the Alpha channel to 255. This will make the frame opaque instead of transparent, thereby eliminating the text behind it.

There is a way to place frames outside the margins: you can enter a too large value on one of the sides, which will flip the left and right positions.

That said, if we had more details about what you’re trying to achieve exactly, we could probably suggest better solutions.

(Explanation of what I'm doing in the demo)

Here my page witdh is 209.55mm. Left and right page margins are 10mm.

So the highest value I could normally enter for the right side of the frame is 209.55 – (10x2) = 189,55. That would place it on the left margin.

So by entering the value 193, I’m placing the right side of the frame 3.45 mm to the left of the margin, while the left side stays where it is, and therefore ends up to the right of the right side!

Credits to @johnkprice for the trick :slight_smile:

That’s a problem lots of users (not only here, but during my day-job too) have.

They complain about a presumable solution that doesn’t work, but don’t bother to tell what they want to achieve. So much better solutions are not considered lots of time.

Thanks.

If this is all related to wanting to control the gap to the left of the initial barline and how far from the left edge of the page the staff labels are, there are other options.

For example:

But you would then need to ensure that the staff labels don’t extend beyond the left edge of the entire page yourself.

@k.k if you want further assistance, please explain what your issue fundamentally is, maybe with some broader screenshots showing the context or better yet, the project file. There are plenty of people here happy to help you, but doing so without understanding what you’re trying to do quickly becomes a not-very-fun guessing game.

Ah, that’s probably what @k.k meant with “notation that is too close to the bracket”. I assumed “notation” meant music and didn’t understand at all what they were talking about. (Which is why I asked for clarification we never got. Communication isn’t always easy. I assume that English isn’t your native language - it isn’t mine either - but if you answer questions that are intended to understand you better, that’ll help.)

I’d still like to the the score with the problem.