From 67854e8164da21ba0bf2dbd060e645b5ca87eb8e Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Wed, 30 Jan 2019 12:38:34 +0100 Subject: Only add copyleft symbol when license is defined --- pandoc/templates/elenq-book.latex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pandoc/templates/elenq-book.latex') diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex index aafe32c..cfb7d7f 100644 --- a/pandoc/templates/elenq-book.latex +++ b/pandoc/templates/elenq-book.latex @@ -310,7 +310,7 @@ $endif$ \fancyfoot{} % clear footer \renewcommand{\footrulewidth}{0.4pt} \fancyfoot[RO, LE]{\thepage} -\fancyfoot[LO, RE]{\textcopyleft $author$} +\fancyfoot[LO, RE]{$if(license)$\textcopyleft $endif$ $author$} % Header on CHAPTER PAGE TODO \fancypagestyle{chapter}{% @@ -323,7 +323,7 @@ $endif$ \fancyhead{} % clear header \renewcommand{\headrulewidth}{0pt} \fancyfoot[R]{$author$} - \fancyfoot[L]{\textcopyleft $license$} + \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$} } % Beautiful quotes -- cgit v1.2.3