From: "Anthony J. Bentley" <anthony@cathet.us>
To: tech@mdocml.bsd.lv
Subject: some unicode for eqn(7)
Date: Tue, 03 Mar 2015 12:49:55 -0700 [thread overview]
Message-ID: <7206.1425412195@CATHET.us> (raw)
Hi,
In eqn, "prime" is equivalent to \(fm, and - is equivalent to \(mi.
Index: eqn.c
===================================================================
RCS file: /cvs/src/usr.bin/mandoc/eqn.c,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 eqn.c
--- eqn.c 28 Jan 2015 21:10:28 -0000 1.20
+++ eqn.c 3 Mar 2015 19:42:20 -0000
@@ -192,6 +192,7 @@ enum eqn_symt {
EQNSYM_equiv,
EQNSYM_lessequal,
EQNSYM_moreequal,
+ EQNSYM_minus,
EQNSYM__MAX
};
@@ -247,7 +248,7 @@ static const struct eqnsym eqnsyms[EQNSY
{ "cdot", "pc" }, /* EQNSYM_cdot */
{ "nothing", "&" }, /* EQNSYM_nothing */
{ "approx", "~~" }, /* EQNSYM_approx */
- { "prime", "aq" }, /* EQNSYM_prime */
+ { "prime", "fm" }, /* EQNSYM_prime */
{ "half", "12" }, /* EQNSYM_half */
{ "partial", "pd" }, /* EQNSYM_partial */
{ "inf", "if" }, /* EQNSYM_inf */
@@ -260,6 +261,7 @@ static const struct eqnsym eqnsyms[EQNSY
{ "==", "==" }, /* EQNSYM_equiv */
{ "<=", "<=" }, /* EQNSYM_lessequal */
{ ">=", ">=" }, /* EQNSYM_moreequal */
+ { "-", "mi" }, /* EQNSYM_minus */
};
static struct eqn_box *eqn_box_alloc(struct eqn_node *, struct eqn_box *);
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
next reply other threads:[~2015-03-03 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 19:49 Anthony J. Bentley [this message]
2015-03-03 21:56 ` Ingo Schwarze
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7206.1425412195@CATHET.us \
--to=anthony@cathet.us \
--cc=tech@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).