From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: [SOLVED] Re: How to set Org to export to PDF with image background or color? Date: Fri, 22 Feb 2019 18:20:52 +0800 Message-ID: <87ftsgm8e3.fsf@gmail.com> References: <87imxcmt53.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx7xG-0001Dx-Af for emacs-orgmode@gnu.org; Fri, 22 Feb 2019 05:21:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gx7xF-0004AT-7s for emacs-orgmode@gnu.org; Fri, 22 Feb 2019 05:21:18 -0500 Received: from [61.175.244.13] (port=38817 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx7xE-0003vI-Km for emacs-orgmode@gnu.org; Fri, 22 Feb 2019 05:21:17 -0500 In-reply-to: <87imxcmt53.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode I found solution with LaTeX packages "background" and "graphics". Here is an example: #+begin_src latex :mkdirp yes :tangle "data/code/background_test_graphics.tex" \documentclass{article} \usepackage{graphicx} \graphicspath{ {./images/} } \usepackage{background} \usepackage{lipsum} \begin{document} \SetBgContents{\includegraphics[width=.3\linewidth]{last-sun}} \SetBgPosition{current page.north} \pagestyle{empty} \title{Test LaTeX export to PDF with background} \lipsum[1-10] % \newpage\SetBgContents{} % clear background settings. \lipsum[1-30] \end{document} #+end_src stardiviner writes: > I'm writing a simple resume with Org Mode, and exporting to PDF. I want > to add an image or color as background for every page of resume PDF > file. Does anyone knows how to do that? > > Or have some template for this? > > Thanks in advance. Thanks. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3