unix-conf/.emacs.d/elpa/auctex-11.89.1/style/ltxtable.el

52 lines
1.5 KiB
EmacsLisp
Raw Normal View History

2016-02-18 13:53:30 +00:00
;;; ltxtable.el --- AUCTeX style for `ltxtable.sty' (v0.2)
;; Copyright (C) 2015 Free Software Foundation, Inc.
;; Author: Arash Esbati <esbati'at'gmx.de>
;; Maintainer: auctex-devel@gnu.org
;; Created: 2015-03-14
;; Keywords: tex
;; This file is part of AUCTeX.
;; AUCTeX is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; AUCTeX is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with AUCTeX; see the file COPYING. If not, write to the Free
;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
;; 02110-1301, USA.
;;; Commentary:
;; This file adds support for `ltxtable.sty' (v0.2) from 1995/12/11.
;; `ltxtable.sty' is part of TeXLive.
;;; Code:
(TeX-add-style-hook
"ltxtable"
(lambda ()
(TeX-run-style-hooks "tabularx" "longtable")
(TeX-add-symbols
'("LTXtable"
(TeX-arg-length "Width" "1.0\\linewidth")
(TeX-arg-eval
(lambda ()
(let ((longtable (file-relative-name
(read-file-name "File with longtable: "))))
(format "%s" longtable)))))))
LaTeX-dialect)
(defvar LaTeX-ltxtable-package-options nil
"Package options for the ltxtable package.")
;;; ltxtable.el ends here