Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DOI does not show up #30

Open
Domiii opened this issue Oct 27, 2022 · 0 comments
Open

DOI does not show up #30

Domiii opened this issue Oct 27, 2022 · 0 comments

Comments

@Domiii
Copy link

Domiii commented Oct 27, 2022

The DOI just does not show up on the front page, no errors, no nothing (and yes, I did define doi and withdoi) 🤷‍♀️

I'm sure, its something I did that must be incompatible with something else, as always with LaTeX...

Or maybe it just won't actually work correctly with xelatex... who knows...

Workaround

Instead, I manipulated the watermark pdf to also include the doi:

\newsavebox\mybox
\savebox{\mybox}{
  \tikz\node[scale=0.5,opacity=0.5, pin={[pin edge={white},pin distance=28.1cm,scale=0.8]270:doi\text{:}10.6342/NTUABCDEFG}]{\includegraphics{img/watermark.pdf}};%
}
\newwatermark*[allpages,xpos=6.1725cm,ypos=-0.7225cm]{\usebox\mybox}

NOTE: Sadly, I could not even use the \@doi variable (since that caused more errors), and thus had to resort to hardcoding the actual number.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant