Skip to content

Commit

Permalink
Add awesomebox, update template
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Oct 6, 2023
1 parent e8a7739 commit daa76bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ RUN tlmgr update --self && tlmgr install \
trimspaces \
xcolor \
xkeyval \
xstring
xstring \
fontawesome5 \
awesomebox


ENV OSFONTDIR=/usr/share/fonts
Expand Down
1 change: 1 addition & 0 deletions data/defaults/neurolibre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ filters:
path: self-citation.lua
- type: lua
path: neurolibre-handle-crowd.lua

variables:
# styling options
colorlinks: true
Expand Down
4 changes: 4 additions & 0 deletions data/templates/neurolibrenew.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
\usepackage{tikz}
\usepackage[pdfa]{hyperref}
\usepackage{hyperxmp}
\usepackage{awesomebox}
\hypersetup{%
unicode=true,
pdfapart=3,
Expand Down Expand Up @@ -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$
Expand Down

0 comments on commit daa76bd

Please sign in to comment.