Ulysses distinguishes between writing and formatting the text during export to provide a distraction-free environment. This means that you need to customize the export style to change the appearance of your exported file.
Please note: The ability to customize an export style is currently only available for Mac. If you do not have a Mac or need help customizing your export style, please get in touch with our support team directly.
Here's how to customize an export style:
Go to the menu Ulysses and select Settings…
Switch to Styles and choose a style from the PDF/DOCX section, e.g., Swiss Knife
Right-click on the stylesheet and select Duplicate
Right-click the duplicated stylesheet and select Edit in
Select an editor of your choice, e.g., TextEdit or TextMate
From the list below, choose what you want to adjust in your export style to see the next step:
To adjust the default typography, find the selector defaults and change the name of font-family. Here is an example:
In Ulysses, you can only add the top-level heading or page number to your header or footer. However, a workaround allows you to display customized text in the header or footer of your document.
Find the selector document-settings and add the following text:
page-number-format: "Individual Text / %p";
Replace the “Individual Text” placeholder with a text of your choice, e.g., the author's name and/or the book title. In case you don’t want your document to contain page numbers, delete %p.
Afterward, look for the selector area-footer or area-header (depending on where you want to place the custom text) and make sure that the value content is set to page-number. You can also adjust/add the value text-alignment to change the alignment. Here is an example: