New answers tagged

1

The background packages uses everypage and this places its hook so that it will on top of \includepdf. An alternative is to use the eso-pic commands instead of background. \documentclass[a4paper,12pt]{article} \usepackage{pdfpages,tikzducks} \AddToShipoutPictureBG{\AtPageCenter{\hspace{-5cm}\tikz[scale=8]\duck;}} \begin{document} \includepdf[pages=-]{...


0

Remove the square bracket and its contents of your \begin{tikzpicture} ... \end{tikzpicture} environment. The problem is caused by overlay but you don't need remember picture so you can remove both. MWE based on your code: \documentclass{article} \usepackage[dvipsnames]{xcolor} \usepackage{background} \usepackage{blindtext} \backgroundsetup{ scale=1, angle=...


0

You could use everypage instead of backgrounds. Don't forget to run it twice. \documentclass{article} \usepackage[dvipsnames]{xcolor} \usepackage{tikz} \usepackage{everypage} \usepackage{blindtext} \AddEverypageHook{\begin{tikzpicture}[remember picture,overlay] \path [left color =red,middle color = blue, right color = Blue] (current page.south west)...


2

Try this (with the construction to help the understanding): \documentclass{article} \usepackage{chemfig} \begin{document} \chemfig{*6(- ([::150,0.75,,,draw=purple]- O?[Oxy]- [::162,0.75,,,preaction={draw=green,line width=8pt}]) (-?[Oxy,{>},{red}]([::60]-)([::-60]-))--- (?[Oxy,{>},{blue}])(-)--)}\qquad \chemfig{*6(-([::150,0.75,,,...


3

This is an attempt to make you happy. Most of it is shamelessly stolen from Gonzalo's nice answer. However, it is still major surgery since I changed everything to pgf keys since I am not really familiar with the \setkeys stuff (nor do I think they are anywhere as powerful as pgf keys, but this might be an unqualified opinion). I tested that this compiles ...


1

Tikz works with xelatex. I'm not sure where the extra spaces are coming from in the original post, and I also commented out the setkeys part (not sure what that is doing, either). And I slightly adjusted the right-hand spiral positions (the xshifts and yshifts look to be font dependent). And I added the backgrounds Tikz library. And some Wikipedia. ...


Top 50 recent answers are included