From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: department logo/header image in koma/latex export?
Date: Sat, 5 Dec 2015 13:48:45 +0000 [thread overview]
Message-ID: <87r3j13t1e.fsf@ucl.ac.uk> (raw)
In-Reply-To: CAOQHXPrSCUfTuiso=L0+JL=vSYPYsEtawgjC8V7-5X9Z1VsFsw@mail.gmail.com
On Saturday, 5 Dec 2015 at 12:16, Xebar Saram wrote:
> 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?
You can redefined \firsthead and/or \firstfoot to whatever you want them
to be in your own LCO file for koma letters. For instance, I have the
following in my firsthead:
#+begin_src latex
\firsthead{%
~
\vspace*{1cm}\hspace*{-2cm}\includegraphics[width=\paperwidth]{/home/ucecesf/synced/cartas/ucl-line-logo}
\vspace*{-4cm}
\usekomavar{fromaddress}
\usekomavar{fromname}
}
#+end_src
> i have zero latex knowledge so this maybe trivial :)
Nontrivial with or without LaTeX knowledge...
My magical incantation above, requiring moving backwards in the page, is
because the UCL logo for letterheads is the full width of the page.
I specify the LCO to use in the org file with
#+lco: fraga
The other alternative in LaTeX is to use the textpos package which
allows you to place arbitrary text boxes anywhere on the page.
HTH,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-363-g5c13a6
next prev parent reply other threads:[~2015-12-05 13:49 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 [this message]
2015-12-07 13:31 ` Alan Schmitt
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=87r3j13t1e.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--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).