summaryrefslogtreecommitdiff
path: root/info/mathtrip/src/magic.tex
blob: 1679f6cd3fb66da4f9838e256b741fb12b7fa36b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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}