bingo

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

bingo.tex.old (1681B)


      1 \documentclass[tikz]{standalone}
      2 \usepackage{fontspec}
      3 \usepackage{adjustbox}
      4 \setmainfont{Libre Franklin Medium}
      5 \usetikzlibrary{shapes.geometric}
      6 \usetikzlibrary{matrix}
      7 \begin{document}
      8 \tikzstyle{nodestyle} = [draw, line width=0.07cm, minimum size=2cm, text width=2cm]
      9 \begin{tikzpicture}
     10 \matrix (bingo) [matrix, nodes=nodestyle, row sep=-\pgflinewidth, column sep=-\pgflinewidth]
     11 {
     12  %row 1
     13   %\node{text 1}; & \node{text 2}; & \node{multiline text}; & \node{\adjustbox{max totalsize={2cm}{2cm},minipage=2cm}{bla blasdkfjk kljlk lkj lkj lkj lkj lkj lk jlkjlkj bla blabla bla long text overflowing the shape}}; & \node{text5}; \\
     14   \node{\adjustbox{min totalheight=2cm,max totalsize=2cm,minipage=[c][2cm][s]{2cm}}{TEXT1}}; 
     15   & \node{\adjustbox{min totalheight=2cm,max totalsize=2cm,minipage=[c][2cm][s]{2cm}}{TEXT1}}; 
     16   & \node{\adjustbox{min totalheight=2cm,max totalsize=2cm,minipage=[c][2cm][s]{2cm}}{TEXT1}}; 
     17   & \node{\adjustbox{min totalheight=2cm,max totalsize=2cm,minipage=[c][2cm][s]{2cm}}{TEXT1}}; 
     18   & \node{\adjustbox{min totalheight=2cm,max totalsize=2cm,minipage=[c][2cm][s]{2cm}}{TEXT1}}; \\
     19  \node{text 1}; & \node{text 2}; & \node{multiline text}; & \node{multi multi multiline}; & \node{text5}; \\
     20  \node{text 1}; & \node{text 2}; & \node[fill=lightgray]{FREE PLAY}; & \node{multi multi multiline}; & \node{text5}; \\
     21  \node{text 1}; & \node{text 2}; & \node{multiline text}; & \node{multi multi multiline}; & \node{text5}; \\
     22  \node{text 1}; & \node{text 2}; & \node{multiline text}; & \node{multi multi multiline}; & \node{text5}; \\%
     23 };
     24 
     25 \node [above] at (bingo.north) [font=\huge,minimum height=1cm] {TECH B.S. BINGO};
     26 \end{tikzpicture}
     27 \end{document}