diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2019-01-30 12:38:34 +0100 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2019-01-30 12:38:34 +0100 |
commit | 67854e8164da21ba0bf2dbd060e645b5ca87eb8e (patch) | |
tree | 065f6d7086daad5aa53f0270271ed44bbe72088c /pandoc | |
parent | 2ead4e9758fe8fbb00e5fa91c0b44db8f48e3b21 (diff) |
Only add copyleft symbol when license is defined
Diffstat (limited to 'pandoc')
-rw-r--r-- | pandoc/templates/elenq-article.latex | 6 | ||||
-rw-r--r-- | pandoc/templates/elenq-book.latex | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex index c103547..50ec24a 100644 --- a/pandoc/templates/elenq-article.latex +++ b/pandoc/templates/elenq-article.latex @@ -279,7 +279,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}{% @@ -292,7 +292,7 @@ $endif$ \fancyhead{} % clear header \renewcommand{\headrulewidth}{0pt} \fancyfoot[R]{$author$} - \fancyfoot[L]{\textcopyleft $license$} + \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$} } % Article titlepage, similar to book chapter @@ -301,7 +301,7 @@ $endif$ \fancyhead[L]{\logo{0.5}} \fancyhead[R]{\LARGE{$title$}} \fancyfoot[R]{$author$} - \fancyfoot[L]{\textcopyleft $license$} + \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$} } % Beautiful quotes 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 |