The lcg package generates random numbers (integers) via a linear congruential generator (Schrage’s method). The random numbers are written to a counter. The keyval package is used to set values for the range, a seed, and the name of the counter.
If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)
| Distribution | Package name |
|---|---|
| MiKTeX | lcg |
| TeX Live | lcg |
You can also visit lcg's CTAN directory to browse the source or download the material for installation by hand.
| Documentation on CTAN |
|
|
| Documentation off CTAN | -none known- | |
| Maintainers |
|
|
| Version | 1.2 | |
| License | LaTeX Project Public License | |
| Related packages |
|
|
| Keywords |
|
|
| Characterizations |
You can suggest changes to the keywords and characterizations and the maintainer information.
You can get information about any package.