The tag has no wiki summary.

learn more… | top users | synonyms

10
votes
4answers
743 views

How to randomly shuffle a sliced image?

I have no idea to shuffle the following grids of a sliced image. How to do this in (La)TeX or PostScript level? \documentclass[pstricks,border=12pt]{standalone} \usepackage{multido} ...
4
votes
1answer
154 views

Random scale of square makes a rectangle

Why does this code generates a rectangle, not a square? \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[scale=rnd] (0,0) rectangle (1,1); ...
16
votes
2answers
729 views

Filling white space in title page with random numbers or a text

Is it possible to fill all white space in this template with numbers or a text? %---------------------------------------------------------------------------------------- % PACKAGES AND OTHER ...
7
votes
2answers
856 views

Automatically generated BINGO cards

I am trying to automatically generate a series of BINGO cards. So, I need a 5 x 5 table with square cells that allow text wrapping. I also want to randomly assign a word to each cell from a "bank" ...
4
votes
2answers
257 views

Banded matrix with random entries

What is the optimal way to get banded matrices with random entries in LaTeX? By random, I mean the following: It should give me different entries after every compilation.
10
votes
1answer
220 views

Table-aligned, randomized, repeatingly smaller icons for eyesight-chart

My daughter needs to train her eyesight in accordance to the LEA eyesight chart tests. I have manually created a new chart for her, but it really takes a long time randomzing the four icons and ...
6
votes
1answer
649 views

Generating a worksheet

My objective is to be able to generate worksheets in categories like: Laws of Indices Simultaneous Linear equations and Quadratic equations When I say generate is to generate for example 20 ...
7
votes
2answers
2k views

Defining variables in TikZ

I'm trying to define random variables - for example to draw some random points of the form (r,r) when r is a random number. I tried \def\myrandomnumber{rnd}, but that seems to give me a new random ...
4
votes
1answer
537 views

Creating random problems by using rand option

I would like to generate random questions based on a random integer input. I have tried he code from a site online and tweaked it so that it generates more than one random problem but evidently it ...
16
votes
2answers
2k views

Generate random numbers with a specific font

My objective is to create a table or some form of environment as shown in the figure below. The numbers should be randomly generated every time you compile and have the font shown below. Is ...
5
votes
1answer
1k views

Naming coordinates in a foreach loop

I have the following problem: I am using beamer together with tikz, and I want to use some random points in a drawing which is shown over a couple of slides. If I use the normal random method, the ...
9
votes
2answers
459 views

randomize the order of text lines in a .tex file

I need to create an environment (let's call it randomizer) that randomly changes the order of its lines, which may contain any text or latex commands (assume without verifying that they don't break ...
7
votes
1answer
660 views

Storing the result of a random number in tikzpicture

I am drawing a surface composed of rigid "molecules" composed of three spheres each. I want to add some randomness to the surface. I have created this code: \begin{tikzpicture} \def\nuPi{3.1459265} ...
6
votes
3answers
298 views

Random form letter text

I want to randomize some of the text contained within some letters. For e.g.: \random{Dear \name,}{Hello \name,}{Greetings \name,}{Hi \name,}{To \name,} \random{You are invited to}{You are welcome ...
41
votes
2answers
2k views

The effect of the anonymous letter

I'm trying to create an effect as if the text is made up of letters cut from magazines and newspapers and even the same words had different style. It is necessary that each letter in the word had a ...
10
votes
7answers
3k views

How to create a random math problem in LaTeX?

I want to create a math problem-solution sheet. The coefficients a, b, c must be assigned on the fly at random so the generated pdf will show a numeric quadratic equation rather than a symbolic ...
7
votes
1answer
884 views

Conditional using non-integer numbers

I am trying to generate fractals using affine transformations. I need to generate a random number in the interval (0,1), and depending on the value of this random number choose a function to ...
3
votes
2answers
724 views

How to convert number to length?

I'm trying to generate a "word cloud" by using \mboxes with random spaces around words. In the code below I've removed stuff that change the font size, and I've replaced \mboxes by \frameboxes for ...