Edit online

Footnotes are pieces of information placed at the bottom of the page. A footnote has a number that is left in the content (the footnote call) and the same value placed before the footnote text (the footnote marker).

Edit online

Footnote properties are defined in [PLUGIN_DIR]css/print/p-foot-notes.css.

Edit online

To bold the footnotes numbers and use some colors, add the following rules to your customization CSS:

*[class ~= "topic/fn"]:footnote-call {
	font-weight: bold;
       color:red;
}

*[class ~= "topic/fn"]:footnote-marker {
	font-weight: bold;
       color:red;
}

Edit online

The @footnote part of a @page declaration controls the style of the separator between the page content and the footnotes. For the content, you should set a leader. The leader uses a letter or a line style to fill the entire width of the page.

@page {
	margin:0.5in;
       ....	
	@footnote {
		content: leader(solid);
		color:silver;
	}
}	

To create a dotted line, you can use the dot character: leader('.'). Other commonly used characters are: "-" (dash) and "_" (underscore).

Edit online

There are cases where you want to reset the footnote counter.

For example, if you need to reset it at the beginning of each chapter, add the following rules to your customization CSS:

*[class ~= "bookmap/chapter"],
*[class ~= "topic/topic"][is-chapter] {
	counter-reset: footnote 1;
}

Or you can mark any element with an @outputclass value, match that value, and reset the counter at any point in your counter:

<p outputclass="reset-footnotes"/>
*[outputclass ~= "reset-footnotes"] {
	counter-reset: footnote 1;
}