Initial commit
This commit is contained in:
38
snippets/text-mode/letter
Normal file
38
snippets/text-mode/letter
Normal file
@@ -0,0 +1,38 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name:myExampleLetter
|
||||
# key:,ltr
|
||||
# --
|
||||
#+LCO: mySN
|
||||
#+OPTIONS: backaddress:t email:nil
|
||||
#+OPTIONS: after-closing-order:(after_closing ps encl cc)
|
||||
#+OPTIONS: after-letter-order:(after_letter)
|
||||
#+OPTIONS: foldmarks:nil phone:nil place:t special-headings:nil subject:t
|
||||
#+OPTIONS: title-subject:nil url:nil location:t title:nil
|
||||
|
||||
#+LATEX_CLASS: default-koma-letter
|
||||
#+LATEX_HEADER: \setkomavar{signature}{\includegraphics[height=1cm]{/home/ra/Downloads/signature.pdf}\\\\\usekomavar{fromname}}
|
||||
#+LaTeX_HEADER: \usepackage{pdfpages}
|
||||
#+AUTHOR: Sender Name
|
||||
#+FROM_ADDRESS: Acmestreet 1, 5555 Footown
|
||||
#+PHONE_NUMBER: 0123456789
|
||||
#+URL: example.org
|
||||
#+EMAIL: foo@bar.com
|
||||
#+TO_ADDRESS: ${1:ReceiverInc}\\\ ${2:JohnDoe}\\\ ${3:SomeStreet}\\\ ${4:ZipTown}\\\Mittelerde
|
||||
#+PLACE: MyTown
|
||||
#+SUBJECT: ${5:MySubject}
|
||||
#+OPENING: ${6:Dear John}
|
||||
#+CLOSING: With best regards
|
||||
${0:MyText}
|
||||
*** PS :ps:noexport:
|
||||
PS: I must remove the :noexport: tag to display this line in the exported pdf
|
||||
*** CC :cc:
|
||||
Jane & Alice
|
||||
*** ENCL :encl:
|
||||
- A map
|
||||
- Another map
|
||||
*** Included files :after_letter:
|
||||
#+BEGIN_EXPORT latex
|
||||
% Uncomment line below to include other pdf files
|
||||
%\includepdf[pages=-]{/home/ra/Downloads/Map.pdf} %must use absolute path
|
||||
%\includepdf[pages=-]{/home/ra/Downloads/OtherMap.pdf} %must use absolute path
|
||||
#+END_EXPORT
|
||||
Reference in New Issue
Block a user