(emacs)Modifying Faces


Next: Misc X Prev: Faces Up: Frames

Modifying Faces
===============

   Here are the commands for users to change the font of a face.

`M-x set-face-font RET FACE RET FONT RET'
     Use font FONT in face FACE.

`M-x make-face-bold RET FACE RET'
     Convert face FACE to use a bold version of its current font.

`M-x make-face-italic RET FACE RET'
     Convert face FACE to use a italic version of its current font.

`M-x make-face-bold-italic RET FACE RET'
     Convert face FACE to use a bold-italic version of its current font.

`M-x make-face-unbold RET FACE RET'
     Convert face FACE to use a non-bold version of its current font.

`M-x make-face-unitalic RET FACE RET'
     Convert face FACE to use a non-italic version of its current font.

   Here are the commands for users to set the colors and underline flag
of a face:

`M-x set-face-foreground RET FACE RET COLOR RET'
     Use color COLOR for the foreground of characters in face FACE.

`M-x set-face-background RET FACE RET COLOR RET'
     Use color COLOR for the background of characters in face FACE.

`M-x set-face-underline-p RET FACE RET FLAG RET'
     Specify whether to underline characters in face FACE.

`M-x invert-face RET FACE RET'
     Swap the foreground and background colors of face FACE.


automatically generated by info2www