123456789101112131415161718192021222324252627282930313233343536 | '\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.tex 3 2026-08-27 "Tomo man-pages"
.SH NAME
Num.tex \- exact form as TeX
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.tex\ :\ func(n:\ Num\ ->\ Text)
.fi
.SH DESCRIPTION
The exact value as TeX math-mode source.
.SH ARGUMENTS
.TS
allbox;
lb lb lbx
l l l.
Name Type Description
n Num The number to render.
.TE
.SH RETURN
The TeX source.
.SH EXAMPLES
.EX
assert (1./3.).tex() == "\[rs]\[rs]frac{1}{3}"
assert (2.).sqrt()!.tex() == "\[rs]\[rs]sqrt{2}"
.EE
.SH SEE ALSO
.BR Tomo-Num (3)
|