aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2005-02-10 18:55:21 +0000
committerJay Belanger2005-02-10 18:55:21 +0000
commit053bc28347bffc8144442f98c6077af6c81aa9bd (patch)
tree26a1c0f33e22af622d69fae2b2c799360bedc64f
parent442914601b56be5662071a5cfe5ef2b680fad138 (diff)
downloademacs-053bc28347bffc8144442f98c6077af6c81aa9bd.tar.gz
emacs-053bc28347bffc8144442f98c6077af6c81aa9bd.zip
Change @LaTeX to La@TeX throughout.
-rw-r--r--man/ChangeLog4
-rw-r--r--man/calc.texi73
2 files changed, 39 insertions, 38 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index b001d992e78..9cfc71539b8 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
12005-02-10 Jay Belanger <belanger@truman.edu>
2
3 * calc.texi: Change @LaTeX to La@TeX throughout.
4
12005-02-09 Jay Belanger <belanger@truman.edu> 52005-02-09 Jay Belanger <belanger@truman.edu>
2 6
3 * calc.texi: Add macro for LaTeX for info output. 7 * calc.texi: Add macro for LaTeX for info output.
diff --git a/man/calc.texi b/man/calc.texi
index 9054be7f284..e29973900eb 100644
--- a/man/calc.texi
+++ b/man/calc.texi
@@ -48,9 +48,6 @@
48@macro cpiover{den} 48@macro cpiover{den}
49@expr{pi/\den\} 49@expr{pi/\den\}
50@end macro 50@end macro
51@macro LaTeX{}
52La@TeX{}
53@end macro
54@end ifnottex 51@end ifnottex
55 52
56 53
@@ -739,7 +736,7 @@ these equations for the variables @expr{x} and @expr{y}.
739Type @kbd{d B} to view the solutions in more readable notation. 736Type @kbd{d B} to view the solutions in more readable notation.
740Type @w{@kbd{d C}} to view them in C language notation, @kbd{d T} 737Type @w{@kbd{d C}} to view them in C language notation, @kbd{d T}
741to view them in the notation for the @TeX{} typesetting system, 738to view them in the notation for the @TeX{} typesetting system,
742and @kbd{d L} to view them in the notation for the @LaTeX{} typesetting 739and @kbd{d L} to view them in the notation for the La@TeX{} typesetting
743system. Type @kbd{d N} to return to normal notation. 740system. Type @kbd{d N} to return to normal notation.
744 741
745@noindent 742@noindent
@@ -1124,7 +1121,7 @@ is
1124Calc has added annotations to the file to help it remember the modes 1121Calc has added annotations to the file to help it remember the modes
1125that were used for this formula. They are formatted like comments 1122that were used for this formula. They are formatted like comments
1126in the @TeX{} typesetting language, just in case you are using @TeX{} or 1123in the @TeX{} typesetting language, just in case you are using @TeX{} or
1127@LaTeX{}. (In this example @TeX{} is not being used, so you might want 1124La@TeX{}. (In this example @TeX{} is not being used, so you might want
1128to move these comments up to the top of the file or otherwise put them 1125to move these comments up to the top of the file or otherwise put them
1129out of the way.) 1126out of the way.)
1130 1127
@@ -5221,7 +5218,7 @@ One more mode that makes reading formulas easier is Big mode.
5221Here things like powers, square roots, and quotients and fractions 5218Here things like powers, square roots, and quotients and fractions
5222are displayed in a two-dimensional pictorial form. Calc has other 5219are displayed in a two-dimensional pictorial form. Calc has other
5223language modes as well, such as C mode, FORTRAN mode, @TeX{} mode 5220language modes as well, such as C mode, FORTRAN mode, @TeX{} mode
5224and @LaTeX{} mode. 5221and La@TeX{} mode.
5225 5222
5226@smallexample 5223@smallexample
5227@group 5224@group
@@ -13925,7 +13922,7 @@ left or right as you prefer.
13925@noindent 13922@noindent
13926The commands in this section change Calc to use a different notation for 13923The commands in this section change Calc to use a different notation for
13927entry and display of formulas, corresponding to the conventions of some 13924entry and display of formulas, corresponding to the conventions of some
13928other common language such as Pascal or @LaTeX{}. Objects displayed on the 13925other common language such as Pascal or La@TeX{}. Objects displayed on the
13929stack or yanked from the Calculator to an editing buffer will be formatted 13926stack or yanked from the Calculator to an editing buffer will be formatted
13930in the current language; objects entered in algebraic entry or yanked from 13927in the current language; objects entered in algebraic entry or yanked from
13931another buffer will be interpreted according to the current language. 13928another buffer will be interpreted according to the current language.
@@ -13950,10 +13947,10 @@ the brackets in @samp{a[1]} and @samp{a[2]}, would not have known that
13950and would have written the formula back with notations (like implicit 13947and would have written the formula back with notations (like implicit
13951multiplication) which would not have been legal for a C program. 13948multiplication) which would not have been legal for a C program.
13952 13949
13953As another example, suppose you are maintaining a C program and a @LaTeX{} 13950As another example, suppose you are maintaining a C program and a La@TeX{}
13954document, each of which needs a copy of the same formula. You can grab the 13951document, each of which needs a copy of the same formula. You can grab the
13955formula from the program in C mode, switch to @LaTeX{} mode, and yank the 13952formula from the program in C mode, switch to La@TeX{} mode, and yank the
13956formula into the document in @LaTeX{} math-mode format. 13953formula into the document in La@TeX{} math-mode format.
13957 13954
13958Language modes are selected by typing the letter @kbd{d} followed by a 13955Language modes are selected by typing the letter @kbd{d} followed by a
13959shifted letter key. 13956shifted letter key.
@@ -14147,7 +14144,7 @@ convert to lower-case on input. With a negative prefix, these modes
14147convert to lower-case for display and input. 14144convert to lower-case for display and input.
14148 14145
14149@node TeX and LaTeX Language Modes, Eqn Language Mode, C FORTRAN Pascal, Language Modes 14146@node TeX and LaTeX Language Modes, Eqn Language Mode, C FORTRAN Pascal, Language Modes
14150@subsection @TeX{} and @LaTeX{} Language Modes 14147@subsection @TeX{} and La@TeX{} Language Modes
14151 14148
14152@noindent 14149@noindent
14153@kindex d T 14150@kindex d T
@@ -14159,38 +14156,38 @@ convert to lower-case for display and input.
14159The @kbd{d T} (@code{calc-tex-language}) command selects the conventions 14156The @kbd{d T} (@code{calc-tex-language}) command selects the conventions
14160of ``math mode'' in Donald Knuth's @TeX{} typesetting language, 14157of ``math mode'' in Donald Knuth's @TeX{} typesetting language,
14161and the @kbd{d L} (@code{calc-latex-language}) command selects the 14158and the @kbd{d L} (@code{calc-latex-language}) command selects the
14162conventions of ``math mode'' in @LaTeX{}, a typesetting language that 14159conventions of ``math mode'' in La@TeX{}, a typesetting language that
14163uses @TeX{} as its formatting engine. Calc's @LaTeX{} language mode can 14160uses @TeX{} as its formatting engine. Calc's La@TeX{} language mode can
14164read any formula that the @TeX{} language mode can, although @LaTeX{} 14161read any formula that the @TeX{} language mode can, although La@TeX{}
14165mode may display it differently. 14162mode may display it differently.
14166 14163
14167Formulas are entered and displayed in the appropriate notation; 14164Formulas are entered and displayed in the appropriate notation;
14168@texline @math{\sin(a/b)} 14165@texline @math{\sin(a/b)}
14169@infoline @expr{sin(a/b)} 14166@infoline @expr{sin(a/b)}
14170will appear as @samp{\sin\left( a \over b \right)} in @TeX{} mode and 14167will appear as @samp{\sin\left( a \over b \right)} in @TeX{} mode and
14171@samp{\sin\left(\frac@{a@}@{b@}\right)} in @LaTeX{} mode. 14168@samp{\sin\left(\frac@{a@}@{b@}\right)} in La@TeX{} mode.
14172Math formulas are often enclosed by @samp{$ $} signs in @TeX{} and 14169Math formulas are often enclosed by @samp{$ $} signs in @TeX{} and
14173@LaTeX{}; these should be omitted when interfacing with Calc. To Calc, 14170La@TeX{}; these should be omitted when interfacing with Calc. To Calc,
14174the @samp{$} sign has the same meaning it always does in algebraic 14171the @samp{$} sign has the same meaning it always does in algebraic
14175formulas (a reference to an existing entry on the stack). 14172formulas (a reference to an existing entry on the stack).
14176 14173
14177Complex numbers are displayed as in @samp{3 + 4i}. Fractions and 14174Complex numbers are displayed as in @samp{3 + 4i}. Fractions and
14178quotients are written using @code{\over} in @TeX{} mode (as in 14175quotients are written using @code{\over} in @TeX{} mode (as in
14179@code{@{a \over b@}}) and @code{\frac} in @LaTeX{} mode (as in 14176@code{@{a \over b@}}) and @code{\frac} in La@TeX{} mode (as in
14180@code{\frac@{a@}@{b@}}); binomial coefficients are written with 14177@code{\frac@{a@}@{b@}}); binomial coefficients are written with
14181@code{\choose} in @TeX{} mode (as in @code{@{a \choose b@}}) and 14178@code{\choose} in @TeX{} mode (as in @code{@{a \choose b@}}) and
14182@code{\binom} in @LaTeX{} mode (as in @code{\binom@{a@}@{b@}}). 14179@code{\binom} in La@TeX{} mode (as in @code{\binom@{a@}@{b@}}).
14183Interval forms are written with @code{\ldots}, and error forms are 14180Interval forms are written with @code{\ldots}, and error forms are
14184written with @code{\pm}. Absolute values are written as in 14181written with @code{\pm}. Absolute values are written as in
14185@samp{|x + 1|}, and the floor and ceiling functions are written with 14182@samp{|x + 1|}, and the floor and ceiling functions are written with
14186@code{\lfloor}, @code{\rfloor}, etc. The words @code{\left} and 14183@code{\lfloor}, @code{\rfloor}, etc. The words @code{\left} and
14187@code{\right} are ignored when reading formulas in @TeX{} and @LaTeX{} 14184@code{\right} are ignored when reading formulas in @TeX{} and La@TeX{}
14188modes. Both @code{inf} and @code{uinf} are written as @code{\infty}; 14185modes. Both @code{inf} and @code{uinf} are written as @code{\infty};
14189when read, @code{\infty} always translates to @code{inf}. 14186when read, @code{\infty} always translates to @code{inf}.
14190 14187
14191Function calls are written the usual way, with the function name followed 14188Function calls are written the usual way, with the function name followed
14192by the arguments in parentheses. However, functions for which @TeX{} 14189by the arguments in parentheses. However, functions for which @TeX{}
14193and @LaTeX{} have special names (like @code{\sin}) will use curly braces 14190and La@TeX{} have special names (like @code{\sin}) will use curly braces
14194instead of parentheses for very simple arguments. During input, curly 14191instead of parentheses for very simple arguments. During input, curly
14195braces and parentheses work equally well for grouping, but when the 14192braces and parentheses work equally well for grouping, but when the
14196document is formatted the curly braces will be invisible. Thus the 14193document is formatted the curly braces will be invisible. Thus the
@@ -14201,14 +14198,14 @@ but
14201@texline @math{\sin(2 + x)}. 14198@texline @math{\sin(2 + x)}.
14202@infoline @expr{sin(2 + x)}. 14199@infoline @expr{sin(2 + x)}.
14203 14200
14204Function and variable names not treated specially by @TeX{} and @LaTeX{} 14201Function and variable names not treated specially by @TeX{} and La@TeX{}
14205are simply written out as-is, which will cause them to come out in 14202are simply written out as-is, which will cause them to come out in
14206italic letters in the printed document. If you invoke @kbd{d T} or 14203italic letters in the printed document. If you invoke @kbd{d T} or
14207@kbd{d L} with a positive numeric prefix argument, names of more than 14204@kbd{d L} with a positive numeric prefix argument, names of more than
14208one character will instead be enclosed in a protective commands that 14205one character will instead be enclosed in a protective commands that
14209will prevent them from being typeset in the math italics; they will be 14206will prevent them from being typeset in the math italics; they will be
14210written @samp{\hbox@{@var{name}@}} in @TeX{} mode and 14207written @samp{\hbox@{@var{name}@}} in @TeX{} mode and
14211@samp{\text@{@var{name}@}} in @LaTeX{} mode. The 14208@samp{\text@{@var{name}@}} in La@TeX{} mode. The
14212@samp{\hbox@{ @}} and @samp{\text@{ @}} notations are ignored during 14209@samp{\hbox@{ @}} and @samp{\text@{ @}} notations are ignored during
14213reading. If you use a negative prefix argument, such function names are 14210reading. If you use a negative prefix argument, such function names are
14214written @samp{\@var{name}}, and function names that begin with @code{\} during 14211written @samp{\@var{name}}, and function names that begin with @code{\} during
@@ -14219,7 +14216,7 @@ any @TeX{} mode.)
14219 14216
14220During reading, text of the form @samp{\matrix@{ ...@: @}} is replaced 14217During reading, text of the form @samp{\matrix@{ ...@: @}} is replaced
14221by @samp{[ ...@: ]}. The same also applies to @code{\pmatrix} and 14218by @samp{[ ...@: ]}. The same also applies to @code{\pmatrix} and
14222@code{\bmatrix}. In @LaTeX{} mode this also applies to 14219@code{\bmatrix}. In La@TeX{} mode this also applies to
14223@samp{\begin@{matrix@} ... \end@{matrix@}}, 14220@samp{\begin@{matrix@} ... \end@{matrix@}},
14224@samp{\begin@{bmatrix@} ... \end@{bmatrix@}}, 14221@samp{\begin@{bmatrix@} ... \end@{bmatrix@}},
14225@samp{\begin@{pmatrix@} ... \end@{pmatrix@}}, as well as 14222@samp{\begin@{pmatrix@} ... \end@{pmatrix@}}, as well as
@@ -14229,7 +14226,7 @@ and the symbols @samp{\cr} and @samp{\\} are interpreted as semicolons.
14229During output, matrices are displayed in @samp{\matrix@{ a & b \\ c & d@}} 14226During output, matrices are displayed in @samp{\matrix@{ a & b \\ c & d@}}
14230format in @TeX{} mode and in 14227format in @TeX{} mode and in
14231@samp{\begin@{pmatrix@} a & b \\ c & d \end@{pmatrix@}} format in 14228@samp{\begin@{pmatrix@} a & b \\ c & d \end@{pmatrix@}} format in
14232@LaTeX{} mode; you may need to edit this afterwards to change to your 14229La@TeX{} mode; you may need to edit this afterwards to change to your
14233preferred matrix form. If you invoke @kbd{d T} or @kbd{d L} with an 14230preferred matrix form. If you invoke @kbd{d T} or @kbd{d L} with an
14234argument of 2 or -2, then matrices will be displayed in two-dimensional 14231argument of 2 or -2, then matrices will be displayed in two-dimensional
14235form, such as 14232form, such as
@@ -14253,7 +14250,7 @@ c & d
14253@end example 14250@end example
14254 14251
14255@noindent 14252@noindent
14256While this wouldn't bother Calc, it is incorrect @LaTeX{}. 14253While this wouldn't bother Calc, it is incorrect La@TeX{}.
14257(Similarly for @TeX{}.) 14254(Similarly for @TeX{}.)
14258 14255
14259Accents like @code{\tilde} and @code{\bar} translate into function 14256Accents like @code{\tilde} and @code{\bar} translate into function
@@ -14261,7 +14258,7 @@ calls internally (@samp{tilde(x)}, @samp{bar(x)}). The @code{\underline}
14261sequence is treated as an accent. The @code{\vec} accent corresponds 14258sequence is treated as an accent. The @code{\vec} accent corresponds
14262to the function name @code{Vec}, because @code{vec} is the name of 14259to the function name @code{Vec}, because @code{vec} is the name of
14263a built-in Calc function. The following table shows the accents 14260a built-in Calc function. The following table shows the accents
14264in Calc, @TeX{}, @LaTeX{} and @dfn{eqn} (described in the next section): 14261in Calc, @TeX{}, La@TeX{} and @dfn{eqn} (described in the next section):
14265 14262
14266@iftex 14263@iftex
14267@begingroup 14264@begingroup
@@ -14436,7 +14433,7 @@ reading is:
14436@end example 14433@end example
14437 14434
14438Note that, because these symbols are ignored, reading a @TeX{} or 14435Note that, because these symbols are ignored, reading a @TeX{} or
14439@LaTeX{} formula into Calc and writing it back out may lose spacing and 14436La@TeX{} formula into Calc and writing it back out may lose spacing and
14440font information. 14437font information.
14441 14438
14442Also, the ``discretionary multiplication sign'' @samp{\*} is read 14439Also, the ``discretionary multiplication sign'' @samp{\*} is read
@@ -14607,7 +14604,7 @@ treated the same as a space in @dfn{eqn} mode, as is the @samp{~}
14607symbol (these are used to introduce spaces of various widths into 14604symbol (these are used to introduce spaces of various widths into
14608the typeset output of @dfn{eqn}). 14605the typeset output of @dfn{eqn}).
14609 14606
14610As in @LaTeX{} mode, Calc's formatter omits parentheses around the 14607As in La@TeX{} mode, Calc's formatter omits parentheses around the
14611arguments of functions like @code{ln} and @code{sin} if they are 14608arguments of functions like @code{ln} and @code{sin} if they are
14612``simple-looking''; in this case Calc surrounds the argument with 14609``simple-looking''; in this case Calc surrounds the argument with
14613braces, separated by a @samp{~} from the function name: @samp{sin~@{x@}}. 14610braces, separated by a @samp{~} from the function name: @samp{sin~@{x@}}.
@@ -15939,7 +15936,7 @@ FORTRAN language mode (@kbd{d F}).
15939@TeX{} language mode (@kbd{d T}; @pxref{TeX and LaTeX Language Modes}). 15936@TeX{} language mode (@kbd{d T}; @pxref{TeX and LaTeX Language Modes}).
15940 15937
15941@item LaTeX 15938@item LaTeX
15942@LaTeX{} language mode (@kbd{d L}; @pxref{TeX and LaTeX Language Modes}). 15939La@TeX{} language mode (@kbd{d L}; @pxref{TeX and LaTeX Language Modes}).
15943 15940
15944@item Eqn 15941@item Eqn
15945@dfn{Eqn} language mode (@kbd{d E}; @pxref{Eqn Language Mode}). 15942@dfn{Eqn} language mode (@kbd{d E}; @pxref{Eqn Language Mode}).
@@ -28353,7 +28350,7 @@ since the evaluation step will also evaluate @code{pi}.
28353@cindex @samp{=>} operator 28350@cindex @samp{=>} operator
28354The special algebraic symbol @samp{=>} is known as the @dfn{evaluates-to 28351The special algebraic symbol @samp{=>} is known as the @dfn{evaluates-to
28355operator}. (It will show up as an @code{evalto} function call in 28352operator}. (It will show up as an @code{evalto} function call in
28356other language modes like Pascal and @LaTeX{}.) This is a binary 28353other language modes like Pascal and La@TeX{}.) This is a binary
28357operator, that is, it has a lefthand and a righthand argument, 28354operator, that is, it has a lefthand and a righthand argument,
28358although it can be entered with the righthand argument omitted. 28355although it can be entered with the righthand argument omitted.
28359 28356
@@ -30008,16 +30005,16 @@ you haven't done anything with this formula yet.
30008When Embedded mode ``activates'' a formula, i.e., when it examines 30005When Embedded mode ``activates'' a formula, i.e., when it examines
30009the formula for the first time since the buffer was created or 30006the formula for the first time since the buffer was created or
30010loaded, Calc tries to sense the language in which the formula was 30007loaded, Calc tries to sense the language in which the formula was
30011written. If the formula contains any @LaTeX{}-like @samp{\} sequences, 30008written. If the formula contains any La@TeX{}-like @samp{\} sequences,
30012it is parsed (i.e., read) in @LaTeX{} mode. If the formula appears to 30009it is parsed (i.e., read) in La@TeX{} mode. If the formula appears to
30013be written in multi-line Big mode, it is parsed in Big mode. Otherwise, 30010be written in multi-line Big mode, it is parsed in Big mode. Otherwise,
30014it is parsed according to the current language mode. 30011it is parsed according to the current language mode.
30015 30012
30016Note that Calc does not change the current language mode according 30013Note that Calc does not change the current language mode according
30017to what it finds. Even though it can read a @LaTeX{} formula when 30014to what it finds. Even though it can read a La@TeX{} formula when
30018not in @LaTeX{} mode, it will immediately rewrite this formula using 30015not in La@TeX{} mode, it will immediately rewrite this formula using
30019whatever language mode is in effect. You must then type @kbd{d L} 30016whatever language mode is in effect. You must then type @kbd{d L}
30020to switch Calc permanently into @LaTeX{} mode if that is what you 30017to switch Calc permanently into La@TeX{} mode if that is what you
30021desire. 30018desire.
30022 30019
30023@tex 30020@tex
@@ -30038,8 +30035,8 @@ version.
30038 30035
30039Plain formulas are preceded and followed by @samp{%%%} signs 30036Plain formulas are preceded and followed by @samp{%%%} signs
30040by default. This notation has the advantage that the @samp{%} 30037by default. This notation has the advantage that the @samp{%}
30041character begins a comment in @TeX{} and @LaTeX{}, so if your formula is 30038character begins a comment in @TeX{} and La@TeX{}, so if your formula is
30042embedded in a @TeX{} or @LaTeX{} document its plain version will be 30039embedded in a @TeX{} or La@TeX{} document its plain version will be
30043invisible in the final printed copy. @xref{Customizing 30040invisible in the final printed copy. @xref{Customizing
30044Embedded Mode}, to see how to change the ``plain'' formula 30041Embedded Mode}, to see how to change the ``plain'' formula
30045delimiters, say to something that @dfn{eqn} or some other 30042delimiters, say to something that @dfn{eqn} or some other
@@ -30329,7 +30326,7 @@ a few lines that look like this:
30329@noindent 30326@noindent
30330where the leading and trailing @samp{---} can be replaced by 30327where the leading and trailing @samp{---} can be replaced by
30331any suitable strings (which must be the same on all three lines) 30328any suitable strings (which must be the same on all three lines)
30332or omitted altogether; in a @TeX{} or @LaTeX{} file, @samp{%} would be a good 30329or omitted altogether; in a @TeX{} or La@TeX{} file, @samp{%} would be a good
30333leading string and no trailing string would be necessary. In a 30330leading string and no trailing string would be necessary. In a
30334C program, @samp{/*} and @samp{*/} would be good leading and 30331C program, @samp{/*} and @samp{*/} would be good leading and
30335trailing strings. 30332trailing strings.