[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 17/50: [docs]: Use more idiomatic inline math.
From: |
G. Branden Robinson |
Subject: |
[groff] 17/50: [docs]: Use more idiomatic inline math. |
Date: |
Sat, 21 May 2022 12:17:25 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 34df0b8799c6d5f6aa067bf57cacde4337662593
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue May 17 18:14:30 2022 -0500
[docs]: Use more idiomatic inline math.
We're not trying to illustrate *roff syntax here, but assist people who
remember elementary algebra.
---
doc/groff.texi | 2 +-
man/groff.7.man | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index 56e638f6..e4b5972f 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -5819,7 +5819,7 @@ The sign of the modulo of operands of mixed signs is
determined by the
sign of the first. Division and modulo operators satisfy the following
property:@: given a dividend@tie{}@var{a} and a divisor@tie{}@var{b}, a
quotient@tie{}@var{q} formed by @samp{(a / b)} and a
-remainder@tie{}@var{r} by @samp{(a % b)}, then @samp{q * b + r = a}.
+remainder@tie{}@var{r} by @samp{(a % b)}, then @math{qb + r = a}.
@cindex scaling operator
@cindex operator, scaling
diff --git a/man/groff.7.man b/man/groff.7.man
index 0b40a1b6..dcfcfdbb 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -893,7 +893,7 @@ and a
by
.RB \[lq] "(a % b)" \[rq],
then
-.IR q \~*\~ b \~+\~ r \~=\~ a .
+.IR qb \~+\~ r \~=\~ a .
.
.
.P
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 17/50: [docs]: Use more idiomatic inline math.,
G. Branden Robinson <=