Mercurial > emacs
comparison doc/misc/calc.texi @ 111633:4e76c4e4f20f
calc.texi (TeX and LaTeX Language Modes, Predefined Units):
calc-units.el (math-build-units-table-buffer):
README: Mention that the TeX specific units won't use the `tex' prefix
in TeX mode.
calc-lang.el (math-variable-table): Don't use the `tex' prefix for
units in TeX mode.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Thu, 18 Nov 2010 19:14:36 -0600 |
parents | 5d7d30110595 |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
111632:e06fc3baed8c | 111633:4e76c4e4f20f |
---|---|
14119 @texline @math{\sin{2 x}} | 14119 @texline @math{\sin{2 x}} |
14120 @infoline @expr{sin 2x} | 14120 @infoline @expr{sin 2x} |
14121 but | 14121 but |
14122 @texline @math{\sin(2 + x)}. | 14122 @texline @math{\sin(2 + x)}. |
14123 @infoline @expr{sin(2 + x)}. | 14123 @infoline @expr{sin(2 + x)}. |
14124 | |
14125 The @TeX{} specific unit names (@pxref{Predefined Units}) will not use | |
14126 the @samp{tex} prefix; the unit name for a @TeX{} point will be | |
14127 @samp{pt} instead of @samp{texpt}, for example. | |
14124 | 14128 |
14125 Function and variable names not treated specially by @TeX{} and La@TeX{} | 14129 Function and variable names not treated specially by @TeX{} and La@TeX{} |
14126 are simply written out as-is, which will cause them to come out in | 14130 are simply written out as-is, which will cause them to come out in |
14127 italic letters in the printed document. If you invoke @kbd{d T} or | 14131 italic letters in the printed document. If you invoke @kbd{d T} or |
14128 @kbd{d L} with a positive numeric prefix argument, names of more than | 14132 @kbd{d L} with a positive numeric prefix argument, names of more than |
27988 @code{texbp} (a ``big point'', equal to a standard point which is larger | 27992 @code{texbp} (a ``big point'', equal to a standard point which is larger |
27989 than the point used by @TeX{}), @code{texdd} (a Didot point), | 27993 than the point used by @TeX{}), @code{texdd} (a Didot point), |
27990 @code{texcc} (a Cicero) and @code{texsp} (a scaled @TeX{} point, | 27994 @code{texcc} (a Cicero) and @code{texsp} (a scaled @TeX{} point, |
27991 all dimensions representable in @TeX{} are multiples of this value). | 27995 all dimensions representable in @TeX{} are multiples of this value). |
27992 | 27996 |
27997 When Calc is using the @TeX{} or La@TeX{} language mode (@pxref{TeX | |
27998 and LaTeX Language Modes}), the @TeX{} specific unit names will not | |
27999 use the @samp{tex} prefix; the unit name for a @TeX{} point will be | |
28000 @samp{pt} instead of @samp{texpt}, for example. To avoid conflicts, | |
28001 the unit names for pint and parsec will simply be @samp{pint} and | |
28002 @samp{parsec} instead of @samp{pt} and @samp{pc}. | |
28003 | |
28004 | |
27993 The unit @code{e} stands for the elementary (electron) unit of charge; | 28005 The unit @code{e} stands for the elementary (electron) unit of charge; |
27994 because algebra command could mistake this for the special constant | 28006 because algebra command could mistake this for the special constant |
27995 @expr{e}, Calc provides the alternate unit name @code{ech} which is | 28007 @expr{e}, Calc provides the alternate unit name @code{ech} which is |
27996 preferable to @code{e}. | 28008 preferable to @code{e}. |
27997 | 28009 |