diff options
author | Norbert Preining <norbert@preining.info> | 2022-10-02 03:04:14 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-10-02 03:04:14 +0000 |
commit | 097f244236b682cc77c6ecf25be4150091d8daf9 (patch) | |
tree | 26998e72d2b56a87033d9fb72923258fc93ebe53 /info/mathtrip/src/first_prime.tex | |
parent | 4043e29dc8ac56047ac45f872a2ea1f3031b6b05 (diff) |
CTAN sync 202210020304
Diffstat (limited to 'info/mathtrip/src/first_prime.tex')
-rw-r--r-- | info/mathtrip/src/first_prime.tex | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/info/mathtrip/src/first_prime.tex b/info/mathtrip/src/first_prime.tex new file mode 100644 index 0000000000..b1abaf1d25 --- /dev/null +++ b/info/mathtrip/src/first_prime.tex @@ -0,0 +1,42 @@ +%This command provides the first 32 prime numbers on the page +%3 +%The command has one parameter: +% 1) The size of the text +\newcommand\TThreeFirstPrimes[1]{% + \def\LineOfNumbers##1{\rule{0pt}{\TThreeInterlineNumbers}\centerline{$##1$}} + \parbox[t]{#1}{% + \TThreeNumbersFontSize + \LineOfNumbers{2} + \LineOfNumbers{3} + \LineOfNumbers{5} + \LineOfNumbers{7} + \LineOfNumbers{11} + \LineOfNumbers{13} + \LineOfNumbers{17} + \LineOfNumbers{19} + \LineOfNumbers{23} + \LineOfNumbers{29} + \LineOfNumbers{31} + \LineOfNumbers{37} + \LineOfNumbers{41} + \LineOfNumbers{43} + \LineOfNumbers{47} + \LineOfNumbers{53} + \LineOfNumbers{59} + \LineOfNumbers{61} + \LineOfNumbers{67} + \LineOfNumbers{71} + \LineOfNumbers{73} + \LineOfNumbers{79} + \LineOfNumbers{83} + \LineOfNumbers{89} + \LineOfNumbers{97} + \LineOfNumbers{101} + \LineOfNumbers{103} + \LineOfNumbers{107} + \LineOfNumbers{109} + \LineOfNumbers{113} + \LineOfNumbers{127} + \LineOfNumbers{131} + }% +} |