📦 randintlist v0.20a

randintlist-doc.pdf
randintlist-l3-doc.pdf
randintlist.zip
Télécharger
📄 README — randintlist Afficher ▼
🧪 Demo — randintlist
\documentclass[a5paper]{article}
\usepackage[margin=5mm]{geometry}
\usepackage{xcolor}
\usepackage{randintlist-l3}

\begin{document}

10 numbers, between 1 and 100, without repetition:

\hfill\rdlgenlist[min=1,max=100,nb=10,repeat=false]{\mylist}\textcolor{red}{\mylist}\hfill~

The 5th value is:

\hfill\textcolor{blue}{\rdlgetitem*{\mylist}{5}}\hfill~


10 numbers, between 1 and 100, without multiples of 5:

\hfill\rdlgenlist[min=1,max=100,nb=10,excluded={5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100}]{\mylist}\textcolor{olive}{\mylist}\hfill~

The 9th value is:

\hfill\textcolor{purple}{\rdlgetitem*{\mylist}{9}}\hfill~

\end{document}