Re: [TIP] Export to LaTeX and HTML with a watermark

2020-12-22 Thread Thomas S. Dye
Nice! This is the kind of thing I like to find here: https://orgmode.org/worg/org-hacks.html Please consider adding it to Worg! All the best, Tom Juan Manuel Macías writes: Hi, Recently, I needed to export a document to both LaTeX and HTML with a watermark background. I came to write thi

[TIP] Export to LaTeX and HTML with a watermark

2020-12-22 Thread Juan Manuel Macías
Hi, Recently, I needed to export a document to both LaTeX and HTML with a watermark background. I came to write this little function (for LaTeX, the 'draftwatermark' package is used; for html, a bit of CSS. The optional arg `text' is the text of the watermark; by default what is printed is "DRAFT"