diff --git a/snake/.gitignore b/snake/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..dc48947da1e5e06ed5b995e4538216c2a4f76ab7 --- /dev/null +++ b/snake/.gitignore @@ -0,0 +1,370 @@ +# Created by https://www.toptal.com/developers/gitignore/api/latex,emacs +# Edit at https://www.toptal.com/developers/gitignore?templates=latex,emacs + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + + +### LaTeX ### +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* +# these rules might exclude image files for figures etc. +# *.ps +# *.eps +# *.pdf + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex(busy) +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Build tool directories for auxiliary files +# latexrun +latex.out/ + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.pre +*.snm +*.vrb + +# changes +*.soc + +# comment +*.cut + +# cprotect +*.cpt + +# elsarticle (documentclass of Elsevier journals) +*.spl + +# endnotes +*.ent + +# fixme +*.lox + +# feynmf/feynmp +*.mf +*.mp +*.t[1-9] +*.t[1-9][0-9] +*.tfm + +#(r)(e)ledmac/(r)(e)ledpar +*.end +*.?end +*.[1-9] +*.[1-9][0-9] +*.[1-9][0-9][0-9] +*.[1-9]R +*.[1-9][0-9]R +*.[1-9][0-9][0-9]R +*.eledsec[1-9] +*.eledsec[1-9]R +*.eledsec[1-9][0-9] +*.eledsec[1-9][0-9]R +*.eledsec[1-9][0-9][0-9] +*.eledsec[1-9][0-9][0-9]R + +# glossaries +*.acn +*.acr +*.glg +*.glo +*.gls +*.glsdefs +*.lzo +*.lzs +*.slg +*.slo +*.sls + +# uncomment this for glossaries-extra (will ignore makeindex's style files!) +# *.ist + +# gnuplot +*.gnuplot +*.table + +# gnuplottex +*-gnuplottex-* + +# gregoriotex +*.gaux +*.glog +*.gtex + +# htlatex +*.4ct +*.4tc +*.idv +*.lg +*.trc +*.xref + +# hyperref +*.brf + +# knitr +*-concordance.tex +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz +*-tikzDictionary + +# listings +*.lol + +# luatexja-ruby +*.ltjruby + +# makeidx +*.idx +*.ilg +*.ind + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc[0-9]* +*.slf[0-9]* +*.slt[0-9]* +*.stc[0-9]* + +# minted +_minted* +*.pyg + +# morewrites +*.mw + +# newpax +*.newpax + +# nomencl +*.nlg +*.nlo +*.nls + +# pax +*.pax + +# pdfpcnotes +*.pdfpc + +# sagetex +*.sagetex.sage +*.sagetex.py +*.sagetex.scmd + +# scrwfile +*.wrt + +# svg +svg-inkscape/ + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# pythontex +*.pytxcode +pythontex-files-*/ + +# tcolorbox +*.listing + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# titletoc +*.ptc + +# todonotes +*.tdo + +# vhistory +*.hst +*.ver + +# easy-todo +*.lod + +# xcolor +*.xcp + +# xmpincl +*.xmpi + +# xindy +*.xdy + +# xypic precompiled matrices and outlines +*.xyc +*.xyd + +# endfloat +*.ttt +*.fff + +# Latexian +TSWLatexianTemp* + +## Editors: +# WinEdt +*.bak +*.sav + +# Texpad +.texpadtmp + +# LyX +*.lyx~ + +# Kile +*.backup + +# gummi +.*.swp + +# KBibTeX +*~[0-9]* + +# TeXnicCenter +*.tps + +# auto folder when using emacs and auctex +./auto/* +*.el + +# expex forward references with \gathertags +*-tags.tex + +# standalone packages +*.sta + +# Makeindex log files +*.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib + +### LaTeX Patch ### +# LIPIcs / OASIcs +*.vtc + +# glossaries +*.glstex + +*.listing +./_minted-snake/* +./_minted-snake_fr/* + +# End of https://www.toptal.com/developers/gitignore/api/latex,emacs + diff --git a/snake/Makefile b/snake/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..20035c8afe7ecd9d55b95bc2852c2f6f9cfbdf53 --- /dev/null +++ b/snake/Makefile @@ -0,0 +1,13 @@ +TEXMK=latexmk +TEXMKOPT=-lualatex -shell-escape +FIGMK=lualatex + +DEPS = grid.tex snake_fr.tex + +all: snake + +snake: $(DEPS) + $(TEXMK) $(TEXMKOPT) $^ + +clean: + $(TEXMK) -c snake_fr.tex diff --git a/snake/grid.pdf b/snake/grid.pdf index 7043e5b3c1d54c710131115855f7a3062aaa088e..5fe172996ffd18fa8b0fdfaa9f6b4b0a0d638047 100644 Binary files a/snake/grid.pdf and b/snake/grid.pdf differ diff --git a/snake/grid.tex b/snake/grid.tex index c0489fc7d67ba0b2f4146c6293ac03fbc355a672..8ae421b7b3d420b56e1404298f8f1db80e366821 100755 --- a/snake/grid.tex +++ b/snake/grid.tex @@ -15,12 +15,12 @@ \foreach \y in {0,...,19} { \pgfmathtruncatemacro{\ys}{19 - \y} - \node (b\y) at (-0.25, 0.5*\y + 0.25) {\small\ys}; + \node (b\y) at (-0.25, 0.5*\y + 0.25) {\small\sffamily\ys}; }; \foreach \x in {0,...,29} { - \node (a\x) at (0.5*\x + 0.25, 10.25) {\small\x}; + \node (a\x) at (0.5*\x + 0.25, 10.25) {\small\sffamily\x}; } \end{tikzpicture} diff --git a/snake/snake_fr.pdf b/snake/snake_fr.pdf index 5506f4a8511c33b44857f1529ba6261812c46142..d4945dc74861e9e1d7c88834d91bd7ddd47e0df7 100644 Binary files a/snake/snake_fr.pdf and b/snake/snake_fr.pdf differ