bingo

crappy everyday tech bingo
git clone http://git.permacomputing.net/repos/bingo.git # read-only access
Log | Files | Refs | README

bingo.tex.orig (1430B)


      1 \documentclass[tikz]{standalone}
      2 \usepackage{fontspec}
      3 \usepackage{shapepar}
      4 \setmainfont{Libre Franklin Medium}
      5 \usetikzlibrary{shapes.geometric}
      6 \usetikzlibrary{matrix}
      7 
      8 \newcommand\bingoboxSm[1]{\node[draw, regular polygon, regular polygon sides=4, text width=0cm, inner sep=0mm,  minimum height=6.2cm, line width=0.05cm]{\shapepar{\squareshape} #1\par};}
      9 \newcommand\bingobox[1]{\node[draw, regular polygon, regular polygon sides=4, text width=0cm, inner sep=0mm,  minimum height=6.2cm, font=\large, line width=0.05cm]{\shapepar{\squareshape} #1\par};}
     10 
     11 \begin{document}
     12 \begin{tikzpicture}
     13 
     14 
     15 \matrix (bingo) [matrix, row sep=-\pgflinewidth, column sep=-\pgflinewidth]
     16 {
     17 % row 1
     18   @@TEXT1@@ 
     19   & @@TEXT2@@ 
     20   & @@TEXT3@@ 
     21   & @@TEXT4@@ 
     22   & @@TEXT5@@  \\
     23 
     24 %row 2
     25   @@TEXT6@@ 
     26   & @@TEXT7@@ 
     27   & @@TEXT8@@ 
     28   & @@TEXT9@@ 
     29   & @@TEXT10@@  \\
     30 
     31 % row 3
     32   @@TEXT11@@ 
     33   & @@TEXT2@@ 
     34   & \node[fill=lightgray, align=center, draw, regular polygon, regular polygon sides=4, text width=0cm, inner sep=0mm,  minimum height=6.2cm, font=\Large, line width=0.05cm]{\shapepar{\squareshape}FREE \\ PLAY\par};
     35   & @@TEXT13@@ 
     36   & @@TEXT14@@  \\
     37 
     38 %row 4
     39   @@TEXT15@@ 
     40   & @@TEXT16@@ 
     41   & @@TEXT17@@ 
     42   & @@TEXT18@@ 
     43   & @@TEXT19@@  \\
     44 
     45 %row 5
     46   @@TEXT20@@ 
     47   & @@TEXT21@@ 
     48   & @@TEXT22@@ 
     49   & @@TEXT23@@ 
     50   & @@TEXT24@@  \\
     51 };
     52 
     53 \node [above] at (bingo.north) [font=\huge,minimum height=1cm] {TECH B.S. BINGO};
     54 \end{tikzpicture}
     55 \end{document}