auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] must force $ in math::array::textrm


From: Jonas Koelker
Subject: [AUCTeX] must force $ in math::array::textrm
Date: Wed, 31 Aug 2005 21:32:40 +0200

Hi.  Here's a short excerpt from one of my math assignments (no, this
isn't a homework question :P):

\begin{displaymath}
sign(n) =
\left\{
  \begin{array}{rl}
        -1 & \textrm{if $n < 0$} \\
         0 & \textrm{if $n = 0$} \\
         1 & \textrm{if $n > 0$} \\
  \end{array}
\right.
\end{displaymath}

The dollar signs inside \textrm{} must be forced ("Math mode because of
`displaymath'.  Use C-q $ to force a dollar").  Since \textrm isn't in
math-mode by default, the Right Thing (in my mind, at least) is to
allow the dollar without forcing it.

FYI'ly yours,

Jonas K├Âlker

PS.  I don't follow the list, so you'll have to cc me if you want need
to get in touch with me (say, to tell me to get my ass on the list).

---

Emacs  : GNU Emacs 21.4.1 (i386-pc-linux-gnu)
 of 2005-03-17 on trouble, modified by Debian
Package: AUCTeX 11.55

current state:
==============
(setq
 window-system nil
 LaTeX-version "2e"
 TeX-style-path '("style/" "auto/"
                  "/usr/share/emacs21/site-lisp/auctex/style/"
                  "/var/lib/auctex/emacs21/")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]