Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [random]

The tag has no usage guidance.

0 votes
0 answers
36 views

Error with Latex , using Babel package and Randomizechoices package

I'm using the randomizechoices package to write a test. As shown in the following code. \documentclass[12pt,a4paper]{exam} \usepackage[spanish]{babel} \usepackage{exam-randomizechoices} \renewcommand{\...
Victor Perez's user avatar
7 votes
2 answers
300 views

Random sorting of text items

I would like to produce random texts in which some specific items would be sorted and printed in a random order, varying at each compilation. The intended purpose is to remove any hidden bias in the ...
Denis's user avatar
  • 5,277
2 votes
2 answers
174 views

Itemize a name list randomly several times throught the document

I have a list of names, say: \newcommand{\names}{Fred, Barry, Joe, Jack, Zach} and I just want to display the list in a randomized order a few times through my document. Something like: Barry, Zach,...
Andrew's user avatar
  • 63
4 votes
1 answer
160 views

How to include EPS in LuaLaTeX multiple times and have the postscript code run each time?

Ahoj, I have an .eps file that does some random number calculations in order to look different on each execution. Now I want to include it into a LuaLaTeX document several times, and each time it is ...
Golar Ramblar's user avatar
9 votes
2 answers
984 views

Is there an easier way to generate a multiplication table?

I am trying to find an easier way to generate randomised multiplication tables. I want to keep the formatting exactly as it is- with the table and the lines I have added- etc... Is there a more ...
user292225's user avatar
0 votes
0 answers
75 views

Get randomized lists with optionnal seed

I want to random some items in an exercise and be able to display the corresponding solutions in the same order. With xsim package such lists are in two different places so I thought about a first ...
Piroooh's user avatar
  • 1,207
2 votes
1 answer
712 views

Random shuffle multiple choice questions and options

I have the following enumerate list \begin{enumerate} \item question 1 \begin{enumerate} \item option 1 \item option 2 \item option 3 \item option 4 \end{...
ccleeba36's user avatar
5 votes
1 answer
143 views

Is there a way to randomize a Lindenmayersystem?

I'm trying to draw a classical Koch-Curve using the lindenmayersystem, but everytime a line segment is transformed there should be a 50/50 chance of it to be flipped left or right. The goal is to ...
Stroebel's user avatar
1 vote
1 answer
185 views

Randomly sampling a subset of images without replacement from a larger list of images

I am trying to create a 10x10 matrix of external images, where the placement is a given image is random and the selection of images are randomly sampled from a larger set of images. Specifically, I ...
David's user avatar
  • 55
4 votes
1 answer
203 views

randomly assigning objects to a grid using tikz

I am trying to create a 10x10 grid of circles and squares, in which the placement of objects is assigned at random. For instance, the following code creates a 10x10 grid with 80% circles and 20% ...
David's user avatar
  • 55
1 vote
2 answers
35 views

How to stop Beamer \only overlay regenerating random parameters on parts of frame previously rendered

I have some lcg randomisation in a frame that uses \only. My problem is that the multiple PDF pages that are supposed to make the parts of the frame look like they are slowly appearing next to what ...
Peter Rowlett's user avatar
1 vote
1 answer
88 views

Animate Tikz image with random coordinates

I would like to do a Tikz image animation of growing lines with a certain randomness with regard to their initial rotation angle (and potentially also with a certain randomness in their initial x and ...
LeonC's user avatar
  • 13
1 vote
2 answers
111 views

nested newcommand to create randomized test

Ok, so I have basically learned LaTex by reading some package manuals and finding answers to specific questions on this site. I have been creating randomized versions of written math exams using the ...
LNBowman's user avatar
2 votes
1 answer
103 views

variable defined with a command (for exemple a random value) is not correctly stored in a lua list

I am writing random exercices for all students in a class, and i want to store the solutions to print them all at the end of the document (in final versions, each question will be printed in a ...
mathteacher's user avatar
0 votes
0 answers
98 views

Generating random list

I have to prepare an exam for a large number of students which includes a multiple choice quiz. We do have an e-learning system that allows to manage online quizzes (we used it during the covid ...
Andrea Mori's user avatar

15 30 50 per page
1
2 3 4 5
8