summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-03-23 17:12:35 +0100
committerJonas Smedegaard <dr@jones.dk>2015-03-23 17:12:35 +0100
commit555a98699443ea88d81ae3c58af87cb8ccc98f0e (patch)
treed9d4aa3c15978ad9c055d7faa4ccfef10d04894d
parent4b424cbb384b78c9beb6dc116e052e77600246a0 (diff)
Add ISBN barcode, and move it to lower right corner.
-rw-r--r--copyright.md4
-rw-r--r--template.tex5
2 files changed, 5 insertions, 4 deletions
diff --git a/copyright.md b/copyright.md
index fee3aaf..a83ed77 100644
--- a/copyright.md
+++ b/copyright.md
@@ -29,7 +29,7 @@ the SIL Open Font License version 1.1,
<http://scripts.sil.org/OFL>.
Source available at <https://github.com/cyrealtype/Lora>.
-\isbn
-
First edition published \formatdate{11}{12}{2014}
Second edition published \formatdate{25}{3}{2015}
+
+{\raggedleft\vfill\itshape\Longstack[l]{\EANisbn}\par}
diff --git a/template.tex b/template.tex
index a2ad852..ff68b0b 100644
--- a/template.tex
+++ b/template.tex
@@ -157,10 +157,11 @@ $else$
$endif$
$endif$
+\usepackage[usestackEOL]{stackengine}
$if(isbn)$
- \newcommand{\isbn}{ISBN $isbn$}
+ \usepackage[ISBN=$isbn$,SC0]{ean13isbn}
$else$
- \newcommand{\isbn}{}
+ \newcommand{\EANisbn}{}
$endif$
$for(header-includes)$