Why not use text marks,
http://lilypond.org/doc/v2.25/Documentation/notation/text-marks ?
They are intended exactly for textual indications that should
appear at the top of each system, i.e. above the lyrics in your
case.
/Mats
On 2023-10-02 09:09, Michael Gerdau
wrote:
[moving instructional text above notes and outside of lyrics]
you could create a Dynamics context before the staff containing the markup.
Thanks Valentin, that works like a charm :)
Kind regards,
Michael