Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%%%%%%%%%% blogdemaths.wordpress.com %%%%%%%%%%%%%%%
- %%%%%%%%%% Vous pouvez retrouver le tour de magie associé à ces cartes dans le lien suivant:
- %%%%%%%%% http://blogdemaths.wordpress.com/2013/01/13/un-tour-de-magie-mathematique/
- %----------------------------------------------------------------------------------------------%
- %% Packages %%
- \documentclass[parskip]{article}
- \usepackage[margin=15mm]{geometry}
- \usepackage{tikz}
- \usepackage{fourier}
- %\usepackage{anttor}
- \usepackage[utf8]{inputenc}
- \usepackage{amsmath,amssymb}
- \usepackage{url}
- \usepackage{hyperref}
- \usetikzlibrary{positioning,decorations.pathreplacing,shapes}
- %%%% Titre %%%%
- \title{Cartes magiques !}
- \date{}
- \author{\url{blogdemaths.wordpress.com}}
- %%%%% Début du document %%%%%%%%%%
- \begin{document}
- \maketitle
- \pgfmathsetmacro{\cardwidth}{5}
- \pgfmathsetmacro{\cardheight}{8}
- \pgfmathsetmacro{\stripwidth}{0.6}
- \pgfmathsetmacro{\strippadding}{0.1}
- \pgfmathsetmacro{\textpadding}{0.1}
- \pgfmathsetmacro{\ruleheight}{0.15}
- %%%%% CARTE 1 %%%%%%%%%%%%%%%%%%%%%%
- \begin{tikzpicture}
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[red!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 1, 4, 6, 9, 12, 14, 17, 19, 22, 25, 27, 30, 33, 35, 38, 40, 43, 46, 48, 51,
- 53, 56, 59, 61, 64, 67, 69, 72, 74, 77, 80, 82, 85, 88, 90, 93, 95, 98
- \end{minipage}$
- };
- \bigskip
- %%%%% CARTE 2 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[xshift=10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[blue!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 2, 7, 10, 15, 20, 23, 28, 31, 36, 41, 44, 49, 54, 57, 62, 65, 70, 75, 78,
- 83, 86, 91, 96, 99
- \end{minipage}$
- };
- \end{scope}
- \bigskip
- %%%%% CARTE 3 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[yshift=-10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[green!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 3, 4, 11, 12, 16, 17, 24, 25, 32, 33, 37, 38, 45, 46, 50, 51, 58, 59, 66,
- 67, 71, 72, 79, 80, 87, 88, 92, 93, 100
- \end{minipage}$
- };
- \end{scope}
- \bigskip
- %%%%% CARTE 4 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[yshift=-10cm,xshift=10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[yellow!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 5, 6, 7, 18, 19, 20, 26, 27, 28, 39, 40, 41 , 52, 53, 54, 60, 61 , 62, 73, 74,
- 75, 81, 82, 83, 94, 95, 96
- \end{minipage}$
- };
- \end{scope}
- \end{tikzpicture}
- \newpage
- %%%%% CARTE 5 %%%%%%%%%%%%%%%%%%%%%%
- \begin{tikzpicture}
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[red!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 8, 9, 10, 11, 12, 29, 30, 31, 32, 33, 42, 43 , 44, 45, 46, 63, 64, 65, 66,
- 67, 84, 85, 86, 87, 88, 97, 98, 99, 100
- \end{minipage}$
- };
- \bigskip
- %%%%% CARTE 6 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[xshift=10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[blue!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 13, 14, 15, 16, 17, 18, 19, 20, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70,
- 71, 72, 73, 74, 75
- \end{minipage}$
- };
- \end{scope}
- \bigskip
- %%%%% CARTE 7 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[yshift=-10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[green!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 76, 77, 78, 79, 80, 81,
- 82, 83, 84, 85, 86, 87, 88
- \end{minipage}$
- };
- \end{scope}
- \bigskip
- %%%%% CARTE 8 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[yshift=-10cm,xshift=10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[yellow!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- 53, 54
- \end{minipage}$
- };
- \end{scope}
- \end{tikzpicture}
- %%%%% CARTE 9 %%%%%%%%%%%%%%%%%%%%%%
- \begin{tikzpicture}
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[red!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
- 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88
- \end{minipage}$
- };
- \bigskip
- %%%%% CARTE 10 %%%%%%%%%%%%%%%%%%%%%%
- \begin{scope}[xshift=10cm]
- \draw[rounded corners=0.2cm] (0,0) rectangle (5,8);
- %\fill[blue!20, rounded corners] (0.1,0.1) rectangle (0.7,7.9) node[rotate=90] {blogdemaths.wordpress.com};
- \fill[blue!50,rounded corners=0.1cm] (4.3,0.1) rectangle (4.9,7.9) node[rotate=90,above left,black] {\textbf{blogdemaths.wordpress.com}};
- %\node at (\strippadding+\stripwidth,\strippadding+\stripwidth) {$lol$};
- %\node at (0.1,0.2) {\Large KEEPER};
- \node[below right, rectangle, font=\Large] at (0.1,6.8) {
- $\begin{minipage}{0.20\textwidth}
- 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100
- \end{minipage}$
- };
- \end{scope}
- \end{tikzpicture}
- \newpage
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement