emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: [Babel] Macro for begin_src?


From: Eric Schulte
Subject: Re: [Orgmode] Re: [Babel] Macro for begin_src?
Date: Tue, 20 Apr 2010 08:48:19 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Sébastien Vauban <address@hidden> writes:

> Hi Eric,
>
> Eric S Fraga wrote:
>> it might be nice to have a worg page on snippets for org-mode?
>
> Sure. Or having them somewhere in the git directories...
>

+1 for git directories.

That way users who keep their Emacs config in git repos can add the
snippets as a submodule, and I can include the submodule in the literate
emacs-starter-kit [1].

-- Eric

>
>
>> I'm happy to contribute a few.
>>
>> figure:
>> #name : figure
>> # --
>> #+attr_latex: width=$1\textwidth
>> [[file:$2.pdf]]
>> $0
>
> Better use \linewidth instead of \textwidth. You will avoid bad surprises.
>
> They are generally equivalent, but \linewidth is more often the real width to
> consider: it is correctly adapted in column environments, itemized lists and
> quotes, to cite a few.
>
> Seb

Footnotes: 
[1]  http://eschulte.github.com/emacs-starter-kit/





reply via email to

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