Check out my first novel, midnight's simulacra!

Unicode Math: Difference between revisions

From dankwiki
(Created page with "Unicode admits a plaintext encoding of mathematics approaching that of MathML or LaTeX. This encoding, [https://unicodemath.org/ UnicodeMath], is Unicode [https://www.unicode.org/notes/tn28/ Technical Note 28]. This ought not be confused with the CTAN [https://ctan.org/pkg/unicode-math?lang=en unicode-math] package. As of 2024-01, the current revision is 3.2, last updated 2023-04-13.")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


As of 2024-01, the current revision is 3.2, last updated 2023-04-13.
As of 2024-01, the current revision is 3.2, last updated 2023-04-13.
It is intended that word processors and other tools render Unicode Math in a "builtup" format (this requires symbols with different baselines, stretched grouping operators, etc.). It ought be possible to roundtrip from Unicode Math to builtup format and back to Unicode Math without loss of meaningful content.
==Delimiters==
Known as fences in MathML, brackets (<tt>[]</tt>) braces (<tt>{}</tt>) and parens (<tt>()</tt>) are delimiters. In builtup display, they ought be at least as large as their contents. Pairs of delimiters, even when nested, needn't match up--any closing delimiter works with any opening delimiter. A closing delimiter may have a subscript and/or exponent.
===Math zones===
Regions/zones of Unicode Math can be set off with quilled brackets (<tt>⁅⁆</tt>).
A "display region" fills a paragraph in the source text; the region is otherwise considered an "inline region", and ought be rendered more compactly. Adjacent math zones are automatically merged.
Display regions are roughly equivalent to LaTeX's <tt>$$…$$</tt> and <tt>\[…\]</tt>. Inline regions correspond to LaTeX's <tt>$…$</tt> and <tt>\(…\)</tt>.

Latest revision as of 11:19, 13 January 2024

Unicode admits a plaintext encoding of mathematics approaching that of MathML or LaTeX. This encoding, UnicodeMath, is Unicode Technical Note 28. This ought not be confused with the CTAN unicode-math package.

As of 2024-01, the current revision is 3.2, last updated 2023-04-13.

It is intended that word processors and other tools render Unicode Math in a "builtup" format (this requires symbols with different baselines, stretched grouping operators, etc.). It ought be possible to roundtrip from Unicode Math to builtup format and back to Unicode Math without loss of meaningful content.

Delimiters

Known as fences in MathML, brackets ([]) braces ({}) and parens (()) are delimiters. In builtup display, they ought be at least as large as their contents. Pairs of delimiters, even when nested, needn't match up--any closing delimiter works with any opening delimiter. A closing delimiter may have a subscript and/or exponent.

Math zones

Regions/zones of Unicode Math can be set off with quilled brackets (⁅⁆). A "display region" fills a paragraph in the source text; the region is otherwise considered an "inline region", and ought be rendered more compactly. Adjacent math zones are automatically merged.

Display regions are roughly equivalent to LaTeX's $$…$$ and \[…\]. Inline regions correspond to LaTeX's $…$ and \(…\).