summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-tal.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-11-01 12:20:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-11-01 12:20:00 +0100
commit9cb5e3dcce51a3c07bd482b7c0575496434017e1 (patch)
tree6ef2b2e0d06f73a2895d412b456bb9ad0a9e0a96 /tex/context/base/typo-tal.mkiv
parent89d5acc7605729685c60598cf42e4d209cc291ee (diff)
downloadcontext-9cb5e3dcce51a3c07bd482b7c0575496434017e1.tar.gz
beta 2013.11.01 12:20
Diffstat (limited to 'tex/context/base/typo-tal.mkiv')
-rw-r--r--tex/context/base/typo-tal.mkiv22
1 files changed, 22 insertions, 0 deletions
diff --git a/tex/context/base/typo-tal.mkiv b/tex/context/base/typo-tal.mkiv
index fb3955aec..85643a5f9 100644
--- a/tex/context/base/typo-tal.mkiv
+++ b/tex/context/base/typo-tal.mkiv
@@ -111,6 +111,28 @@
%D We need fonts to provide tabular digits that is, the digits need to have the same
%D width.
+%D
+%D \startbuffer
+%D \startbuffer[demo]
+%D \switchtobodyfont[pagella]
+%D \setupTABLE[column][1][alignmentcharacter=.,aligncharacter=yes]
+%D \bTABLE
+%D \bTR \bTD 11.111 \eTD \bTD 11.111 \eTD \eTR
+%D \bTR \bTD 2.2 \eTD \bTD 2.2 \eTD \eTR
+%D \bTR \bTD 444.444 \eTD \bTD 444.444 \eTD \eTR
+%D \eTABLE
+%D \stopbuffer
+%D
+%D \start inlinenumbers: \crlf \addfeature[inlinenumbers] \getbuffer \stop
+%D \start tabularnumbers: \crlf \addfeature[tabularnumbers] \getbuffer \stop
+%D \start oldstylenumbers:\crlf \addfeature[oldstylenumbers] \getbuffer \stop
+%D \stopbuffer
+%D
+%D \enabledirectives[typesetters.characteralign.autofont]
+%D \typebuffer \blank \getbuffer \blank
+%D \disabledirectives[typesetters.characteralign.autofont]
+%D \typebuffer \blank \getbuffer \blank
+%D \enabledirectives[typesetters.characteralign.autofont]
\definefontfeature
[system:tabnum]