From: Hans Hagen <pragma@wxs.nl>
Subject: math punctuation
Date: Wed, 05 Sep 2001 18:09:23 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20010905180334.024e1f18@server-1> (raw)
Hi,
Since math punctuation was on my todo list anyway, i added it to the core.
Instead of the hard codes stuff, i made them proper math symbols.
By default we have now defined:
\startmathcollection[default]
\definemathsymbol [mathperiod] [ord] [mi] ["3A]
\definemathsymbol [textperiod] [punct] [mi] ["3A]
\definemathsymbol [mathcomma] [ord] [mi] ["3B]
\definemathsymbol [textcomma] [punct] [mi] ["3B]
\stopmathcollection
and:
\definemathpunctuation . mathperiod textperiod
\definemathpunctuation , mathcomma textcomma
which means that
\enablemathpunctuation % can go into cont-sys.tex if needed
$(1,2) (1, 2) (1{,}2) \hbox {foo, bar}$
give the desired results.
This will be available in the next beta.
I think that adding ; and : also makes sense, but i first want to know what
the french requirements are,
PS. For the real hackers among us: one can swap comma's and periods in math
by saying
\definemathpunctuation . mathcomma textperiod
\definemathpunctuation , mathperiod textcomma
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
next reply other threads:[~2001-09-05 16:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-05 16:09 Hans Hagen [this message]
2001-09-05 20:52 Eckhart Guthöhrlein
2001-09-06 6:50 ` Hans Hagen
2001-09-06 7:54 ` Taco Hoekwater
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=5.1.0.14.1.20010905180334.024e1f18@server-1 \
--to=pragma@wxs.nl \
/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).