[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] letterhead and signature in odt export
From: |
Tim Cross |
Subject: |
Re: [O] letterhead and signature in odt export |
Date: |
Wed, 31 Oct 2018 08:41:52 +1100 |
User-agent: |
mu4e 0.9.18; emacs 26.1 |
I've never delved into the XML nightmare that is ODT and stick with
latex/PDF export.
Here is how I handled needing to have a logo and banner at the top of my
documents. Essentially, it involves using the Latex 'minipage'
environment to setup the layout and the xcolor package to handle
colours. Getting it working is somewhat trial and error, but once you
have it, it is pretty much set and forget.
The below is an early version. I later refined it and put it into my
org-latex-classes variable, but removed it when I left the University
for a new employer. It should be fairly straight-forward to adapt to a
letter head. The only challenge will be if your Uni Marketing/PR are
very rigid re: format. In particular, fonts can be a challenge if they
have selected something unusual.
#+TITLE: XXXXXXXXX
#+AUTHOR: XXXXXXX
#+DATE: \today
#+SUBTITLE: IAM Use Case
#+OPTIONS: ^:nil num:nil toc:nil tags:nil |:t
#+LATEX_CLASS: une-article
#+LATEX-OPTIONS: 12pt,a4paper
#+LATEX_HEADER: \usepackage{xcolor}
#+LATEX_HEADER_EXTRA: \definecolor{unegreen}{HTML}{7AB800}
#+LATEX_HEADER_EXTRA: \definecolor{Black}{HTML}{000000}
#+LATEX_HEADER_EXTRA: \definecolor{White}{HTML}{FFFFFF}
#+LATEX_HEADER_EXTRA: \definecolor{dimgrey}{HTML}{696969}
#+LATEX_HEADER_EXTRA: \makeatletter
#+LATEX_HEADER_EXTRA: address@hidden
#+LATEX_HEADER_EXTRA: \noindent \begin{minipage}[c][4cm][t]{\linewidth}
#+LATEX_HEADER_EXTRA: \colorbox{Black}{%
#+LATEX_HEADER_EXTRA: \begin{minipage}[t][4cm][c]{4cm}
#+LATEX_HEADER_EXTRA: \flushleft
#+LATEX_HEADER_EXTRA: \includegraphics{~/Pictures/unelogo_medium.png}
#+LATEX_HEADER_EXTRA: \end{minipage}}
#+LATEX_HEADER_EXTRA: \colorbox{unegreen}{%
#+LATEX_HEADER_EXTRA: \begin{minipage}[t][4cm][c]{10cm}
#+LATEX_HEADER_EXTRA: \flushright
#+LATEX_HEADER_EXTRA: \Large address@hidden \\
#+LATEX_HEADER_EXTRA: \vspace{4pt}
#+LATEX_HEADER_EXTRA: \small address@hidden \\
#+LATEX_HEADER_EXTRA: \small address@hidden
#+LATEX_HEADER_EXTRA: \end{minipage}}
#+LATEX_HEADER_EXTRA: \end{minipage}}
#+LATEX_HEADER_EXTRA: \makeatother
Jeff Filipovits <address@hidden> writes:
> Would you mind sharing them? This is a problem I am trying to figure out as
> well.
>
> On Tue, Oct 30, 2018, 9:29 AM Eric S Fraga <address@hidden> wrote:
>
>> Matt,
>>
>> I've replied directly to you with some files.
>> --
>> Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4
>>
>>
--
Tim Cross
- Re: [O] letterhead and signature in odt export, (continued)
- Re: [O] letterhead and signature in odt export, Eric S Fraga, 2018/10/30
- Re: [O] letterhead and signature in odt export, Matt Price, 2018/10/30
- Re: [O] letterhead and signature in odt export, Eric S Fraga, 2018/10/30
- Re: [O] letterhead and signature in odt export, Jeff Filipovits, 2018/10/30
- Re: [O] letterhead and signature in odt export, ckelty ckelty, 2018/10/30
- Re: [O] letterhead and signature in odt export, Matt Price, 2018/10/30
- Re: [O] letterhead and signature in odt export, Matt Price, 2018/10/30
- Re: [O] letterhead and signature in odt export, Alan L Tyree, 2018/10/30
- Re: [O] letterhead and signature in odt export, ckelty ckelty, 2018/10/30
- Re: [O] letterhead and signature in odt export, John Kitchin, 2018/10/31
- Re: [O] letterhead and signature in odt export,
Tim Cross <=
- Re: [O] letterhead and signature in odt export, Matt Price, 2018/10/30
Re: [O] letterhead and signature in odt export, Christian Moe, 2018/10/30