Hi
Maybe I am missing something elementary.
Is it is possible to have automatically inserted theorem, lemmas etc
when using either amsmath or amsthm style. I cannot get it to work so I
have
(defun LaTeX-thm-insert (environment) ;Version:1.20
(if (y-or-n-p
(format "Do you want a title "))
(let ((title (read-input "(optional) Title: ")))
(LaTeX-insert-environment "thm" (concat "[" title "]"))
(and (LaTeX-label environment)
(newline-and-indent)))
(LaTeX-insert-environment "thm")
(and (LaTeX-label environment)
(newline-and-indent))))
But is this necessary?
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel