New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placing ToC #333

arget888 opened this Issue May 28, 2018 · 1 comment


None yet
2 participants

arget888 commented May 28, 2018


I want to place the Table of Content with the createIndex() method after the heading of my document.
My Problem is, that the ToC is just overlayed of the normal content.

My html Code looks like:

<h1>Heading of the Document</h1>
<bookmark title="Summary" level="0"></bookmark>
<h1>First Chapter</h1>
<bookmark title="First Chapter" level="0"></bookmark>
<p>Content of first Chapter</p>
<h1>Second Chapter</h1>
<bookmark title="Second Chapter" level="0"></bookmark>
<p>Content of second Chapter</p>

The php Code looks like:


The result is, that the ToC is above my Heading of the Document but I want to place it under it.

spipu added a commit that referenced this issue Jul 31, 2018


This comment has been minimized.


spipu commented Jul 31, 2018


a new parameter $marginTop will be added to the createIndex method on the next release

@spipu spipu closed this Jul 31, 2018

@spipu spipu added the enhancement label Jul 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment