From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yang Newsgroups: gmane.emacs.help Subject: How to customize fonts in the tex-mode? Date: Tue, 8 Apr 2008 03:03:51 -0500 Organization: Mississippi State University Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1207644161 1251 80.91.229.12 (8 Apr 2008 08:42:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2008 08:42:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 10:43:14 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jj9Q9-0006cM-IB for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2008 10:43:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jj9PW-0005PB-AN for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2008 04:42:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-ext.gatech.edu!nntp.msstate.edu!Titan.HPC.MsState.Edu!fz15 Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: titan.hpc.msstate.edu Original-X-Trace: nntp.msstate.edu 1207641833 11231 130.18.14.18 (8 Apr 2008 08:03:53 GMT) Original-X-Complaints-To: usenet@nntp.msstate.edu Original-NNTP-Posting-Date: 8 Apr 2008 08:03:53 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:157787 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53154 Archived-At: Sorry maybe this is a beginner's question, but I cannot seem to find an answer after poking around in google for a while. How do I customize the color and fonts in the tex-mode (or any other mode)? If I am editing a LaTeX file, how do I set the fonts and color for things like \section{section name}, {\bf word}, etc. For example, how do I make "section name" to use a larger font with a different color? Do I have put code in the .emacs file, or can I use the emacs M-X customize buffer to change values? and where? I am trying to match the settings with my previous Carbon emacs on a Mac, whose default setting looks very beautiful. I've tried to copy the "tex-mode.el" file from the Carbon emacs package to my current emacs installation. But that does not seem to have any effect. Thanks in advance! --Yang