I am working with Lilypond and can't figure out how to place two dynamic markings under a whole note. I want it to start piano and then become forte but I don't want to use a crescendo. I'd also rather not indicate two tied half notes. Just p then f under a whole note. This is common in older notation which I am typesetting. Thank you.
There's an example in the Notation Reference, where it says: "Spacer rests are needed to engrave multiple marks on one note." If you adapt it to your case, you might write:
However, this triggers the following warning:
and only the first dynamic mark is printed. So you must place the second dynamic mark on a different musical moment: