Sophie

Sophie

distrib > Momonga > development > i686 > media > os > by-pkgid > ef1f89c4296c878b2bca761df11f0c51 > files > 9

emacs-auctex-doc-11.86-14m.mo8.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- This manual is for AUCTeX
(version 11.86 from 2010-02-21),
a sophisticated TeX environment for Emacs.

Copyright C 1992, 1993, 1994, 1995, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.  A
copy of the license is included in the section entitled "GNU Free
Documentation License."

 -->
<!-- Created on July 15, 2012 by texi2html 1.82
texi2html was written by: 
            Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>AUCTeX 11.86: 2.5 Entering Mathematics</title>

<meta name="description" content="AUCTeX 11.86: 2.5 Entering Mathematics">
<meta name="keywords" content="AUCTeX 11.86: 2.5 Entering Mathematics">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.82">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<a name="Mathematics"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="auctex_10.html#Customizing-Environments" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="auctex_12.html#Completion" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="auctex_6.html#Editing" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="auctex_6.html#Editing" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="auctex_16.html#Display" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="auctex.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="auctex_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="auctex_40.html#Indices" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="auctex_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Entering-Mathematics"></a>
<h2 class="section">2.5 Entering Mathematics</h2>
<a name="index-Mathematics"></a>
<a name="index-Symbols"></a>
<a name="index-Abbreviations"></a>

<p>TeX is written by a mathematician, and has always contained good
support for formatting mathematical text.  AUCTeX supports this
tradition, by offering a special minor mode for entering text with many
mathematical symbols.  You can enter this mode by typing <kbd>C-c
~</kbd>.
</p>
<dl>
<dt><a name="index-LaTeX_002dmath_002dmode"></a><u>Command:</u> <b>LaTeX-math-mode</b></dt>
<dd><a name="index-C_002dc-_007e"></a>
<p>(<kbd>C-c ~</kbd>) Toggle LaTeX Math mode.  This is a minor mode rebinding
the key <code>LaTeX-math-abbrev-prefix</code> to allow easy typing of
mathematical symbols.  <kbd>`</kbd> will read a character from the keyboard,
and insert the symbol as specified in <code>LaTeX-math-default</code> and
<code>LaTeX-math-list</code>.  If given a prefix argument, the symbol will be
surrounded by dollar signs.
</p></dd></dl>

<p>You can use another prefix key (instead of <kbd>`</kbd>) by  setting the
variable <code>LaTeX-math-abbrev-prefix</code>.
</p>
<p>To enable LaTeX Math mode by default, add the following in your
&lsquo;<tt>.emacs</tt>&rsquo; file:
</p><table><tr><td>&nbsp;</td><td><pre class="lisp">(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
</pre></td></tr></table>

<dl>
<dt><a name="index-LaTeX_002dmath_002dabbrev_002dprefix"></a><u>User Option:</u> <b>LaTeX-math-abbrev-prefix</b></dt>
<dd><p>A string containing the prefix of <code>LaTeX-math-mode</code> commands; This
value defaults to <kbd>`</kbd>.
</p>
<p>The string has to be a key or key sequence in a format understood by the
<code>kbd</code> macro.  This corresponds to the syntax usually used in the
manuals for Emacs Emacs Lisp.
</p></dd></dl>

<p>The variable <code>LaTeX-math-list</code> allows you to add your own mappings.
</p>
<dl>
<dt><a name="index-LaTeX_002dmath_002dlist"></a><u>User Option:</u> <b>LaTeX-math-list</b></dt>
<dd><p>A list containing user-defined keys and commands to be used in LaTeX
Math mode.  Each entry should be a list of two to four elements.
</p>
<p>First, the key to be used after <code>LaTeX-math-abbrev-prefix</code> for
macro insertion.  If it is nil, the symbol has no associated
keystroke (it is available in the menu, though).
</p>
<p>Second, a string representing the name of the macro (without a leading
backslash.)
</p>
<p>Third, a string representing the name of a submenu the command should be
added to.  Use a list of strings in case of nested menus.
</p>
<p>Fourth, the position of a Unicode character to be displayed in the menu
alongside the macro name.  This is an integer value.
</p></dd></dl>

<dl>
<dt><a name="index-LaTeX_002dmath_002dmenu_002dunicode"></a><u>User Option:</u> <b>LaTeX-math-menu-unicode</b></dt>
<dd><p>Whether the LaTeX menu should try using Unicode for effect.  Your Emacs
built must be able to display include Unicode characters in menus for
this feature.
</p></dd></dl>

<p>AUCTeX&rsquo;s reference card &lsquo;<tt>tex-ref.tex</tt>&rsquo; includes a list of all
math mode commands.
</p>
<p>AUCTeX can help you write subscripts and superscripts in math
constructs by automatically inserting a pair of braces after typing
&lt;_&gt; or &lt;^&gt; respectively and putting point between the braces.
In order to enable this feature, set the variable
<code>TeX-electric-sub-and-superscript</code> to a non-nil value.
</p>
<dl>
<dt><a name="index-TeX_002delectric_002dsub_002dand_002dsuperscript"></a><u>User Option:</u> <b>TeX-electric-sub-and-superscript</b></dt>
<dd><p>If non-nil, insert braces after typing &lt;^&gt; and &lt;_&gt; in math mode.
</p></dd></dl>

<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="auctex_10.html#Customizing-Environments" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="auctex_12.html#Completion" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="auctex_6.html#Editing" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="auctex_6.html#Editing" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="auctex_16.html#Display" title="Next chapter"> &gt;&gt; </a>]</td>
</tr></table>
<p>
 <font size="-1">
  This document was generated on <i>July 15, 2012</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
 </font>
 <br>

</p>
</body>
</html>