\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{LockeCJ (LockeCJ)} \pdfinfo{ /Title (animal-crossing-new-leaf-insects.pdf) /Creator (Cheatography) /Author (LockeCJ (LockeCJ)) /Subject (Animal Crossing: New Leaf Insects Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{308033} \definecolor{LightBackground}{HTML}{F2F7F2} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Animal Crossing: New Leaf Insects Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{LockeCJ (LockeCJ)} via \textcolor{DarkBackground}{\uline{cheatography.com/92/cs/1113/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}LockeCJ (LockeCJ) \\ \uline{cheatography.com/lockecj} \\ \uline{\seqsplit{www.erichoch.org}} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 24th June, 2013.\\ Updated 12th May, 2016.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{x{1.21133 cm} x{1.12779 cm} p{0.62655 cm} x{1.21133 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Insects A-G}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Name}} & {\bf{Location}} & {\bf{Price}} & {\bf{Date/Time}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Agrias Butterfly & Near flowers & 3,000 & Jun-Sep 8a-5p \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Ant & On rotten food & 80 & Jan-Dec 24h \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Bagworm & In trees & 300 & Oct-Feb 24h \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} Banded Dragonfly & Flying & 4,500 & Jul-Aug 8a-5p \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} Bee & In trees & 2,500 & Jan-Dec 24h \tn % Row Count 10 (+ 1) % Row 6 \SetRowColor{LightBackground} Bell Cricket & Ground & 1,720 & Sep-Oct 5p-8a \tn % Row Count 12 (+ 2) % Row 7 \SetRowColor{white} Birdwing Butterfly & Flying & 4,000 & Jun-Sep 8a-4p \tn % Row Count 14 (+ 2) % Row 8 \SetRowColor{LightBackground} Brown Cicada & On trees & 200 & Jul-Aug 8a-5p \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} Common Butterfly & Near flowers & 90 & Mar-Jun, Sep 4a-7p \tn % Row Count 18 (+ 2) % Row 10 \SetRowColor{LightBackground} Centipede & Under rocks & 300 & Jan-Feb 4a-11p \tn % Row Count 20 (+ 2) % Row 11 \SetRowColor{white} Cicada Shell & On trees & 100 & Jul-Aug 24h \tn % Row Count 22 (+ 2) % Row 12 \SetRowColor{LightBackground} Cricket & Ground & 160 & Sep-Nov 5p-8a \tn % Row Count 24 (+ 2) % Row 13 \SetRowColor{white} \seqsplit{Cyclommatus} Stag & On palm trees & 8,000 & Jun-Aug 5p-8a \tn % Row Count 26 (+ 2) % Row 14 \SetRowColor{LightBackground} Darner Dragonfly & Flying & 200 & Jun-Aug 8a-5p \tn % Row Count 28 (+ 2) % Row 15 \SetRowColor{white} Diving Beetle & In the river & 800 & May-Sep 8a-5p \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.21133 cm} x{1.12779 cm} p{0.62655 cm} x{1.21133 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Insects A-G (cont)}} \tn % Row 16 \SetRowColor{LightBackground} Drone Beetle & On island trees & 100 & Jun-Aug 24h \tn % Row Count 2 (+ 2) % Row 17 \SetRowColor{white} Emperor Butterfly & Flying & 2,500 & Jun-Sep 8p-7a \tn % Row Count 4 (+ 2) % Row 18 \SetRowColor{LightBackground} Evening Cicada & On trees & 550 & Jul-Aug 4p-7p \tn % Row Count 6 (+ 2) % Row 19 \SetRowColor{white} Firefly & Flying near river & 300 & Jun 7p-4a \tn % Row Count 8 (+ 2) % Row 20 \SetRowColor{LightBackground} Flea & On villagers & 70 & Mar-Nov 24h \tn % Row Count 10 (+ 2) % Row 21 \SetRowColor{white} Fly & Flying near trash & 60 & Jan-Dec 24h \tn % Row Count 12 (+ 2) % Row 22 \SetRowColor{LightBackground} Fruit Beetle & On trees & 100 & Jun-Aug 24h \tn % Row Count 14 (+ 2) % Row 23 \SetRowColor{white} Giant Cicada & On trees & 500 & Jun-Jul 8a-5p \tn % Row Count 16 (+ 2) % Row 24 \SetRowColor{LightBackground} Giant Beetle & On trees & 10,000 & Jun-Jul 11p-7a \tn % Row Count 18 (+ 2) % Row 25 \SetRowColor{white} Giant Petaltail & Flying & 8,000 & Aug-Oct 5p-7p \tn % Row Count 20 (+ 2) % Row 26 \SetRowColor{LightBackground} Golden Stag & On palm trees & 12,000 & Jun-Aug 5p-8a \tn % Row Count 22 (+ 2) % Row 27 \SetRowColor{white} \seqsplit{Grasshopper} & Ground & 160 & Jul-Sep 8a-5p \tn % Row Count 24 (+ 2) % Row 28 \SetRowColor{LightBackground} Goliath Beetle & On palm trees & 6,000 & Jun-Sep 7p-8a \tn % Row Count 26 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.91894 cm} x{1.79611 cm} p{0.50124 cm} x{0.96071 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Insects M-P}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Name}} & {\bf{Location}} & {\bf{Price}} & {\bf{Date/Time}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Horned Atlas & On palm trees & 8,000 & Jun-Aug 5p-8a \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Horned \seqsplit{Dynastid} & On trees & 1,350 & Jun-Aug 7p-8a \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} Horned \seqsplit{Elephant} & On palm trees & 8,000 & Jun-Aug 5p-8a \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} Horned \seqsplit{Hercules} & On palm trees & 12,000 & Jun-Aug 5p-8a \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} Hermit Crab & Beach & 1,000 & Jan-Dec 7p-8a \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} \seqsplit{Honeybee} & Near flowers & 100 & Mar-Jul 8a-5p \tn % Row Count 15 (+ 2) % Row 7 \SetRowColor{white} House \seqsplit{Centipede} & Under rocks & 250 & Aug-Oct 7p-8a \tn % Row Count 17 (+ 2) % Row 8 \SetRowColor{LightBackground} Jewel Beetle & On trees & 2,400 & Jul-Aug 8a-5p \tn % Row Count 19 (+ 2) % Row 9 \SetRowColor{white} Ladybug & On flowers & 200 & Mar-Jun, Oct 8a-5p \tn % Row Count 21 (+ 2) % Row 10 \SetRowColor{LightBackground} Lantern Fly & On trees & 1,800 & Jun-Sep 4p-8a \tn % Row Count 23 (+ 2) % Row 11 \SetRowColor{white} Locust & Ground & 400 & Aug-Oct 8a-7p \tn % Row Count 25 (+ 2) % Row 12 \SetRowColor{LightBackground} \seqsplit{Longhorn} Beetle & Tree Stumps & 260 & Jul-Aug 11a-6pm \tn % Row Count 27 (+ 2) % Row 13 \SetRowColor{white} Long Locust & Ground & 200 & May-Nov 8a-7p \tn % Row Count 29 (+ 2) % Row 14 \SetRowColor{LightBackground} Mantis & On flowers & 430 & Apr-Nov 8a-5p \tn % Row Count 31 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{0.91894 cm} x{1.79611 cm} p{0.50124 cm} x{0.96071 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Insects M-P (cont)}} \tn % Row 15 \SetRowColor{LightBackground} \seqsplit{Migratory} Locust & Ground & 600 & Aug-Nov 8a-7p \tn % Row Count 2 (+ 2) % Row 16 \SetRowColor{white} Miyama Stag & On trees & 1,000 & Jul-Aug 24h \tn % Row Count 4 (+ 2) % Row 17 \SetRowColor{LightBackground} Mole Cricket & Underground & 280 & Nov-May 24h \tn % Row Count 6 (+ 2) % Row 18 \SetRowColor{white} Monarch \seqsplit{Butterfly} & Flying & 140 & Sep-Nov 9a-5p \tn % Row Count 9 (+ 3) % Row 19 \SetRowColor{LightBackground} \seqsplit{Mosquito} & Flying & 130 & Jun-Sep 5p-4a \tn % Row Count 11 (+ 2) % Row 20 \SetRowColor{white} Moth & Flying near lights & 60 & May-Sep 7p-4a \tn % Row Count 13 (+ 2) % Row 21 \SetRowColor{LightBackground} Oak SIlk Moth & On trees & 1,200 & Jun-Sep 7p-4a \tn % Row Count 15 (+ 2) % Row 22 \SetRowColor{white} Orchid Mantis & On white flowers & 2,400 & Apr-Nov 8a-7p \tn % Row Count 17 (+ 2) % Row 23 \SetRowColor{LightBackground} Peacock \seqsplit{Butterfly} & Near flowers (Purple, Black, Blue) & 220 & Mar-Sep 4a-7p \tn % Row Count 20 (+ 3) % Row 24 \SetRowColor{white} Pill Bug & Under rocks & 250 & Jan-Dec 24h \tn % Row Count 22 (+ 2) % Row 25 \SetRowColor{LightBackground} \seqsplit{Pondskater} & River and ponds & 130 & May-Sep 8a-7p \tn % Row Count 24 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.2531 cm} x{1.21133 cm} p{0.58478 cm} x{1.12779 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Insects R-Y}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Name}} & {\bf{Location}} & {\bf{Price}} & {\bf{Date/Time}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Rainbow Stag & On trees & 10,000 & Jun-Sep 5p-8a \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Raja Broke Butterfly & Flying & 2,500 & May-Sep 8a-5p \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Red Dragonfly & Flying & 80 & Sep-Oct 8a-7p \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} Rice Grasshopper & Ground & 400 & Oct 8a-7p \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} Robust Cicada & On trees & 300 & Jul-Aug 8a-5p \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} Saw Stag & On trees & 2,000 & Jul-Aug 24h \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} Scarab Beetle & On trees & 6,000 & Jul-Aug 11p-8a \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} Scorpion & Ground & 8,000 & Jul-Sep 7p-4a \tn % Row Count 18 (+ 2) % Row 9 \SetRowColor{white} Snail & On bushes (raining) & 250 & Apr-Sep 24h \tn % Row Count 20 (+ 2) % Row 10 \SetRowColor{LightBackground} Stinkbug & On trees & 120 & Apr-Oct 24h \tn % Row Count 22 (+ 2) % Row 11 \SetRowColor{white} Spider & In trees & 300 & Mar-Oct 24h \tn % Row Count 24 (+ 2) % Row 12 \SetRowColor{LightBackground} Tarantula & Ground & 8,000 & Jul-Sep 7p-4a \tn % Row Count 26 (+ 2) % Row 13 \SetRowColor{white} Tiger Beetle & Ground & 1,500 & Mar-Oct 8a-11p \tn % Row Count 28 (+ 2) % Row 14 \SetRowColor{LightBackground} Tiger Butterfly & Near flowers & 160 & Mar-Sep 8a-7p \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.2531 cm} x{1.21133 cm} p{0.58478 cm} x{1.12779 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Insects R-Y (cont)}} \tn % Row 15 \SetRowColor{LightBackground} Violin Beetle & Tree stumps & 260 & Jun-Nov 4a-7p \tn % Row Count 2 (+ 2) % Row 16 \SetRowColor{white} Walker Cicada & On trees & 400 & Jul-Sep 8a-5p \tn % Row Count 4 (+ 2) % Row 17 \SetRowColor{LightBackground} Walking Leaf & Ground & 600 & Jul-Sep 8a-5p \tn % Row Count 6 (+ 2) % Row 18 \SetRowColor{white} Walking Stick & On trees & 600 & Jul-Nov 4a-7p \tn % Row Count 8 (+ 2) % Row 19 \SetRowColor{LightBackground} Wharf Roach & On the beach & 200 & Jan-Dec 24h \tn % Row Count 10 (+ 2) % Row 20 \SetRowColor{white} Yellow Butterfly & Near flowers & 90 & Mar-Jun, Sep 6a-4p \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}