\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{populationzero} \pdfinfo{ /Title (ib-spanish-ab-initio-grammar.pdf) /Creator (Cheatography) /Author (populationzero) /Subject (IB Spanish Ab Initio Grammar 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}{C26596} \definecolor{LightBackground}{HTML}{FBF5F8} \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{IB Spanish Ab Initio Grammar Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{populationzero} via \textcolor{DarkBackground}{\uline{cheatography.com/61940/cs/15963/}}} \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}populationzero \\ \uline{cheatography.com/populationzero} \\ \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 18th September, 2018.\\ 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{3.58344 cm} x{1.39356 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Ropas (Clothes)}} \tn % Row 0 \SetRowColor{LightBackground} La falda & Skirt \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} La camisa & Shirt \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} La camiseta & T-shirt \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} El anorak & Anorak \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} El cárdigan & Cardigan \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Los trajes & Costume \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Los pantalones & Pants \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Los pantalones cortos & Shorts \tn % Row Count 8 (+ 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}{Comparative}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Comparison of Equality}} \newline % Row Count 1 (+ 1) tan + {\emph{adjective}} + como... \newline % Row Count 2 (+ 1) {\bf{Comparison of Inequality}} \newline % Row Count 3 (+ 1) mas + {\emph{adjective}} + que... \newline % Row Count 4 (+ 1) menos + {\emph{adjective}} + que...% Row Count 5 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.14011 cm} x{2.83689 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Weather}} \tn % Row 0 \SetRowColor{LightBackground} Está nevando & It is snowing \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Está lloviendo & It is raining \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Está nublado & It is cloudy \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Hay neblina & It is foggy \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Hay viento & It is windy \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Hay sol & It is sunny \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Hay frio / Hace frio & It is cold \tn % Row Count 8 (+ 2) % Row 7 \SetRowColor{white} Hace calor & It is hot \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} Tormenta & Storm \tn % Row Count 10 (+ 1) % Row 9 \SetRowColor{white} Llover a cantaros & It's raining cats and dogs \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.9862 cm} p{1.9908 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Seasons}} \tn % Row 0 \SetRowColor{LightBackground} Primavera & Spring \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Invierno & Winter \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Verano & Summer \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Otoño & Autumn \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.12779 cm} x{1.00248 cm} x{1.08602 cm} x{0.96071 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Possessive pronouns}} \tn % Row 0 \SetRowColor{LightBackground} Masculine Singular & \seqsplit{Masculine} Plural & Feminine Singular & Feminine Plural \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Mi & Mis & Mi & Mis \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Tu & Tus & Tu & Tus \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Su & Sus & Su & Sus \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Nuestro & Nuestros & Nuestra & Nuestras \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} Vuestro & Vuestros & Vuestra & Vuestras \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} Su & Sus & Su & Sus \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{Pretty easy. Possisive shizz. Note that usted and ustededsare same as third person singular and plural respectively \newline \newline Examples: Ella es mi novia} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.83689 cm} x{2.14011 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Conectores}} \tn % Row 0 \SetRowColor{LightBackground} ademas & moreover \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} pero & but \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} tambien & also \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} sin embargo & however \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} despues de + {\emph{infinitive}} & after ... \tn % Row Count 6 (+ 2) % Row 5 \SetRowColor{white} antes de + {\emph{infinitive}} & before ... \tn % Row Count 8 (+ 2) % Row 6 \SetRowColor{LightBackground} posteriormente & later, subsequently \tn % Row Count 10 (+ 2) % Row 7 \SetRowColor{white} por otro lado & on the other hand \tn % Row Count 11 (+ 1) % Row 8 \SetRowColor{LightBackground} asi que & so \tn % Row Count 12 (+ 1) % Row 9 \SetRowColor{white} aunque & although \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.78712 cm} x{2.18988 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{How often}} \tn % Row 0 \SetRowColor{LightBackground} siempre & always \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (casi) nunca & (almost) never \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} dos veces por semana & two times a week \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} un rato & for a while \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} todo el rato & all the time \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Comes before the verb: {\emph{siempre como a 9:30}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.73735 cm} x{2.23965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Idioms}} \tn % Row 0 \SetRowColor{LightBackground} Ser pan comido & to be a piece of cake \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} estar como una cabra & to be a little crazy \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} no tener pelos en la lengua & to tell it like it is \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} tirar la cosa por la ventana & to spare no expense \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} quedarse con la boca abierta & to be stunned \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} tener un humor de perros & to be in a bad mood \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} estar hecho un ají & to be angry \tn % Row Count 13 (+ 1) % Row 7 \SetRowColor{white} estar más sano que una pera & to be fit \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} ser uña y carne & to be best friends \tn % Row Count 16 (+ 1) % Row 9 \SetRowColor{white} se me hace agua la boca & it makes my mouth water \tn % Row Count 18 (+ 2) % Row 10 \SetRowColor{LightBackground} tiene más lana que un borrego & to be loaded (with cash) \tn % Row Count 20 (+ 2) % Row 11 \SetRowColor{white} (es como) echar agua al mar & to do something pointless \tn % Row Count 22 (+ 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}{Superlative}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Most}} \newline % Row Count 1 (+ 1) {\emph{definite article}} (el, la, los, las) + más + {\emph{adjective}} \newline % Row Count 3 (+ 2) {\bf{Least}} \newline % Row Count 4 (+ 1) {\emph{definite article}} (el, la, los, las) + menos + {\emph{adjective}}% Row Count 6 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.23965 cm} x{2.73735 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Adverbios}} \tn % Row 0 \SetRowColor{LightBackground} Nadie (none) & Alguien (someone) \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Nada (nothing) & Todo (everything) \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Nunca (never) & Siempre (always) \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{} \tn % Row Count 3 (+ 0) % Row 4 \SetRowColor{LightBackground} Ningún (any) & Algún (some) \tn % Row Count 4 (+ 1) % Row 5 \SetRowColor{white} Ninguna & Alguna \tn % Row Count 5 (+ 1) % Row 6 \SetRowColor{LightBackground} Ninguno & Alguno \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Double negatives should be used: \newline \newline {\emph{¿Tienes algún libro?}} \newline {\emph{No tengo ningún libro.}}} \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}{Por}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Localizacion indeterminada: espacio y tiempo} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Causa} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Intercambio/Dinero} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Medio} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Distribucíon} \tn % Row Count 5 (+ 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}{Preterito Perfecto}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Used for something that still has a connection to the present. \newline % Row Count 2 (+ 2) (no) + (me) + {\emph{haber}} + {\emph{participio}} \newline % Row Count 3 (+ 1) Haber is conjugated in the present tense: \newline % Row Count 4 (+ 1) Yo {\bf{he}} \newline % Row Count 5 (+ 1) Tu {\bf{has}} \newline % Row Count 6 (+ 1) El/Ella {\bf{ha}} \newline % Row Count 7 (+ 1) Nosotros {\bf{hemos}} \newline % Row Count 8 (+ 1) Vosotros {\bf{habéis}} \newline % Row Count 9 (+ 1) Ellos/Ellas {\bf{han}} \newline % Row Count 10 (+ 1) {\bf{Perfect Partiple}} \newline % Row Count 11 (+ 1) The perfect participle is constructed by removing the {\emph{-ar}}, {\emph{-ir}} or {\emph{-er}}, and adding {\bf{-ado}} and {\bf{-ido}}% Row Count 14 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{ya - already \newline {\emph{Ya he comida}} \newline \newline todavia - still/yet \newline {\emph{todavia no he hecho los deberes}} \newline \newline alguna vez - ever \newline {\emph{¿Has ido alguna vez a Londres?}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.73275 cm} x{1.24425 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Irregular Perfect Participles}} \tn % Row 0 \SetRowColor{LightBackground} abrir (to open) & abierto \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} decir (to say) & dicho \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} escribir (to write) & escrito \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} hacer (to do) & hecho \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} freir (to fry) & frito \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} imprimir (to print) & impreso \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} morir (to die) & muerto \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} poner (to put/to place) & puesto \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} proveer (to provide) & provisto \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} suscribir (to subscribe) & suscrito \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} ver (to see) & visto \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} volver (to return) & vuelto \tn % Row Count 12 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}