Mercurial > emacs
comparison lisp/textmodes/tex-mode.el @ 90988:492971a3f31f unicode-xft-base
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 816-823)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 59-69)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 237-238)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-235
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 24 Jul 2007 01:23:55 +0000 |
parents | a1be62cbd32a ff5079ea60b8 |
children | f55f9811f5d7 |
comparison
equal
deleted
inserted
replaced
90987:b2d8a283f27e | 90988:492971a3f31f |
---|---|
247 "If non-nil, fontify subscript and superscript strings." | 247 "If non-nil, fontify subscript and superscript strings." |
248 :type 'boolean | 248 :type 'boolean |
249 :group 'tex) | 249 :group 'tex) |
250 (put 'tex-fontify-script 'safe-local-variable 'booleanp) | 250 (put 'tex-fontify-script 'safe-local-variable 'booleanp) |
251 | 251 |
252 (defcustom tex-font-script-display '(-0.3 . 0.3) | 252 (defcustom tex-font-script-display '(-0.2 . 0.2) |
253 "Display specification for subscript and superscript content. | 253 "Display specification for subscript and superscript content. |
254 The car is used for subscript, the cdr is used for superscripts." | 254 The car is used for subscript, the cdr is used for superscripts." |
255 :group 'tex | 255 :group 'tex |
256 :type '(cons (choice (float :tag "Subscript") | 256 :type '(cons (choice (float :tag "Subscript") |
257 (const :tag "No lowering" nil)) | 257 (const :tag "No lowering" nil)) |
673 (null (cddr prop))) | 673 (null (cddr prop))) |
674 (put-text-property beg next 'display nil)) | 674 (put-text-property beg next 'display nil)) |
675 (setq beg next)))) | 675 (setq beg next)))) |
676 | 676 |
677 (defface superscript | 677 (defface superscript |
678 '((t :height 0.8)) ;; :raise 0.3 | 678 '((t :height 0.8)) ;; :raise 0.2 |
679 "Face used for superscripts." | 679 "Face used for superscripts." |
680 :group 'tex) | 680 :group 'tex) |
681 (defface subscript | 681 (defface subscript |
682 '((t :height 0.8)) ;; :raise -0.3 | 682 '((t :height 0.8)) ;; :raise -0.2 |
683 "Face used for subscripts." | 683 "Face used for subscripts." |
684 :group 'tex) | 684 :group 'tex) |
685 | 685 |
686 (defface tex-math | 686 (defface tex-math |
687 '((t :inherit font-lock-string-face)) | 687 '((t :inherit font-lock-string-face)) |