improve styling of table of content links in notes PDF