all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vagn Johansen <gonz808@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: LaTeX templates (or just templates in general)
Date: Sat, 16 May 2009 19:43:10 +0200	[thread overview]
Message-ID: <m2pre9aqq9.fsf@hotmail.com> (raw)
In-Reply-To: mailman.7255.1242453781.31690.help-gnu-emacs@gnu.org

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


  parent reply	other threads:[~2009-05-16 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7255.1242453781.31690.help-gnu-emacs@gnu.org>
2009-05-16 12:52 ` LaTeX templates (or just templates in general) Jean Magnan de Bornier
2009-05-17  1:29   ` Tim X
2009-05-16 17:43 ` Vagn Johansen [this message]
2009-05-17  0:55   ` Orri
2009-05-16  5:56 Orri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2pre9aqq9.fsf@hotmail.com \
    --to=gonz808@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.