Directory macros/generic/random
README.md
random.tex ver 0.2 (Donald Arseneau)
Generating "random" numbers in TeX.
\setrannum {<
counter>} {<
minimum>} {<
maximum>}
\setrandimen {<
dimen-register>} {<
minimum>} {<
maximum>}
This software is contributed to the public domain.
Definitions are in random.tex
. Documentation is in comments of random.tex
and in random-doc.tex
and random-doc.pdf
Download the contents of this package in one zip archive (77.8k).
random – Generating “random” numbers in TeX
Generates pseudo-random integers in the range 1 to 2^{31}. Macros are to provide random integers in a given range, or random dimensions which can be used to provide random `real' numbers, are also available.
Package | random |
Version | 0.2 |
Licenses | Public Domain Software |
Maintainer | Donald Arseneau |
Contained in | TeX Live as random MiKTeX as genmisc |
Topics | Random Calculation |
See also | lcg |