help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: LaTeX templates (or just templates in general)


From: Vagn Johansen
Subject: Re: LaTeX templates (or just templates in general)
Date: Sat, 16 May 2009 19:43:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin)

Orri <orritomasson@gmail.com> writes:

> I am rather new to emacs.
>
> I have used the editor TextMate on mac and it has a very nice feature I like
> and was wondering how I can acheive a similar thing in emacs.
>
> When I am in latex mode in textmate and write temp[tabkey], I can choose
> from a list of code segments to insert to the current file (or buffer).  I
> often use this to insert frequently used code segments (3-10 lines) to
> achieve tasks I frequently do. These segments are stored in a folder named
> ~/Library/Applications Support/LaTeX/Templates

http://www.emacswiki.org/emacs/CategoryTemplates

I would suggest yasnippet for people new to Emacs
  
  http://code.google.com/p/yasnippet/

It uses one file per template. It currently only has one latex-mode
template.


-- 
Vagn Johansen


reply via email to

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