From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: letterhead and signature in odt export Date: Tue, 30 Oct 2018 21:30:10 -0400 Message-ID: References: <87r2g7rkkw.fsf@gmail.com> <877ehzpnrv.fsf@gmail.com> <6EFB79F4-F86A-4544-A10B-C8546E649EAE@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007efcb505797c3c95" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHfKJ-0004Oe-95 for emacs-orgmode@gnu.org; Tue, 30 Oct 2018 21:29:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHfKI-0002sJ-A8 for emacs-orgmode@gnu.org; Tue, 30 Oct 2018 21:29:43 -0400 Received: from mail-it1-x132.google.com ([2607:f8b0:4864:20::132]:39002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHfKI-0002rn-3T for emacs-orgmode@gnu.org; Tue, 30 Oct 2018 21:29:42 -0400 Received: by mail-it1-x132.google.com with SMTP id m15so16193427itl.4 for ; Tue, 30 Oct 2018 18:29:42 -0700 (PDT) In-Reply-To: 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: ckelty@gmail.com, Org Mode --0000000000007efcb505797c3c95 Content-Type: text/plain; charset="UTF-8" Oh shoot, I meant to include my sort-of working org text. Not sending the image file, so you will I guess need to supply your own image in the corner -- oh, and also the signature file! - but this is what I have. It sorta works OK and looks at least a little bit like the History Department letterhead. Which, I realize, is just a bunch of words written i nHelvetica with a picture of a beaver next to it. #+STARTUP: indent #+LANGUAGE: en #+OPTIONS: num:nil toc:nil ':t #+AUTHOR: Matt Price #+EMAIL: Your Email Here #+LATEX_HEADER: \usepackage[utf8]{inputenc} #+LATEX_HEADER: \usepackage[T1]{fontenc} #+LATEX_HEADER: \usepackage{graphicx} #+LATEX_HEADER: \usepackage{float} #+LATEX_HEADER: \usepackage{wrapfig} #+LATEX_HEADER: \usepackage{rotating} #+LATEX_HEADER: \usepackage[normalem]{ulem} #+LATEX_HEADER: \usepackage{hyperref} #+LATEX_HEADER: \usepackage{setspace} #+LATEX_HEADER: \usepackage{libertine} #+LATEX_HEADER: \usepackage[left=1.0in,right=1.0in]{geometry} #+LATEX_HEADER: \setlength{\parskip}{1em} #+LATEX_HEADER: \setlength{\parindent}{0pt} #+LATEX_HEADER: \newenvironment{temphelvet}{\fontfamily{phv}\selectfont}{\par} # Insert your graphic here-- getting the scale right can take some work \begin{minipage}{0.14\textwidth} \includegraphics[width=1.8cm]{./Pictures/1000020100000107000001CF636AB597708AB63A.png} \end{minipage} \begin{minipage}{0.86\textwidth} \begin{temphelvet} {\huge University of Toronto} \vspace{-2pt} \hrule \vspace{3pt} \textbf{\textsc{dept. of history}} \newline {\small \textsc{ Rm. 2074 sidney smith, 100 st. george street}, TORONTO, ONTARIO M5S 3G3 CANADA \newline \textsc{Telephone 416-978-3363 Fax 416-978-4810} } \end{temphelvet} \end{minipage} \hfill \today [ Greeting Here ] # I use setspace and onehalfspacing to control line spacing \onehalfspacing [ Insert Inflated Rhetoric About Here ] Yours sincerely,\\ # Insert your sig here... ditto on scale. \includegraphics[scale=1.0]{/home/matt/Pictures/my-sig-black.png} \textbf{Your Name}\\ Illustrious Title\\ Second Illustrious Title\\ Etc.\\ * build :noexport: :PROPERTIES: :CUSTOM_ID: build :END: #+begin_src emacs-lisp (find-file (org-latex-export-to-pdf)) #+end_src --0000000000007efcb505797c3c95 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Oh shoot, I meant to include my sort= -of working org text. Not sending the image file, so you will I guess need = to supply your own image in the corner=C2=A0 -- oh, and also the signature = file! - but this is what I have. It sorta works OK and looks at least a lit= tle bit like the History Department letterhead. Which, I realize, is just a= bunch of words written i nHelvetica with a picture of a beaver next to it.= =C2=A0

#+STARTUP: indent
#+LANGUAGE: en#+OPTIONS: num:nil=C2=A0 toc:nil ':t
#+AUTHOR: Matt Price
#+EMAI= L: Your Email Here
#+LATEX_HEADER: \usepackage[utf8]{inputenc}
#+LATE= X_HEADER: \usepackage[T1]{fontenc}
#+LATEX_HEADER: \usepackage{graphicx}=
#+LATEX_HEADER: \usepackage{float}
#+LATEX_HEADER: \usepackage{wrapf= ig}
#+LATEX_HEADER: \usepackage{rotating}
#+LATEX_HEADER: \usepackage= [normalem]{ulem}
#+LATEX_HEADER: \usepackage{hyperref}
#+LATEX_HEADER= : \usepackage{setspace}
#+LATEX_HEADER: \usepackage{libertine}
#+LATE= X_HEADER: \usepackage[left=3D1.0in,right=3D1.0in]{geometry}
#+LATEX_HEAD= ER: \setlength{\parskip}{1em}
#+LATEX_HEADER: \setlength{\parindent}{0pt= }
#+LATEX_HEADER: \newenvironment{temphelvet}{\fontfamily{phv}\selectfon= t}{\par}

# Insert your graphic here-- getting the scale right can ta= ke some work
\begin{minipage}{0.14\textwidth}
\includegraphics[width= =3D1.8cm]{./Pictures/1000020100000107000001CF636AB597708AB63A.png}
\end{= minipage}
\begin{minipage}{0.86\textwidth}
\begin{temphelvet}
{\h= uge University of Toronto}=C2=A0=C2=A0=C2=A0
\vspace{-2pt}
\hrule \vspace{3pt}
\textbf{\textsc{dept. of history}}=C2=A0 \newline
{\s= mall \textsc{ Rm. 2074 sidney smith, 100 st. george street}, TORONTO, ONTAR= IO=C2=A0 M5S 3G3=C2=A0 CANADA \newline
\textsc{Telephone 416-978-3363=C2= =A0=C2=A0=C2=A0 Fax 416-978-4810} }
\end{temphelvet}
\end{minipage}\hfill \today

[ Greeting Here ]

# I use setspace and onehal= fspacing to control line spacing
\onehalfspacing

[ Insert Inflate= d Rhetoric About Here ]

Yours sincerely,\\

# Insert your sig = here... ditto on scale.
\includegraphics[scale=3D1.0]{/home/matt/Picture= s/my-sig-black.png}

\textbf{Your Name}\\
Illustrious Title\\
S= econd Illustrious Title\\
Etc.\\

* build :noexport:
=C2=A0 :PR= OPERTIES:
=C2=A0 :CUSTOM_ID: build
=C2=A0 :END:
=C2=A0 #+begin_src= emacs-lisp
=C2=A0 (find-file (org-latex-export-to-pdf))
=C2=A0 #+end= _src



--0000000000007efcb505797c3c95--