emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to export casual letter without from and to address?


From: Marcin Borkowski
Subject: Re: [O] How to export casual letter without from and to address?
Date: Sat, 05 Mar 2016 20:52:01 +0100
User-agent: mu4e 0.9.13; emacs 25.1.50.6

On 2016-03-05, at 19:56, Eric S Fraga <address@hidden> wrote:

> On Saturday,  5 Mar 2016 at 10:47, York Zhao wrote:
>>> Why use a letter exporter (koma?) if you don't want something that looks 
>>> like
>>> a letter?
>>
>> I wanted it to be a letter in all aspects, except that it doesn't have the 
>> "from
>> address" and "to address" in the header. More specifically, I want my letter
>> looks like:
>>
>>   Hi Flora,
>>
>>   Blah blah blah!
>>
>>   Regards,
>>
>>   York
>>
>>> simply write it as a normal org document and export it to pdf or odt or
>>> whatever you wish to send.
>>
>> The problem is, it seems to me that to export to pdf, LaTeX export is the 
>> only
>> way to go. But then you would have to choose a document class. Obviously you
>> can't use "article", nor "book". So my question may probably rephrase as: 
>> which
>> latex document class do you use to export the letter "as is"?
>
> Ah, okay, I see. Well, you could try something along the lines of:
>
> #+begin_src org
>   ,#+title:
>   ,#+author:
>   ,#+date:
>   ,#+options: toc:nil num:nil
>   ,*
>   Hi Flora
>
>   Blah blah blah!
>
>   Regards,
>
>   # leave some room for signature
>   \vspace*{1.5cm}
>
>   York
> #+end_src
>
> where the headline has a space after the "*".  You might want to play
> with parindent and parskip LaTeX variables if you don't like the
> default.
>
> Alternatively, there may be other LaTeX styles that could give you what
> you want with a little customisation although probably unlikely.  For
> instance, have a look at http://www.latextemplates.com/ and maybe create
> your own using the custom class example?

You could also stick something like

\let\maketitle=\relax

in the preamble.  Dirty hack, but it should get rid of the
title/author/date stuff.

> HTH,
> eric

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

[Prev in Thread] Current Thread [Next in Thread]