\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{02JanDal} \pdfinfo{ /Title (spanska-vt2015.pdf) /Creator (Cheatography) /Author (02JanDal) /Subject (Spanska VT2015 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}{CC8135} \definecolor{LightBackground}{HTML}{FBF7F2} \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{Spanska VT2015 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{02JanDal} via \textcolor{DarkBackground}{\uline{cheatography.com/20968/cs/3817/}}} \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}02JanDal \\ \uline{cheatography.com/02jandal} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ 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.73926 cm} x{1.09848 cm} x{1.73926 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Verb Preteritum}} \tn % Row 0 \SetRowColor{LightBackground} & {\bf{-ar}} & {\bf{-er/-ir}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{jag}} & -é & -í \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{du}} & -aste & -iste \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{han/hon}} & -ó & -ió \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{vi}} & -amos & -imos \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{ni}} & -asteis & -isteis \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{de}} & -aron & -eron \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.19002 cm} x{1.69349 cm} x{1.69349 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Verb \seqsplit{Futurum/Perfect/Gerundium}}} \tn % Row 0 \SetRowColor{LightBackground} & {\bf{-ar}} & {\bf{-er/-ir}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{futurum}} & ir a \textless{}infinitiv\textgreater{} & ir a \textless{}infinitiv\textgreater{} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{perfect}} & hacer \textless{}verb\textgreater{}-ado & hacer \textless{}verb\textgreater{}-ido \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{gerund.}} & \textless{}erb\textgreater{}-ando & \textless{}verb\textgreater{}-iendo \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{B{\"o}j {\emph{ir}} och {\emph{hacer}} efter person.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Fraser 1}} \tn % Row 0 \SetRowColor{LightBackground} god dag/morgon & buenos días \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} god eftermiddag/kv{\"a}ll & buenas tardes/noches \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} vad heter du? & ¿cómo te llamas? \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} jag heter... & me llama... \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} vartifrån {\"a}r du? & ¿de dónde eres? \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} jag {\"a}r ifrån... & soy de... \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} jag vet inte & no sé \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} jag f{\"o}rstår inte & no comprendo \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} var v{\"a}nlig och prata saktare & por favor hable más despacio \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Buss 3 och 11}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/02jandal_1428178647_spanien_buss_karta2.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Utanf{\"o}r skolan, blå: 3, r{\"o}d: 11, går var 5:e resp. 2:a minut} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Karta}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/02jandal_1428175955_spanien_karta.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Azul: Los niños: Paseo Cerrado de Calderon 4, Juana Berben \newline Rojo: Los niñas: Calle Vicente Espinel 15, Lucia Roman Córdoba \newline Rosa: Los profesores: Calle Jarama 6, María Teresa Sampedro Suarez \newline Naranja: La escuela: Avenida Juan Sebastián Elcano, 23} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.42018 cm} x{0.91894 cm} x{0.91894 cm} x{0.91894 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Verb Presens}} \tn % Row 0 \SetRowColor{LightBackground} & {\bf{-ar}} & {\bf{-er}} & {\bf{-ir}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{jag}} & -o & -o & -o \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{du}} & -as & -es & -es \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{han/hon}} & -a & -e & -e \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{vi}} & -amos & -emos & -imos \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{ni}} & -áis & -éis & -ís \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{de}} & -an & -en & -en \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.87717 cm} x{1.33664 cm} x{0.87717 cm} x{1.08602 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Verb}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{svenska}} & {\bf{spanska}}\{\{br\}\} & {\bf{svenska}} & {\bf{spanska}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} bada & nadar\{\{br\}\} & \seqsplit{promenera} & tomar un paseo \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} b{\"a}ra & llevar\{\{br\}\} & stanna & quedar \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \seqsplit{ta/dricka} & tomar\{\{br\}\} & leva/bo & vivir \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} få & recibir\{\{br\}\} & se & mirar \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} skapa & crear\{\{br\}\} & l{\"a}mna & partir \tn % Row Count 10 (+ 1) % Row 6 \SetRowColor{LightBackground} studera & estudiar\{\{br\}\} & f{\"o}rstå & \seqsplit{comprender} \tn % Row Count 12 (+ 2) % Row 7 \SetRowColor{white} hj{\"a}lpa & ayudar\{\{br\}\} & hablar & prata \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{Alla verb {\"a}r infinitiv (att...)} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.63781 cm} x{2.33919 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Fraser 2 Mat/best{\"a}lla}} \tn % Row 0 \SetRowColor{LightBackground} smaklig måltid & ¡buen provecho! \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} hur mycket kostar det? & ¿cuánto cuesta? \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} att dricka & para beber \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} notan tack & la cuenta, por favor \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} jag {\"a}r allergisk emot... & tengo alérgia a... \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} jag skulle vilja ha... & quisiera... \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} vad rekommenderar du? & ¿qué nos recomienda? \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.00248 cm} x{1.33664 cm} x{0.91894 cm} x{0.91894 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Ord}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{svenska}} & {\bf{spanska}}\{\{br\}\} & {\bf{svenska}} & {\bf{spanska}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} br{\"o}d & pan\{\{br\}\} & skinka & jamón \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} ost\{\{bb\}\} & queso\{\{br\}\} & sm{\"o}r\{\{bb\}\} & \seqsplit{mantequilla} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} v{\"a}nster & izquierda\{\{br\}\} & h{\"o}ger & derecho \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} rakt fram & todo recto\{\{br\}\} & n{\"a}ra & cerca \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} långt borta & lejos\{\{br\}\} & gata & calle \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Mobilnummer}} \tn % Row 0 \SetRowColor{LightBackground} Jan & +4676 76 84 897 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Julia & +4676 83 59 878 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Johanna & +4673 73 93 876 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Saga & +4672 31 38 659 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Yunus & +4673 99 27 081 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Elisabeth & +4670 55 05 848 \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Rickardh & +4670 36 09 687 \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29487 cm} x{1.08602 cm} p{0.71009 cm} x{1.08602 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Verb Vara/Åka/Ha}} \tn % Row 0 \SetRowColor{LightBackground} & {\bf{estar}} & {\bf{ir}} & {\bf{tener}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{jag}} & estoy & voy & tengo \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{du}} & estas & vas & tienes \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{han/hon}} & esta & va & tiene \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{vi}} & estamos & vamos & tenemos \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{ni}} & estáis & vais & tenéis \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{de}} & están & van & tienen \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29487 cm} x{1.04425 cm} p{0.79363 cm} x{1.04425 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Verb S{\"a}ga/Vara/Ha}} \tn % Row 0 \SetRowColor{LightBackground} & {\bf{decir}} & {\bf{ser}} & {\bf{haber}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{jag}} & digo & soy & he \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{du}} & dices & eres & has \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{han/hon}} & dice & es & ha \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{vi}} & decimos & somos & hemos \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{ni}} & decís & sois & habéis \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{de}} & dicen & son & han \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{1.19002 cm} p{1.46464 cm} x{1.92234 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Siffror}} \tn % Row 0 \SetRowColor{LightBackground} ett & uno & primero \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} två & dos & segundo \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} tre & tres & tercero \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} fyra & cuatro & cuarto \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} fem & cinco & quinto \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} sex & seis & sexto \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} sju & siete & séptimo \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} åtta & ocho & octavo \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} nio & nueve & noveno \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} tio & diez & décimo \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Glass}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/02jandal_1428176341_spanien_glass_karta.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Heladeria Freskitto}}: Calle Granada, 55 \newline {\bf{Casa Mira}}: Calle Marqués de Larios, 5 \newline {\bf{Heladeria le Veneciana}}: Av. de la Aurora, 10 \newline {\bf{Nuvola Helados}}: Calle Princesa, 12 \newline {\bf{Heladeria Imna}}: Calle Moreti, 15 \newline {\bf{Heladeria Andres Mira}}: Av. de José Ortega y Gasset, 87 \newline {\bf{Helados Iceberg}}: Calle Babel, 3 \newline {\bf{Kalua Helado Artesanal - Las Chapas}}: Plaza del Aparejador Federico \newline {\bf{Heladeria Tutifruti}}: Calle Tomás Escalonilla, 5 \newline {\bf{Heladeria Cremades}}: Calle Cenacheros, 34} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}