
In Ulysses, you can only add the top-level heading or page number to your header or footer. However, what if you need to include the title and author's name in your manuscript?
But don't worry, there is a workaround that allows you to display customized text in the header or footer of your document.

Adding Your Own Text to the Header/Footer
Go to Ulysses › Settings… › Styles (upper right corner)
Choose a style from the PDF/DOCX section, e.g., “Manuscript”
Right-click on the stylesheet and select Duplicate
Open the duplicated stylesheet in an editor of your choice, e.g., TextEdit or TextMate
Look for the selector “document-settings” and add the following paragraph to it:
page-number-format: "Individual Text / %p";
page-number-style: decimal;
Replace the placeholder for “Individual Text” with a text of your choice, e.g., the name of the author and/or the book. In case you don’t want your document to contain page numbers, please delete the “%p” from the section above.
Afterward, please look for the selector “area-footer“ or “area-header”, respectively, and make sure that the value for “content” is set to “page-number”. You can also adjust the value for “text-alignment” to change the alignment.
Save the stylesheet (Optional: rename it)
Select your customized export style in the export preview