summaryrefslogtreecommitdiff
path: root/doc/emacs/display.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-05-13 13:30:33 -0700
committerEli Zaretskii <eliz@gnu.org>2016-09-23 16:55:52 +0300
commit9135bd7af7bdf9f805b185a77fe4e6d33dec4009 (patch)
tree3dbebfada02bbb3369d4838a82bc261e4a694bfd /doc/emacs/display.texi
parente0dd65cd444fd9e5ee6b5921936c6c829df75e50 (diff)
downloademacs-9135bd7af7bdf9f805b185a77fe4e6d33dec4009.tar.gz
Improve display of tex-verbatim and Info quoted
Problem reported by Glenn Morris (Bug#19889). * doc/emacs/display.texi (Standard Faces): * doc/lispref/display.texi (Basic Faces): * etc/NEWS: Mention fixed-pitch-serif. * lisp/faces.el (face-font-family-alternatives): New family alias Monospace Serif. (fixed-pitch-serif): New face, which uses the new family. * lisp/info.el (Info-quoted): * lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face. * test/lisp/legacy/font-parse-tests.el (font-parse-tests--data): Add test case for Monospace Serif. This is backport from master (cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)
Diffstat (limited to 'doc/emacs/display.texi')
-rw-r--r--doc/emacs/display.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index 56b643becf2..391e1a0ed58 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -613,6 +613,9 @@ This face underlines text.
This face forces use of a fixed-width font. It's reasonable to
customize this face to use a different fixed-width font, if you like,
but you should not make it a variable-width font.
+@item fixed-pitch-serif
+This face is like @code{fixed-pitch}, except the font has serifs and
+looks more like traditional typewriting.
@cindex variable-pitch face
@item variable-pitch
This face forces use of a variable-width font.