>From ac0c7da9e7c122c63a694eb208b61e45b429b339 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Sat, 18 Jul 2015 09:38:23 +0200 Subject: [PATCH 3/7] Add `LCRJ' to `LaTeX-array-column-letters'. --- ChangeLog | 3 +++ style/tabulary.el | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 94fcf10..6eca23d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-07-18 Arash Esbati + * style/tabulary.el ("tabulary"): Add `LCRJ' to + `LaTeX-array-column-letters'. + * style/tabularx.el ("tabularx"): Add `X' to `LaTeX-array-column-letters'. diff --git a/style/tabulary.el b/style/tabulary.el index c17b96e..30e3a64 100644 --- a/style/tabulary.el +++ b/style/tabulary.el @@ -52,7 +52,11 @@ '("tabulary" LaTeX-env-tabular*)) ;; `tabulary' requires the array package - (TeX-run-style-hooks "array")) + (TeX-run-style-hooks "array") + + ;; `tabulary.sty' adds some new column specification letters. + (set (make-local-variable 'LaTeX-array-column-letters) + (concat LaTeX-array-column-letters "L" "C" "R" "J"))) LaTeX-dialect) ;;; tabulary.el ends here -- 2.4.5