[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo.texi (Inserting Math): Use a real f
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/texinfo.texi (Inserting Math): Use a real formula. State earlier that the argument is TeX. |
Date: |
Tue, 16 Aug 2022 12:26:49 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new f0483fe777 * doc/texinfo.texi (Inserting Math): Use a real formula.
State earlier that the argument is TeX.
f0483fe777 is described below
commit f0483fe7776e2b031b9206056a3c60f131f2fec6
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Aug 16 17:26:26 2022 +0100
* doc/texinfo.texi (Inserting Math): Use a real formula. State
earlier that the argument is TeX.
---
ChangeLog | 5 +++++
doc/texinfo.texi | 15 +++++++--------
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 52f009f9a7..a2e53058d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-16 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo.texi (Inserting Math): Use a real formula. State
+ earlier that the argument is TeX.
+
2022-08-16 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.texi (Info Format Printindex): Reword to avoid
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index e27001154e..df0976ee9a 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -10063,18 +10063,17 @@ next section.
@findex math
@cindex Mathematical expressions, inserting
@cindex Formulas, mathematical
-You can write a short mathematical expression with the @code{@@math}
-command. Write the mathematical expression between braces, like this:
+You can write a mathematical expression, equation or formula using
+the @code{@@math} command. Write the @TeX{} math notation between
+braces, like this:
@example
-@@math@{\sin 2\pi \equiv \cos 3\pi@}
+@@math@{\partial_\alpha \partial^\alpha A^\beta = \mu_0 J^\beta@}
@end example
-@noindent which looks like this:
-@display
-@math{\sin 2\pi \equiv \cos 3\pi}
-@end display
-
+@code{@@math} is formatted inline when used inside a paragraph,
+like @math{\partial_\alpha \partial^\alpha A^\beta = \mu_0 J^\beta} in
+this example.
The @code{@@math} command has no special effect on the Info
output or (by default) the HTML output, merely outputting
the contents verbatim.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo.texi (Inserting Math): Use a real formula. State earlier that the argument is TeX.,
Gavin D. Smith <=