On Tue, Apr 20, 2010 at 4:48 PM, Eric Schulte
<address@hidden> wrote:
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.
Is there any progress on that? I just started with yasnippet and think they are quite handy.
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].
Cheers,
Rainer
-- 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/