summaryrefslogtreecommitdiff
path: root/tmac/dvi.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-01-08 09:08:34 +0000
committerwlemb <wlemb>2003-01-08 09:08:34 +0000
commit6b24c1eb71d8f75e52e635e63c76464d269e5b25 (patch)
tree769d77f403af2e635cbe797c311956dbaa262697 /tmac/dvi.tmac
parent44788784608da3fcdb24943fbdfe998fd28b55e1 (diff)
downloadgroff-6b24c1eb71d8f75e52e635e63c76464d269e5b25.tar.gz
Similar to \[is], the square root glyph (\[sr]) and the square root
extension glyph (\[radicalex]) are now text symbols. The new mathematical versions are called \[sqrt] and \[sqrtex], respectively. * font/devX*/S: Regenerated. * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'. * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'. * font/devdvi/EX, font/devdvi/S: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'. * font/devlj4/generate/special.map: Add `sqrt'. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `sqrt'. * font/devps/S, font/devps/symbolmap: Regenerated. * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR, SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'. * src/roff/troff/input.cc (init_charset_table): Make `sqrtex' overlap horizontally. * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'. * tmac/dvi.tmac: Add `sr', and `sqrtex'. Fix `radicalex'. * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex' and `sqrtex' are overlapping glyphs.
Diffstat (limited to 'tmac/dvi.tmac')
-rw-r--r--tmac/dvi.tmac4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmac/dvi.tmac b/tmac/dvi.tmac
index 353e5292..4db69be5 100644
--- a/tmac/dvi.tmac
+++ b/tmac/dvi.tmac
@@ -49,7 +49,9 @@
.char \[or] \h'.1m'\Z'\D'l 0 -.675m''\h'.1m'
.char \[ru] \Z'\v'-.02m'\D'R .54m .04m''\h'.5m'
.
-.fchar \[radicalex] \D'R .5m -.04m'\v'.04m'
+.fchar \[sr] \v'-.75m'\[sqrt]\v'.75m'
+.fchar \[sqrtex] \D'R .5m -.04m'\v'.04m'
+.fchar \[radicalex] \v'-.75m'\D'R .5m -.04m'\v'.79m'
.fchar \[co] \
\z\s-2\[ci]\s0\
\h'\w'\s-2\[ci]\s0'u-\w'\s-4C\s0'u/2u'\