From daa76bdac7c937ad4047da166625d6872680013f Mon Sep 17 00:00:00 2001 From: Agah Date: Fri, 6 Oct 2023 15:02:11 -0400 Subject: [PATCH] Add awesomebox, update template --- Dockerfile | 4 +++- data/defaults/neurolibre.yaml | 1 + data/templates/neurolibrenew.tex | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7690186..1bf5ba8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,9 @@ RUN tlmgr update --self && tlmgr install \ trimspaces \ xcolor \ xkeyval \ - xstring + xstring \ + fontawesome5 \ + awesomebox ENV OSFONTDIR=/usr/share/fonts diff --git a/data/defaults/neurolibre.yaml b/data/defaults/neurolibre.yaml index 4fa5679..9807486 100644 --- a/data/defaults/neurolibre.yaml +++ b/data/defaults/neurolibre.yaml @@ -12,6 +12,7 @@ filters: path: self-citation.lua - type: lua path: neurolibre-handle-crowd.lua + variables: # styling options colorlinks: true diff --git a/data/templates/neurolibrenew.tex b/data/templates/neurolibrenew.tex index 914434c..3846aa7 100644 --- a/data/templates/neurolibrenew.tex +++ b/data/templates/neurolibrenew.tex @@ -8,6 +8,7 @@ \usepackage{tikz} \usepackage[pdfa]{hyperref} \usepackage{hyperxmp} +\usepackage{awesomebox} \hypersetup{% unicode=true, pdfapart=3, @@ -549,6 +550,9 @@ $if(lof)$ \listoffigures $endif$ + +\awesomebox[red]{2pt}{\faRocket}{red}{\textbf{THIS PDF IS INTENDED FOR CONTENT REGISTRATION PURPOSES ONLY! FOR FULL ACCESS AND INTERACTIVE READING OF THIS PUBLICATION, PLEASE VISIT \href{https://preprint.neurolibre.org/$article.doi$}{THE REPRODUCIBLE PREPRINT}.}} + $body$