Custom Code Library

Here are some custom processing instructions that you can copy, for frequently-requested customizations:

Override the author name in the running header

GLOBAL STYLE= string-set: authorname attr(data-author-name); SCOPE-BODY+ATTRS=data-author-name: INSERT YOUR NAME SCOPE-BODY;

This processing instruction allows you to override the author name that appears in the running header of your predefined template; include it after any paragraph, wrapper, or section. The author name text is traditionally pulled from any paragraph on your title page that is tagged with the HED Author name style; by using this processing instruction, you override that default text.

This processing instruction consists of two parts: a GLOBAL STYLE instruction that applies your custom text to the entire manuscript, and then an ATTRS instruction that contains a custom attribute with your new author name text, which will be applied to the main body container of your manuscript. In this snippet, the only bit that you need to change is the bolded “INSERT YOUR NAME” text – replace this with the text of your choice.

Override the book title in the running header

GLOBAL STYLE= string-set: booktitle attr(data-book-title); SCOPE-BODY+ATTRS=data-book-title: INSERT YOUR TITLE SCOPE-BODY;

This processing instruction allows you to override the book title that appears in the running header of your predefined template; include it after any paragraph, wrapper, or section. The book title text is traditionally pulled from any paragraph on your title page that is tagged with the HED Chapter title style; by using this processing instruction, you override that default text.

This processing instruction consists of two parts: a GLOBAL STYLE instruction that applies your custom text to the entire manuscript, and then an ATTRS instruction that contains a custom attribute with your new book title text, which will be applied to the main body container of your manuscript. In this snippet, the only bit that you need to change is the bolded “INSERT YOUR TITLE” text – replace this with the text of your choice.