summaryrefslogtreecommitdiff
path: root/info/mathtrip/src/magic.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/mathtrip/src/magic.tex')
-rw-r--r--info/mathtrip/src/magic.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/info/mathtrip/src/magic.tex b/info/mathtrip/src/magic.tex
new file mode 100644
index 0000000000..1679f6cd3f
--- /dev/null
+++ b/info/mathtrip/src/magic.tex
@@ -0,0 +1,26 @@
+%This command provides the magic square in he second column
+%of the third horizontal part at page 10.
+%
+%The command has one parameter
+% The width of the text
+\newcommand\TTenMagic[1]{%
+ \parbox[t]{#1}{%
+ \TTenMagicSquareFontSize
+ $\begin{array}{llllllllll}
+ %Useful to have more space with the upper border
+ \rule{0pt}{2.7ex plus .05ex minus .2ex}%
+ 00 &47 &18 &76 &29 &93 &85 &34 &61 &52 \\
+ 86 &11 &57 &28 &70 &39 &94 &45 &02 &63 \\
+ 95 &80 &22 &67 &38 &71 &49 &56 &13 &04 \\
+ 59 &96 &81 &33 &07 &48 &72 &60 &24 &15 \\
+ 73 &69 &90 &82 &44 &17 &58 &01 &35 &26 \\
+ 68 &74 &09 &91 &83 &55 &27 &12 &46 &30 \\
+ 37 &08 &75 &19 &92 &84 &66 &23 &50 &41 \\
+ 14 &25 &36 &40 &51 &62 &03 &77 &88 &99 \\
+ 21 &32 &43 &54 &65 &06 &10 &89 &97 &78 \\
+ 42 &53 &64 &05 &16 &20 &31 &98 &79 &87 \\
+ \end{array}$%
+ }%
+}
+%This is the title of this part
+\newcommand\TTenMagicTitle{The magic square}