Distribució

Autor

Enric Cosme Llópez

Publicat

June 10, 2019

DA.tex
\documentclass[12pt, answers]{exam}
\usepackage[margin=3cm]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage{epigraph}
\usepackage[table]{xcolor}
\usepackage{colortbl}
\usepackage{array,amsmath}
\usepackage{tikz}
\usetikzlibrary{matrix,fit}
\usepackage{multicol}

\pagestyle{headandfoot}
\firstpageheadrule
\runningheadrule
\firstpageheader{{\sc{\bf Distribuci\'o Aules  \qquad} }}{}
{{\sc{\bf }}}
\runningheader{{\sc{\bf Distribuci\'o Aules \qquad}}}{}
{{\sc{\bf }}}
\firstpagefooter{}{\thepage}{}
\runningfooter{}{\thepage}{}

\begin{document}
\section*{Aula 0.1.  \hfill 32}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-6} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,3}
\foreach \y in {0,...,-6} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \x in {5,...,8}
\foreach \y in {0,...,-6} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \y in {-8,...,-17} 
{\pgfmathtruncatemacro{\label}{-\y}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,3}
\foreach \y in {-8,...,-17} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \x in {5,...,8}
\foreach \y in {-8,...,-17} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (3,0)    {1};
\node [] () at (8,0)    {2};
\node [] () at (0,-1)   {3};
\node [] () at (5,-1)   {4};
\node [] () at (3,-2)   {5};
\node [] () at (8,-2)   {6};
\node [] () at (0,-3)   {7};
\node [] () at (5,-3)   {8};
\node [] () at (3,-4)   {9};
\node [] () at (8,-4)   {10};
\node [] () at (0,-5)   {11};
\node [] () at (5,-5)   {12};
\node [] () at (3,-6)   {13};
\node [] () at (8,-6)   {14};
\node [] () at (0,-8)   {15};
\node [] () at (5,-8)   {16};

\node [] () at (0,-10)  {17};
\node [] () at (5,-10)  {18};
\node [] () at (3,-11)  {19};
\node [] () at (8,-11)  {20};
\node [] () at (0,-12)      {21};
\node [] () at (5,-12)      {22};
\node [] () at (3,-13)      {23};
\node [] () at (8,-13)      {24};
\node [] () at (0,-14)  {25};
\node [] () at (5,-14)  {26};
\node [] () at (3,-15)  {27};
\node [] () at (8,-15)  {28};
\node [] () at (0,-16)  {29};
\node [] () at (5,-16)  {30};
\node [] () at (3,-17)  {31};
\node [] () at (8,-17)  {32};
\end{tikzpicture}
\end{center}

\section*{Aula 0.2.  \hfill  21} 

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-9} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-2,\y) {F\label};} 

\foreach \x in {0,...,3}
\foreach \y in {0,...,-4} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \x in {5,...,8}
\foreach \y in {0,...,-4} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \x in {0,...,8}
{\node [taula]  () at (\x,-5) {};} 

\foreach \x in {0,...,9}
\foreach \y in {-6,...,-8}
{\node [taula]  () at (\x-.5,\y) {};} 

\foreach \x in {0,...,8}
{\node [taula]  () at (\x-.5,-9) {};} 

\node [] () at (3,0)    {1};
\node [] () at (8,0)    {2};
\node [] () at (0,-1)   {3};
\node [] () at (5,-1)   {4};
\node [] () at (3,-2)   {5};
\node [] () at (8,-2)   {6};
\node [] () at (0,-3)   {7};
\node [] () at (5,-3)   {8};
\node [] () at (3,-4)   {9};
\node [] () at (8,-4)   {10};
\node [] () at (0,-5)   {11};
\node [] () at (5,-5)   {12};
\node [] () at (1.5,-6)     {13};
\node [] () at (6.5,-6)         {14};
\node [] () at (-0.5,-7)    {15};
\node [] () at (3.5 ,-7)    {16};
\node [] () at (8.5,-7)     {17};
\node [] () at (1.5,-8)         {18};
\node [] () at (6.5,-8)     {19};
\node [] () at (-0.5,-9)    {20};
\node [] () at (4.5,-9) {21};
\node [] () at (7.5,-9)     {22*};


\end{tikzpicture}
\end{center}

\section*{Aula 0.3.  \hfill  18}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-8} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-2,\y) {F\label};} 

\foreach \x in {0,...,3}
\foreach \y in {0,...,-6} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \x in {5,...,8}
\foreach \y in {0,...,-6} 
{\node [taula]  (\x\y) at (\x,\y) {};} 


\foreach \x in {0,...,9}
\foreach \y in {-7,...,-8}
{\node [taula]  () at (\x-.5,\y) {};} 


\node [] () at (3,0)    {1};
\node [] () at (8,0)    {2};
\node [] () at (0,-1)   {3};
\node [] () at (5,-1)   {4};
\node [] () at (3,-2)   {5};
\node [] () at (8,-2)   {6};
\node [] () at (0,-3)   {7};
\node [] () at (5,-3)   {8};
\node [] () at (3,-4)   {9};
\node [] () at (8,-4)   {10};
\node [] () at (0,-5)   {11};
\node [] () at (5,-5)   {12};

\node [] () at (3,-6)   {13};
\node [] () at (8,-6)   {14};

\node [] () at (-0.5,-7)    {15};
\node [] () at (5.5,-7)     {16};
\node [] () at (3.5,-8)     {17};
\node [] () at (8.5,-8)     {18};
\end{tikzpicture}
\end{center}

\section*{Aula 0.4.  \hfill  23}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-8} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,8}
\foreach \y in {0,...,-8} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (0,0)    {1};
\node [] () at (4,0)    {2};
\node [] () at (8,0)    {3};
\node [] () at (2,-1)   {4};
\node [] () at (6,-1)   {5};
\node [] () at (0,-2)   {6};
\node [] () at (4,-2)   {7};
\node [] () at (8,-2)   {8};
\node [] () at (2,-3)   {9};
\node [] () at (6,-3)   {10};
\node [] () at (0,-4)   {11};
\node [] () at (4,-4)   {12};
\node [] () at (8,-4)   {13};
\node [] () at (2,-5)   {14};
\node [] () at (6,-5)   {15};
\node [] () at (0,-6)   {16};
\node [] () at (4,-6)   {17};
\node [] () at (8,-6)   {18};
\node [] () at (2,-7)   {19};
\node [] () at (6,-7)   {20};
\node [] () at (0,-8)   {21};
\node [] () at (4,-8)   {22};
\node [] () at (8,-8)   {23};
\end{tikzpicture}
\end{center}

\section*{Aula 0.5.  \hfill  23}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-8} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,8}
\foreach \y in {0,...,-8} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (0,0)    {1};
\node [] () at (4,0)    {2};
\node [] () at (8,0)    {3};
\node [] () at (2,-1)   {4};
\node [] () at (6,-1)   {5};
\node [] () at (0,-2)   {6};
\node [] () at (4,-2)   {7};
\node [] () at (8,-2)   {8};
\node [] () at (2,-3)   {9};
\node [] () at (6,-3)   {10};
\node [] () at (0,-4)   {11};
\node [] () at (4,-4)   {12};
\node [] () at (8,-4)   {13};
\node [] () at (2,-5)   {14};
\node [] () at (6,-5)   {15};
\node [] () at (0,-6)   {16};
\node [] () at (4,-6)   {17};
\node [] () at (8,-6)   {18};
\node [] () at (2,-7)   {19};
\node [] () at (6,-7)   {20};
\node [] () at (0,-8)   {21};
\node [] () at (4,-8)   {22};
\node [] () at (8,-8)   {23};
\end{tikzpicture}
\end{center}

\section*{Aula 1.1.  \hfill  15}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-5} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,8}
\foreach \y in {0,...,-5} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (0,0)    {1};
\node [] () at (4,0)    {2};
\node [] () at (8,0)    {3};
\node [] () at (2,-1)   {4};
\node [] () at (6,-1)   {5};
\node [] () at (0,-2)   {6};
\node [] () at (4,-2)   {7};
\node [] () at (8,-2)   {8};
\node [] () at (2,-3)   {9};
\node [] () at (6,-3)   {10};
\node [] () at (0,-4)   {11};
\node [] () at (4,-4)   {12};
\node [] () at (8,-4)   {13};
\node [] () at (2,-5)   {14};
\node [] () at (6,-5)   {15};
\end{tikzpicture}
\end{center}

\section*{Aula 1.2.  \hfill  23}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-8} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,8}
\foreach \y in {0,...,-8} 
{\node [taula]  (\x\y) at (\x,\y) {};} 


\node [] () at (0,0)    {1};
\node [] () at (4,0)    {2};
\node [] () at (8,0)    {3};
\node [] () at (2,-1)   {4};
\node [] () at (6,-1)   {5};
\node [] () at (0,-2)   {6};
\node [] () at (4,-2)   {7};
\node [] () at (8,-2)   {8};
\node [] () at (2,-3)   {9};
\node [] () at (6,-3)   {10};
\node [] () at (0,-4)   {11};
\node [] () at (4,-4)   {12};
\node [] () at (8,-4)   {13};
\node [] () at (2,-5)   {14};
\node [] () at (6,-5)   {15};
\node [] () at (0,-6)   {16};
\node [] () at (4,-6)   {17};
\node [] () at (8,-6)   {18};
\node [] () at (2,-7)   {19};
\node [] () at (6,-7)   {20};
\node [] () at (0,-8)   {21};
\node [] () at (4,-8)   {22};
\node [] () at (8,-8)   {23};
\end{tikzpicture}
\end{center}

\section*{Aula 1.3.  \hfill  23}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-8} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,8}
\foreach \y in {0,...,-8} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (0,0)    {1};
\node [] () at (4,0)    {2};
\node [] () at (8,0)    {3};
\node [] () at (2,-1)   {4};
\node [] () at (6,-1)   {5};
\node [] () at (0,-2)   {6};
\node [] () at (4,-2)   {7};
\node [] () at (8,-2)   {8};
\node [] () at (2,-3)   {9};
\node [] () at (6,-3)   {10};
\node [] () at (0,-4)   {11};
\node [] () at (4,-4)   {12};
\node [] () at (8,-4)   {13};
\node [] () at (2,-5)   {14};
\node [] () at (6,-5)   {15};
\node [] () at (0,-6)   {16};
\node [] () at (4,-6)   {17};
\node [] () at (8,-6)   {18};
\node [] () at (2,-7)   {19};
\node [] () at (6,-7)   {20};
\node [] () at (0,-8)   {21};
\node [] () at (4,-8)   {22};
\node [] () at (8,-8)   {23};
\end{tikzpicture}
\end{center}

\section*{Aula 1.4.  \hfill  26}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-12} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,3}
\foreach \y in {0,...,-12} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\foreach \x in {5,...,8}
\foreach \y in {0,...,-12} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (3,0)    {1};
\node [] () at (8,0)    {2};
\node [] () at (0,-1)   {3};
\node [] () at (5,-1)   {4};
\node [] () at (3,-2)   {5};
\node [] () at (8,-2)   {6};
\node [] () at (0,-3)   {7};
\node [] () at (5,-3)   {8};
\node [] () at (3,-4)   {9};
\node [] () at (8,-4)   {10};
\node [] () at (0,-5)   {11};
\node [] () at (5,-5)   {12};
\node [] () at (3,-6)   {13};
\node [] () at (8,-6)   {14};
\node [] () at (0,-7)   {15};
\node [] () at (5,-7)   {16};
\node [] () at (3,-8)   {17};
\node [] () at (8,-8)   {18};
\node [] () at (0,-9)   {19};
\node [] () at (5,-9)   {20};
\node [] () at (3,-10)  {21};
\node [] () at (8,-10)  {22};
\node [] () at (0,-11)  {23};
\node [] () at (5,-11)  {24};
\node [] () at (3,-12)  {25};
\node [] () at (8,-12)  {26};
\end{tikzpicture}
\end{center}

\section*{Aula 1.5.  \hfill  10}

\bigskip

\begin{center}
\begin{tikzpicture}
[scale=.8,
taula/.style={rectangle,draw, thick,minimum size=20}]
\node [] (A) at (4,1.5) {Pissarra};
\node [] (B) at (-.1,1.5) {};
\node [] (C) at (8.1,1.5) {};
\node[fit=(A)(B)(C), draw, thick] {};

\foreach \y in {0,...,-3} 
{\pgfmathtruncatemacro{\label}{-\y+1}
\node []  () at (-1.5,\y) {F\label};} 

\foreach \x in {0,...,8}
\foreach \y in {0,...,-3} 
{\node [taula]  (\x\y) at (\x,\y) {};} 

\node [] () at (0,0)    {1};
\node [] () at (4,0)    {2};
\node [] () at (8,0)    {3};
\node [] () at (2,-1)   {4};
\node [] () at (6,-1)   {5};
\node [] () at (0,-2)   {6};
\node [] () at (4,-2)   {7};
\node [] () at (8,-2)   {8};
\node [] () at (2,-3)   {9};
\node [] () at (6,-3)   {10};
\end{tikzpicture}
\end{center}
\end{document}