Creative Commons ShareALike LaTeX template
<p>I am writing a book in LaTeX. I am using a LaTeX template that has a Creative Commons NonCommercial ShareALike license (<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow noreferrer">CC BY-NC-SA 3.0</a>).</p>
<p>I would like my ebook (pdf and epub formats) to have the Creative Commons NonCommercial NonDerivatives (<a href="http://creativecommons.org/licenses/by-nc-nd/4.0/" rel="nofollow noreferrer">CC BY-NC-ND 4.0</a>).</p>
<p>If the license transfers itself from the template to the compiled pdf, <a href="https://creativecommons.org/faq/#can-i-combine-material-under-different-creative-commons-licenses-in-my-work" rel="nofollow noreferrer">this change of license seems incompatible</a>.</p>
<p>But, I presume this is possible, because my ebook is an <em>original work</em> that only <em>uses</em> the template mentionate above. I am not redistributing the template.</p>
<p>Is this assumption correct?</p>

<p>You are probably correct, a document is not normally a derived work of a document template.</p>
<p>In some cases a template includes significant text which is always or optionally included in the document. In such cases the document might be a derived work.</p>
<p>But in the more usual case where the template merely provides formats such as font types and sizes, document margins, header styles, and the like, the document would not be a derivative work, and there would be no obligation to place the document under the same or a compatible license.</p>

copyright creative-commons