Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/TeX/lib/tex/inputs/mmh.tex
2024-02-19 00:21:16 -05:00

515 lines
12 KiB
TeX
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
\documentstyle{article}
\begin{document}
\parskip=\bigskipamount
\textheight=24cm
\headheight=0pt
\headsep=0pt
\topmargin=0pt
\def\[{\(\rm}\def\]{{}\)}
\def\{\verb}
\openin0=math
\ifeof0\else\closein0\input math \fi
\centerline{\fbox{\Huge Math-Mode}}
\nobreak
\begin{verbatim}
Math character set viewer mode
Variables:
----------
- math-mode:
t when math-mode is on, nil otherwise
- MODE-math-mode-font: [if bound]
Font to use in math-mode with major mode MODE
- math-mode-font: [default ()]
Font to use in math-mode if MODE-math-mode-font unbound
- math-mode-hook: [default ()]
Functions called when entering math-mode
- math-mode-exit-hook: [default ()]
Functions to call when exiting math-mode
- math-mode-user-context-map:
User key bindings list.
context-map = <list-of>(context command-key action)
context = <string> text before the cursor
command-key = <string> key to hit to replace text
action = <string> replacement text| <symbol> function
* Ex: ("50" "%" "half")
Type "50", then "%". Now, "50%" is replaced with "half"
Type "49", then "%". Now, all you have is "49%"...
* If the action is a function symbol, it is called when
the context string precedes the cursor and the command-key
is typed.
- math-mode-user-abbrev-TeX-map:
User abbrev/TeX-translation list
abbrev-TeX-map = <list-of>(mode-text <list-of>TeX-text)
mode-text = <string> mode text used for translation
TeX-text = <string> TeX text used for translation
* It is the first TeX-text in the list that is used for
translation to TeX.
* If TeX-text is a word (i.e. contains only letters), then
mode-text is defined as an abbreviation for \TeX-text
* Ex: ("<>" "\not=" "neq")
When translating from math-mode to TeX, "<>" is replaced
with "\not=". When translating from TeX to math-mode,
both "\not=" and "\neq" are replaced with "<>". Moreover,
"\neq" is defined as an abbreviation for "<>".
- math-mode-string: [default Math]
String used in the mode line
- math-mode-TeX-file: [default ()]
If non-nil translate before saving. Otherwise save the
buffer as is (default).
- math-mode-TeX-auto: [default ()]
If non-nil translate back and forth to TeX when toggling
math-mode. Otherwise do nothing (default).
- viewer::TeX-ext: [default ()]
If non-nil, then use LaTeX viewer extensions to
std-abbrev-TeX-map and std-context-map, else do nothing
(default). When non-nil, it has the same effect as:
(require 'viewer/LaTeX)
(setq fmath-mode-user-abbrev-TeX-map
(append fmath-mode-user-abbrev-TeX-map
LaTeX::viewer-user-abbrev-TeX-map
LaTeX::viewer-std-abbrev-TeX-map))
(setq fmath-mode-user-context-map
(append fmath-mode-user-context-map
LaTeX::viewer-user-context-map
LaTeX::viewer-std-context-map))
Constants:
----------
- math-mode-std-abbrev-TeX-map:
Built-in abbrev/TeX-translation list. Override this variable
if you want to control everything as the effective
abbrev-TeX-map used is:
(append math-mode-user-abbrev-TeX-map
math-mode-std-abbrev-TeX-map)
- math-mode-std-context-map:
Built-in key bindings list. Override this variable if you
want to control everything as the effective context-map
used is:
(append math-mode-user-context-map
math-mode-std-context-map)
Functions:
----------
- math-mode:
* Without argument, toggle math-mode.
* With numeric argument, set math-mode if it is positive,
reset math-mode otherwise.
Remember all viewer modes may be defined as autoloadable
using: (load "viewer/autoload")
- TeX-to-math:
tex-to-math:
Convert TeX macros to math-mode characters.
- math-to-TeX:
math-to-tex:
Convert math-mode characters to TeX macros.
- math-mode-help:
Show math-mode documentation, bindings and abbreviations.
* Without argument, show information in *Help* buffer.
* With argument 'LaTeX [max-table-size], show information
in LaTeX format. Compile with math.tex or
translate to TeX before saving.
Warning: If viewer::TeX-ext is non-nil, translation
does not work because it affects \begin and \end.
Extensions (viewer/LaTeX):
---------------------------
- LaTeX::viewer-std-abbrev-TeX-map:
Built-in LaTeX short-cut abbrev-TeX-map used when flag
viewer::TeX-ext is non-nil (see LaTeX for content).
- LaTeX::viewer-user-abbrev-TeX-map:
User abbrev-TeX map (before std map if provided)
- LaTeX::viewer-std-context-map:
Built-in LaTeX short-cut context-map. used when flag
viewer::TeX-ext is non-nil (see LaTeX for content).
- LaTeX::viewer-user-context-map:
User key bindings (before std map if provided)
- LaTeX-math-mode:
Sets LaTeX mode together with math-mode.
.emacs example:
---------------
(require 'decor)
(setq LaTeX::decor-preset t)
(load "viewer/autoload")
(setq fmath-mode-user-context-map
'(("s" "@" "\345_{i=}^{}")))
(setq viewer::TeX-ext t)
(setq LaTeX::viewer-user-context-map
'(
("\275" "c" "\275{corollary}")
("\275" "d" "\275{definition}")
("\275" "D" "\275{description}")
("\275" "l" "\275{lemma}")
("\275" "p" "\275{property}")
("\275" "P" "\275{proof}")
("\275" "t" "\275{theorem}")
))
(push '("\\.tex$" . LaTeX-fmath-mode) auto-mode-alist)
\end{verbatim}
{\large Math-Mode bindings}
\nobreak
\begin{tabular}{c|c|c}
Context & Key & Binding \\
\hline
\^ & 0 & \[<EFBFBD>\] \\
0 & @ & \[<EFBFBD>\] \\
\^ & 1 & \[<EFBFBD>\] \\
1 & @ & \[<EFBFBD>\] \\
\^ & 2 & \[<EFBFBD>\] \\
2 & @ & \[<EFBFBD>\] \\
\^ & 3 & \[<EFBFBD>\] \\
3 & @ & \[<EFBFBD>\] \\
.. & . & \[<EFBFBD>\] \\
a & \% & \[<EFBFBD>\] \\
b & \% & \[<EFBFBD>\] \\
c & \% & \[<EFBFBD>\] \\
d & \% & \[<EFBFBD>\] \\
e & \% & \[<EFBFBD>\] \\
f & \% & \[<EFBFBD>\] \\
g & \% & \[<EFBFBD>\] \\
h & \% & \[<EFBFBD>\] \\
i & \% & \[<EFBFBD>\] \\
j & \% & \[<EFBFBD>\] \\
k & \% & \[<EFBFBD>\] \\
l & \% & \[<EFBFBD>\] \\
m & \% & \[<EFBFBD>\] \\
n & \% & \[<EFBFBD>\] \\
o & \% & o \\
p & \% & \[<EFBFBD>\] \\
q & \% & \[<EFBFBD>\] \\
r & \% & \[<EFBFBD>\] \\
s & \% & \[<EFBFBD>\] \\
t & \% & \[<EFBFBD>\] \\
u & \% & \\upsilon \\
v & \% & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
w & \% & \[<EFBFBD>\] \\
x & \% & \[<EFBFBD>\] \\
y & \% & \[<EFBFBD>\] \\
z & \% & \[<EFBFBD>\] \\
A & \% & A \\
B & \% & B \\
C & \% & X \\
\end{tabular}
\begin{tabular}{c|c|c}
Context & Key & Binding \\
\hline
D & \% & \[<EFBFBD>\] \\
E & \% & E \\
F & \% & \[<EFBFBD>\] \\
G & \% & \[<EFBFBD>\] \\
H & \% & H \\
I & \% & I \\
J & \% & \[<EFBFBD>\] \\
K & \% & K \\
L & \% & \[<EFBFBD>\] \\
M & \% & M \\
N & \% & N \\
O & \% & O \\
P & \% & \[<EFBFBD>\] \\
Q & \% & \[<EFBFBD>\] \\
R & \% & P \\
S & \% & \[<EFBFBD>\] \\
T & \% & T \\
U & \% & \[<EFBFBD>\] \\
V & \% & \\varsigma \\
W & \% & \[<EFBFBD>\] \\
X & \% & \[<EFBFBD>\] \\
Y & \% & \[<EFBFBD>\] \\
Z & \% & Z \\
\[+\] & \[-\] & \[<EFBFBD>\] \\
\[+\] & \_ & \[<EFBFBD>\] \\
x & @ & \[<EFBFBD>\] \\
\[*\] & @ & \[<EFBFBD>\] \\
\[/\] & @ & \[<EFBFBD>\] \\
\% & @ & \[<EFBFBD>\] \\
@ & @ & \[<EFBFBD>\] \\
. & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
U & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
v & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\^ & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<\]\[>\] & @ & \[<EFBFBD>\] \\
\[+\] & @ & \[<EFBFBD>\] \\
\end{tabular}
\begin{tabular}{c|c|c}
Context & Key & Binding \\
\hline
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
! & \[-\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[-\] & \[<EFBFBD>\] \\
! & \[=\] & \[<EFBFBD>\] \\
\[=\] & \[<\] & \[<EFBFBD>\] \\
\[<\] & \_ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[>\] & \[=\] & \[<EFBFBD>\] \\
\[>\] & \_ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<\] & \[<\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[>\] & \[>\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[)\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[(\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[/\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[=\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \_ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[=\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \_ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
e & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[/\] & \[<EFBFBD>\] \\
\[=\] & \[=\] & \[<EFBFBD>\] \\
\[=\] & \_ & \[<EFBFBD>\] \\
\(\sim\) & \(\sim\) & \[<EFBFBD>\] \\
\[=\] & \(\sim\) & \[<EFBFBD>\] \\
\[=\] & \[/\] & \[<EFBFBD>\] \\
a & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[|\] & @ & \[<EFBFBD>\] \\
\[<\] & \[-\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[-\] & \[>\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\end{tabular}
\begin{tabular}{c|c|c}
Context & Key & Binding \\
\hline
\[<EFBFBD>\] & \[>\] & \[<EFBFBD>\] \\
\^ & \[|\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[=\] & \[>\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<\] & \[=\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[>\] & \[<EFBFBD>\] \\
\[|\] & \[|\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[|\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & \[|\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
N & @ & \[<EFBFBD>\] \\
P & @ & \[<EFBFBD>\] \\
R & @ & \[<EFBFBD>\] \\
I & @ & \[<EFBFBD>\] \\
" & " & \[<EFBFBD>\] \\
' & @ & \[<EFBFBD>\] \\
O & \[/\] & \[<EFBFBD>\] \\
D & @ & \[<EFBFBD>\] \\
T & @ & \[<EFBFBD>\] \\
\_ & \[|\] & \[<EFBFBD>\] \\
\[/\] & \_ & \[<EFBFBD>\] \\
\_ & \[/\] & \[<EFBFBD>\] \\
A & @ & \[<EFBFBD>\] \\
E & @ & \[<EFBFBD>\] \\
\(\sim\) & @ & \[<EFBFBD>\] \\
\[-\] & @ & \[<EFBFBD>\] \\
d & @ & \[<EFBFBD>\] \\
8 & @ & \[<EFBFBD>\] \\
oo & @ & \[<EFBFBD>\] \\
p & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
s & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
i & @ & \[<EFBFBD>\] \\
\$ & @ & \[<EFBFBD>\] \\
V & @ & \[<EFBFBD>\] \\
\end{tabular}
\begin{tabular}{c|c|c}
Context & Key & Binding \\
\hline
\{ & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\} & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\_ & \[[\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\_ & \[]\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\^ & \[[\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\^ & \[]\] & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[>\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\[<\] & @ & \[<EFBFBD>\] \\
\[<EFBFBD>\] & @ & \[<EFBFBD>\] \\
\end{tabular}
{\large Math-Mode abbrevs}
\nobreak
\begin{tabular}{l|l}
Abbrev & Expansion \\
\hline
\\zerosuperior & \[<EFBFBD>\] \\
\\onesuperior & \[<EFBFBD>\] \\
\\twosuperior & \[<EFBFBD>\] \\
\\threesuperior & \[<EFBFBD>\] \\
\\ldots & \[<EFBFBD>\] \\
\\alpha & \[<EFBFBD>\] \\
\\beta & \[<EFBFBD>\] \\
\\chi & \[<EFBFBD>\] \\
\\delta & \[<EFBFBD>\] \\
\\varepsilon & \[<EFBFBD>\] \\
\\phi & \[<EFBFBD>\] \\
\\gamma & \[<EFBFBD>\] \\
\\eta & \[<EFBFBD>\] \\
\\iota & \[<EFBFBD>\] \\
\\varphi & \[<EFBFBD>\] \\
\\kappa & \[<EFBFBD>\] \\
\\lambda & \[<EFBFBD>\] \\
\\mu & \[<EFBFBD>\] \\
\\nu & \[<EFBFBD>\] \\
\\pi & \[<EFBFBD>\] \\
\\theta & \[<EFBFBD>\] \\
\\rho & \[<EFBFBD>\] \\
\\sigma & \[<EFBFBD>\] \\
\\tau & \[<EFBFBD>\] \\
\\vartheta & \[<EFBFBD>\] \\
\\varpi & \[<EFBFBD>\] \\
\\omega & \[<EFBFBD>\] \\
\\xi & \[<EFBFBD>\] \\
\\psi & \[<EFBFBD>\] \\
\\zeta & \[<EFBFBD>\] \\
\\Delta & \[<EFBFBD>\] \\
\\Phi & \[<EFBFBD>\] \\
\\Gamma & \[<EFBFBD>\] \\
\\Lambda & \[<EFBFBD>\] \\
\\Pi & \[<EFBFBD>\] \\
\\Theta & \[<EFBFBD>\] \\
\\Sigma & \[<EFBFBD>\] \\
\\Upsilon & \[<EFBFBD>\] \\
\\Omega & \[<EFBFBD>\] \\
\end{tabular}
\begin{tabular}{l|l}
Abbrev & Expansion \\
\hline
\\Xi & \[<EFBFBD>\] \\
\\Psi & \[<EFBFBD>\] \\
\\pm & \[<EFBFBD>\] \\
\\times & \[<EFBFBD>\] \\
\\div & \[<EFBFBD>\] \\
\\bullet & \[<EFBFBD>\] \\
\\cdot & \[<EFBFBD>\] \\
\\cap & \[<EFBFBD>\] \\
\\cup & \[<EFBFBD>\] \\
\\lor & \[<EFBFBD>\] \\
\\vee & \[<EFBFBD>\] \\
\\land & \[<EFBFBD>\] \\
\\wedge & \[<EFBFBD>\] \\
\\diamond & \[<EFBFBD>\] \\
\\oplus & \[<EFBFBD>\] \\
\\otimes & \[<EFBFBD>\] \\
\\dag & \[<EFBFBD>\] \\
\\ddag & \[<EFBFBD>\] \\
\\leq & \[<EFBFBD>\] \\
\\le & \[<EFBFBD>\] \\
\\geq & \[<EFBFBD>\] \\
\\ge & \[<EFBFBD>\] \\
\\ll & \[<EFBFBD>\] \\
\\gg & \[<EFBFBD>\] \\
\\subset & \[<EFBFBD>\] \\
\\supset & \[<EFBFBD>\] \\
\\notsubset & \[<EFBFBD>\] \\
\\subseteq & \[<EFBFBD>\] \\
\\supseteq & \[<EFBFBD>\] \\
\\in & \[<EFBFBD>\] \\
\\notin & \[<EFBFBD>\] \\
\\equiv & \[<EFBFBD>\] \\
\\approx & \[<EFBFBD>\] \\
\\cong & \[<EFBFBD>\] \\
\\neq & \[<EFBFBD>\] \\
\\ne & \[<EFBFBD>\] \\
\\propto & \[<EFBFBD>\] \\
\\mid & \[<EFBFBD>\] \\
\\leftarrow & \[<EFBFBD>\] \\
\\gets & \[<EFBFBD>\] \\
\end{tabular}
\begin{tabular}{l|l}
Abbrev & Expansion \\
\hline
\\rightarrow & \[<EFBFBD>\] \\
\\to & \[<EFBFBD>\] \\
\\leftrightarrow & \[<EFBFBD>\] \\
\\uparrow & \[<EFBFBD>\] \\
\\downarrow & \[<EFBFBD>\] \\
\\Leftarrow & \[<EFBFBD>\] \\
\\Rightarrow & \[<EFBFBD>\] \\
\\Leftrightarrow & \[<EFBFBD>\] \\
\\Uparrow & \[<EFBFBD>\] \\
\\Downarrow & \[<EFBFBD>\] \\
\\aleph & \[<EFBFBD>\] \\
\\wp & \[<EFBFBD>\] \\
\\Re & \[<EFBFBD>\] \\
\\Im & \[<EFBFBD>\] \\
\\prime & \[<EFBFBD>\] \\
\\emptyset & \[<EFBFBD>\] \\
\\nabla & \[<EFBFBD>\] \\
\\bot & \[<EFBFBD>\] \\
\\angle & \[<EFBFBD>\] \\
\\forall & \[<EFBFBD>\] \\
\\exists & \[<EFBFBD>\] \\
\\lnot & \[<EFBFBD>\] \\
\\neg & \[<EFBFBD>\] \\
\\partial & \[<EFBFBD>\] \\
\\infty & \[<EFBFBD>\] \\
\\prod & \[<EFBFBD>\] \\
\\sum & \[<EFBFBD>\] \\
\\int & \[<EFBFBD>\] \\
\\sqrt & \[<EFBFBD>\] \\
\\lbrace & \[<EFBFBD>\] \\
\\rbrace & \[<EFBFBD>\] \\
\\lfloor & \[<EFBFBD>\] \\
\\rfloor & \[<EFBFBD>\] \\
\\lceil & \[<EFBFBD>\] \\
\\rceil & \[<EFBFBD>\] \\
\\langle & \[<EFBFBD>\] \\
\\rangle & \[<EFBFBD>\] \\
\end{tabular}
\end{document}