emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: department logo/header image in koma/latex export?
Date: Mon, 07 Dec 2015 14:31:58 +0100	[thread overview]
Message-ID: <m2egey9ygh.fsf@charm-wifi.irisa.fr> (raw)
In-Reply-To: <CAOQHXPrSCUfTuiso=L0+JL=vSYPYsEtawgjC8V7-5X9Z1VsFsw@mail.gmail.com> (Xebar Saram's message of "Sat, 5 Dec 2015 12:16:00 +0200")

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On 2015-12-05 11:16, Xebar Saram <zeltakc@gmail.com> writes:

> Hi all
>
> i am looking into using koma and orgmode to export to recommendation letters.
> Does anyone have an example of adding a department logo/header image to the
> top of the page and/or bottom?

Eric already replied, but here is another example that I use for my work
letters.

#+begin_src latex
\ProvidesFile{InriaRennesEN.lco}

\usepackage[english]{babel}
\usepackage{xltxtra}

\KOMAoption{fromalign}{right}

\setkomavar{fromname}{Alan Schmitt}
\setkomavar{fromaddress}{Celtique Project\\Inria Rennes}
\setkomavar{place}{Rennes}

\setkomavar{signature}{\includegraphics[width=2.5cm]{AlanSig}\\Alan Schmitt\\Researcher, Celtique team}
\renewcommand*{\raggedsignature}{\raggedleft}
\@setplength{sigindent}{30em}
\@setplength{sigbeforevskip}{1em}

\KOMAoptions{fromlogo=true,subject=left,addrfield=false,foldmarks=off,fromemail=true}
\setkomavar{fromlogo}{\includegraphics[width=59mm]{INRIA-SCIENTIFIQUE-UK}}
\@addtoplength{firstfootvpos}{-2cm}
\setkomavar{firstfoot}{\includegraphics[width=4cm]{Rennes-UK}}
\setkomavar{fromemail}{alan.schmitt@inria.fr}

\endinput
#+end_src

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated December 6, 2015, Mauna Loa Obs.): 400.80 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

      parent reply	other threads:[~2015-12-07 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05 10:16 department logo/header image in koma/latex export? Xebar Saram
2015-12-05 13:48 ` Eric S Fraga
2015-12-07 13:31 ` Alan Schmitt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2egey9ygh.fsf@charm-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).