From 35268d29183ddf3b28ecc224ee7c8edfa7673fb2 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 9 Aug 2017 16:31:10 +0200 Subject: 2017-08-09 15:43:00 --- .../sources/general/manuals/math/math-tricks.tex | 50 +++++----------------- 1 file changed, 11 insertions(+), 39 deletions(-) (limited to 'doc/context/sources/general/manuals/math/math-tricks.tex') diff --git a/doc/context/sources/general/manuals/math/math-tricks.tex b/doc/context/sources/general/manuals/math/math-tricks.tex index f26ea4fdb..5c0315f8d 100644 --- a/doc/context/sources/general/manuals/math/math-tricks.tex +++ b/doc/context/sources/general/manuals/math/math-tricks.tex @@ -440,45 +440,17 @@ Or visualized: \startsection[title=Combined characters] -We have some magic built with respect to sequences of characters. Currently -it is implemented as a recursive replacement of character pairs but eventually -it might become more advanced. The original repertoire has been extended by -some suggested by Aditya. - -\def\SampleRow#1#2% - {\NC \type{#1} \NC \type {#2} \NC $#2$ \NC \NR} - -\starttabulate[|l|c|c|] - \BC name \BC shortcut \BC rendering \NC \NR - \HL - \SampleRow {\doubleprime} {''} - \SampleRow {\tripleprime} {'''} - \SampleRow {\quadrupleprime} {''''} - \SampleRow {\colonequals} {:=} - \SampleRow {\equalscolon} {=:} - \SampleRow {\le} {<=} - \SampleRow {\ge} {>=} - \SampleRow {\neq} {!=} - \SampleRow {\ll} {<<} - \SampleRow {\gg} {>>} - \SampleRow {\lll} {<<<} - \SampleRow {\ggg} {>>>} - \SampleRow {\equiv} {==} - \SampleRow {\eqequiv} {===} - \SampleRow {\rightarrow} {->} - \SampleRow {\leftarrow} {<-} - \SampleRow {\leftrightarrow} {<->} - \SampleRow {\Rightarrow} {==>} - \SampleRow {\Leftarrow} {<==} - \SampleRow {\Leftrightarrow} {<=>} - \SampleRow {\Longleftarrow} {<===} - \SampleRow {\Longleftrightarrow} {<==>} - \SampleRow {\eqeq} { } - \SampleRow {\eqeqeq} { } - \SampleRow {\Longrightarrow} {===>} - \SampleRow {\doubleverticalbar} {||} - \SampleRow {\tripleverticalbar} {|||} -\stoptabulate +We have some magic built with respect to sequences of characters. They are derived +from information in the character database that ships with \CONTEXT\ and are +implemented as a sort of ligatures. Some are defined in \UNICODE, others are +defined explicitly. + +\usemodule[math-ligatures] + +\start + \switchtobodyfont[small] + \showmathligatures +\stop \stopsection -- cgit v1.2.3