jao-skel-latex.el 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ;; latex skeletons -*- lexical-binding: t; -*-
  2. ;; Copyright (C) 2004, 2005, 2009, 2022 Jose Antonio Ortega Ruiz
  3. ;; Author: Jose A Ortega Ruiz <jao@gnu.org>
  4. ;; Keywords: tools
  5. ;; This file is free software; you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation; either version 3, or (at your option)
  8. ;; any later version.
  9. ;; This file is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with GNU Emacs; see the file COPYING. If not, write to
  15. ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  16. ;; Boston, MA 02111-1307, USA.
  17. ;;; Commentary:
  18. ;; LaTeX skeletons
  19. ;;; Code:
  20. (require 'jao-skel)
  21. (define-skeleton jao-skel-latex
  22. "Latex standard header"
  23. nil
  24. "%%"
  25. \n
  26. "%% Author: " (user-full-name) " <"user-mail-address">"
  27. \n
  28. "%% Start date: " (format-time-string "%a %b %d, %Y %H:%M")
  29. \n
  30. "%% $" "Id$"
  31. \n
  32. "%%"
  33. ?\n
  34. (jao-skel-copyright-line "% ")
  35. \n
  36. "%%"
  37. \n \n)
  38. (jao-skel-install "\\.tex$\\|\\.sty$\\|\\.cls$" 'jao-skel-latex)
  39. (provide 'jao-skel-latex)