\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{dicewitch (dicewitch)} \pdfinfo{ /Title (swedish-introductions.pdf) /Creator (Cheatography) /Author (dicewitch (dicewitch)) /Subject (Swedish Introductions 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}{1C29A3} \definecolor{LightBackground}{HTML}{F0F1F9} \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{Swedish Introductions Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{dicewitch (dicewitch)} via \textcolor{DarkBackground}{\uline{cheatography.com/38332/cs/11959/}}} \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}dicewitch (dicewitch) \\ \uline{cheatography.com/dicewitch} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 30th May, 2017.\\ Updated 30th May, 2017.\\ 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{2.53827 cm} x{2.43873 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Survival phrases}} \tn % Row 0 \SetRowColor{LightBackground} Jag f{\"o}rstår inte. & I don't understand. \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Hur s{\"a}ger man ... på svenska? & How do you say ... in Swedish? \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} Vad betyder ... ? & What does ... mean? \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Hur stavar man det/(...)? & How do you spell that/(...)? \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} Kan du skriva det? & Can you write it out? \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} Kan du f{\"o}rklara... & Can you explain... \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} Långsammare. & Slower. \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} En gång till. & One more time. \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.28942 cm} x{2.68758 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Hur mår du?}} \tn % Row 0 \SetRowColor{LightBackground} Jag mår... & Jag {\"a}r... \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} ☺ bra & 😠 arg \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 😁 toppen & 😟 stressad \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 👍 utm{\"a}rkt & 😊 n{\"o}jd \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 😐 så d{\"a}r & 😪 tr{\"o}tt \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} ☹ dåligt & 😢 deprimerad \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} & 😀 peppad \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} & 😨 r{\"a}dd \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.43873 cm} x{2.53827 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Vad jobbar du som?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Jag {\"a}r...} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 🎨 konstn{\"a}r & 🏥 sjuksj{\"o}terska \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 💇 fris{\"o}r & 💻 programmerare \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 📷 fotograf & 🔧 mekaniker \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 📐 arkitekt & 📈 m{\"a}klare \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} 📝 sekreterare & 🍎 l{\"a}rare \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} 🎓 student & 💉 l{\"a}kare \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} 👮 polis & 👷 byggarbetare \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} 🚌 busschauff{\"o}r & 🚕 taxif{\"o}rare \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} 🔨 hantverkare & ⚖ advokat \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} 🔬 forskare & 📰 journalist \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} 💰 bankman & 🚮 st{\"a}dare \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} 🎦 skådespelare & 🍻 bartender \tn % Row Count 13 (+ 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}{Introductions}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Vad heter du?} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Jag heter ...} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Vart kommer du ifrån?} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Jag kommer ifrån ...} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Hur gammal {\"a}r du?} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Jag {\"a}r ... år gammal.} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Hur mår du?} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Jag mår ...} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Vad jobbar du med?} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Jag {\"a}r ...} \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Vad tycker du om (att g{\"o}ra)?} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Jag tycker om (att)} \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.4839 cm} x{1.4931 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Nationer}} \tn % Row 0 \SetRowColor{LightBackground} Bulgarien & Brasilien \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Colombia & Danmark \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Dominikanska republiken & Egypten \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Finland & Frankrike \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Grekland & Holland \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Indien & Indonesien \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Irak & Mexiko \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Norge & Panama \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Polen & Schweiz \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} Österrike & Australien \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} Japan & Ryssland \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} Storbritannien & Turkiet \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} Spanien & Estland \tn % Row Count 13 (+ 1) % Row 13 \SetRowColor{white} Marocko & Sverige \tn % Row Count 14 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.08602 cm} x{1.08602 cm} x{1.00248 cm} x{1.00248 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Siffror 1 - 20}} \tn % Row 0 \SetRowColor{LightBackground} 1 ett & 2 två & 3 tre & 4 fyra \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 5 fem & 6 sex & 7 sju & 8 åtta \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 9 nio & 10 tio & 11 elva & 12 tolv \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 13 tretton & 14 fjorton & 15 femton & 16 sexton \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 17 sjutton & 18 arton & 19 nitton & 20 tjugo \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Siffror 20-99}} \tn % Row 0 \SetRowColor{LightBackground} 20 & tjugo \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 30 & trettio \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 40 & fyrtio \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 50 & femtio \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 60 & sextio \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} 70 & sjuttio \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} 80 & åttio \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} 90 & nittio \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} 100 & ett hundra \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Numbers 20-99 a formed regularly following the same pattern as 20-29. 21 is tjugo+ett, 22 is tjugo+två and so on.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.38896 cm} x{2.58804 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Jag tycker om...}} \tn % Row 0 \SetRowColor{LightBackground} 🏇 att rida & 🏂 att åka snowboard \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 🏄att surfa & 🏊 att simma \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} 🚴 att cykla & ⚽ att spela fotboll \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} 🎿 att åka skidor & 🎧 att lyssna på musik \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} 🎮 att spela tv-spel & 🎲 att spela br{\"a}dspel \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} 🎸 att spela gitarr & 🎹 att spela piano \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} 🎣 att fiska & ⛸ att åka skridskor \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} 🎻 att spela fiol & ⛺ att t{\"a}lta \tn % Row Count 14 (+ 1) % Row 8 \SetRowColor{LightBackground} 📖 att l{\"a}sa & 📺 att titta på tv \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} ✒ att skriva & 🎤 att sjunga \tn % Row Count 17 (+ 1) % Row 10 \SetRowColor{LightBackground} 🔫 att skjuta & 💃 att dansa \tn % Row Count 18 (+ 1) % Row 11 \SetRowColor{white} 🏃 att springa & 🎥 att kolla på filmer \tn % Row Count 20 (+ 2) % Row 12 \SetRowColor{LightBackground} 🍞 att baka & 🍳 att laga mat \tn % Row Count 21 (+ 1) % Row 13 \SetRowColor{white} ☕ att dricka te/kaffe & 🍷 att dricka vin \tn % Row Count 23 (+ 2) % Row 14 \SetRowColor{LightBackground} 🍺 att dricka {\"o}l & 💪 att tr{\"a}na \tn % Row Count 24 (+ 1) % Row 15 \SetRowColor{white} ✈ att resa & 🏬 att gå och handla \tn % Row Count 26 (+ 2) % Row 16 \SetRowColor{LightBackground} 🎫 att gå på bio & 🎼 att skriva musik \tn % Row Count 28 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}