auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Feature suggestions


From: Augusto Ritter Stoffel
Subject: [AUCTeX] Feature suggestions
Date: Thu, 28 May 2009 16:38:17 -0300

There are some features of cdlatex I think could be included (as
optional features) in auctex:

* the smart tab, that removes unnecessary braces and jumps to the next
point of interest in the text.
* ? in math symbol definitions to indicate the desired cursor position
after symbol insertion
* automatic $$ insertion when using `-shortcuts outside a math
environment.

Also, there could be a smart space insertion function. When a space is
inserted in a place LaTeX will interpret as end of sentence (e.g. after
a period), two spaces could be inserted. This would help users
remembering to use \[space] and address@hidden when necessary, and also improve
auto-fill.

I have bound the following function to space key, which does part of the
job.

(defun smart-insert-space (c)
  (interactive "p")
  (self-insert-command (if (equal (char-before) ?.) (max c 2) c))
  )

I hope my suggestions are relevant.
Augusto.






reply via email to

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