From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Hesterberg Newsgroups: gmane.emacs.bugs Subject: latex mode, nexted subscripts are unreadable Date: Thu, 06 Sep 2007 16:21:58 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189120804 20390 80.91.229.12 (6 Sep 2007 23:20:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 23:20:04 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 07 01:19:59 2007 Return-path: Envelope-to: geb-bug-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 1ITQde-00037m-0s for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 01:19:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITQdc-0003fI-5H for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Sep 2007 19:19:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITQda-0003e5-MX for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2007 19:19:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITQdZ-0003c9-Eh for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2007 19:19:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITQdZ-0003bv-92 for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2007 19:19:49 -0400 Original-Received: from sewinexch00.insightful.com ([70.98.76.55]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITQdY-0003Sh-Qn for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2007 19:19:49 -0400 Original-Received: from THESTERBERG-XP.insightful.com ([172.16.100.61]) by sewinexch00.insightful.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 6 Sep 2007 16:21:31 -0700 X-OriginalArrivalTime: 06 Sep 2007 23:21:31.0148 (UTC) FILETIME=[A85CE4C0:01C7F0DC] X-Detected-Kernel: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16494 Archived-At: I'm using latex mode, with font-lock on. describe-mode shows: Enabled minor modes: Auto-Compression Blink-Cursor Column-Number Display-Time Encoded-Kbd File-Name-Shadow Font-Lock Global-Font-Lock Line-Number Menu-Bar Mouse-Wheel Shell-Dirtrack Show-Paren Tooltip Unify-8859-On-Encoding Utf-Translate-Cjk I have equations like this: \begin{equation} \sum_{i=1}^n (y_i - \sum_{j=1}^p\sum_{k=1}^{p_j} X_{i,j_k}\beta_{j_k})^2 + \theta \sum_{j=1}^p (\sum_{k=1}^{p_j} \beta_{j_k}^{\gamma_j})^{\frac{\gamma_0}{\gamma_j}}, \end{equation} Note that there are nested combinations of subscripts and superscripts. In Emacs 21.1 in latex mode, subscripts and superscripts are shown with smaller fonts, and raised or lowered. Cool! This is great for first-level suscripts. However nested superscripts and subscripts are (1) very tiny and (2) shown in gray, rather than the same color used for the first-level suscripts. I use emacs in reverse video (I use -r on startup). The gray is nearly invisible against the black background. Most of the pixels are a dark gray; a few are a lighter gray. If I view the same file without reverse video, and start with --no-init-file, then the nested suscripts are visible, but are still too tiny for comfort. And they're not clearly visible - the gray letters end up with most of the pixels light gray and a few of them darker. My default font is Courier New, Regular, 10. If I change the default font size to 11, 12, or 14, then the nested suscripts are the same color as the first-level. Changing to 8 or 9 is similar to 10. Changing to 7 makes the first-level suscripts gray and nearly invisible. Changing to 6 makes all the text gray and nearly invisible, When I do mouse-set-font, 8 is the smallest size that shows up. So I suspect that the problem is that emacs is trying to use font size 6 or smaller for nested suscripts, and that rescaling to give that font size gives bad results. Is there a way to set a minimum font size for suscripts? Thank you, Tim Hesterberg In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: LaTeX Minor modes in effect: display-time-mode: t shell-dirtrack-mode: t show-paren-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: . I f SPC I SPC v i e w SPC t h e SPC s a m e SPC f i l e SPC i n SPC h w i t h o u t SPC r e v e r s e SPC v i d e o , SPC C-p C-e a n d SPC s t a r t SPC w i t h C-y , SPC t h e n SPC t h e SPC n e s t e d SPC s u s c r i p t s SPC a r e SPC v i s i b l e , SPC b u t SPC s t i l l SPC t o o t i n y SPC f o r SPC c o m f o r t . C-p C-e b b b C-b C-b SPC ( t h o u g h SPC s t i l l d o n ' t SPC s t a n d SPC o u t SPC w e l l ) C-p C-e b b C-n SPC C-d C-u C-p C-n C-e C-o C-o R e a l l y SPC n e a r l y SPC i n v i s i b l e C-a C-k C-k C-k C-n C-n C-n C-n C-n C-SPC C-n C-n C-n C-p C-w C-SPC C-SPC < w C-x k C-x 4 b t e m p 5 C-y C-x n C-SPC f f f w C-x N x e m a c s - r e p o r C-a C-y C-k Recent messages: Type C-x 1 to remove help window. Auto-saving...done Mark set [2 times] Auto-saving...done Mark set Auto-saving...done Mark set [2 times] Mark activated Transient-mark-mode temporarily enabled Mark set [2 times]