\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{Ty10x (dpanthe1)} \pdfinfo{ /Title (basic-spanish.pdf) /Creator (Cheatography) /Author (Ty10x (dpanthe1)) /Subject (Basic Spanish 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}{78C406} \definecolor{LightBackground}{HTML}{F6FBEF} \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{Basic Spanish Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Ty10x (dpanthe1)} via \textcolor{DarkBackground}{\uline{cheatography.com/121132/cs/22608/}}} \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}Ty10x (dpanthe1) \\ \uline{cheatography.com/dpanthe1} \\ \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 4th July, 2020.\\ 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*}{2} \begin{tabularx}{8.4cm}{x{4.4 cm} x{3.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Seasons}} \tn % Row 0 \SetRowColor{LightBackground} Primavera & Spring \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Verano & Summer \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Otono & Fall \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Invierno & Winter \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} El año & The year \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} El mes & The month \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} La semana & The week \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Las estaciones- seasons} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{3.44 cm} x{4.56 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Colores}} \tn % Row 0 \SetRowColor{LightBackground} Red & Rojo \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Yellow & Amarillo \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Green & Verde \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Blue & Azul \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Orange & Naranja \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Pink & Rosa \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Purple & Violeta \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Black & Negro \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} White & Blanco \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.24 cm} x{3.76 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Meses}} \tn % Row 0 \SetRowColor{LightBackground} Enero & January \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Febrero & February \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Marzo & March \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Abril & April \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Mayo & May \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Junio & June \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Julio & July \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Agosto & August \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Septiembre & September \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} Octubre & October \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} Noviembre & November \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} Diciembre & December \tn % Row Count 12 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dias de la Semana}} \tn % Row 0 \SetRowColor{LightBackground} Lunes & Monday \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Martez & Tuesday \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Miercoles & Wednesday \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Jueves & Thursday \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Viernes & Friday \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Sabado & Saturday \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Domingo & Sunday \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.24 cm} x{5.76 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{words to know}} \tn % Row 0 \SetRowColor{LightBackground} fue & he was, she was, it was \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} así & like this \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} entendito & got it \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Números 1 - 20}} \tn % Row 0 \SetRowColor{LightBackground} 1- Uno & 11 - Once \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 2 - Dos & 12 - Doce \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 3 - Thres & 13 - Trece \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 4 - Cuatro & 14 - Catorce \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 5 - Cinco & 15 - Quince \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} 6 - Seis & 16 - Dieciseis \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} 7 - Siete & 17 - Diecisiete \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} 8 - Ocho & 18 - Dieciocho \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} 9 - Nueve & 19 - Diecinueve \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} 10 - Diez & 20 - Veinte \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.08 cm} x{5.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Números 20 - 100}} \tn % Row 0 \SetRowColor{LightBackground} 20 - Veinte & veintiuno, veintidos, veintitres... \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 30 - Treinta & treinta y uno, ... \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} 40 - Cuarenta & cuarenta y uno, ... \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} 50 - Cincuenta & cincuenta y uno, ... \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} 60 - Sesenta & sesenta y uno, ... \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} 70 - Setenta & setenta y uno, ... \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} 80 - Ochenta & ochenta y uno, ... \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} 90 - Noventa & noventa y uno, ... \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} 100 - Cien & ciento uno, ciento dos, ... \tn % Row Count 17 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.792 cm} x{3.168 cm} x{1.008 cm} x{2.232 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Simple prepositions}} \tn % Row 0 \SetRowColor{LightBackground} {\emph{Spanish}} & {\emph{English}} & {\emph{Spanish}} & {\emph{English}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} a & to, at & ante & before, in the presence of \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} bajo & under & con & with \tn % Row Count 7 (+ 1) % Row 3 \SetRowColor{white} \seqsplit{contra} & against & de & of, from \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} desde & from, since & \seqsplit{detrás} (de) & behind \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} en & in, on, at & entre & between, among \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} hacia & until, toward & hasta & until, toward \tn % Row Count 16 (+ 2) % Row 7 \SetRowColor{white} para & for, in order to & por & for, by \tn % Row Count 17 (+ 1) % Row 8 \SetRowColor{LightBackground} \seqsplit{según} & according to & sin & without \tn % Row Count 19 (+ 2) % Row 9 \SetRowColor{white} sobre & about, on, upon, above, over, around & tras & after, behind \tn % Row Count 22 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.28 cm} x{4.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Answering "no"}} \tn % Row 0 \SetRowColor{LightBackground} ni...ni... & neither . . . nor \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} tampoco & neither, not either \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} jamás, nunca & never, (not) ever \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} nadie & no one, nobody \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} ninguno(a) & no, none, (not) any \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.32 cm} x{3.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Las Palabras Interrogatives}} \tn % Row 0 \SetRowColor{LightBackground} ¿Cuál(es)? & What? Which one(s)? \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} ¿Que? & What? \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} ¿Como? & How? \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} ¿Por qué? & Why? (for what reason) \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} ¿Para qué? & Why? (for what purpose) \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} ¿Donde? & Where? \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} ¿De donde? & From where? \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} ¿Adonde? & To Where? \tn % Row Count 11 (+ 1) % Row 8 \SetRowColor{LightBackground} ¿Quien/Quienes? & Who? \tn % Row Count 12 (+ 1) % Row 9 \SetRowColor{white} ¿De quién? & Whose? \tn % Row Count 13 (+ 1) % Row 10 \SetRowColor{LightBackground} ¿A quién? & (To) whom? \tn % Row Count 14 (+ 1) % Row 11 \SetRowColor{white} ¿Cuánto(s)? ¿Cuánta(s)? & How many? \tn % Row Count 16 (+ 2) % Row 12 \SetRowColor{LightBackground} ¿Cuando? & When? \tn % Row Count 17 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Por qué = why \newline Porque = because} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.944 cm} x{1.8 cm} x{2.16 cm} x{1.296 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Demonstrative Adjectives}} \tn % Row 0 \SetRowColor{LightBackground} Number & Masculine & Feminine & \seqsplit{Meaning} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{Singular/Plural} & \seqsplit{este/estos} & esta/estas & \seqsplit{this/these} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Singular/Plural} & ese/esos & esa/esas & \seqsplit{that/those} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{Singular/Plural} & \seqsplit{aquel/aquellos} & \seqsplit{aquella/aquellas} & \seqsplit{that/those} \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{aquel / aquellos / aquella / aquellas - Far from and not directly concerned with speaker} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}