\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{Zarioch (Zarioch)} \pdfinfo{ /Title (russian-prepositions.pdf) /Creator (Cheatography) /Author (Zarioch (Zarioch)) /Subject (Russian prepositions 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}{016E05} \definecolor{LightBackground}{HTML}{F7FAF7} \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{Russian prepositions Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Zarioch (Zarioch)} via \textcolor{DarkBackground}{\uline{cheatography.com/186375/cs/38946/}}} \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}Zarioch (Zarioch) \\ \uline{cheatography.com/zarioch} \\ \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 26th May, 2023.\\ 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{1.296 cm} x{1.512 cm} x{1.296 cm} x{3.096 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Time}} \tn % Row 0 \SetRowColor{LightBackground} В & at & \seqsplit{Genitive} & Я прихожу на работу {\bf{в}} 11 утра \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} C & since & \seqsplit{Genitive} & Я работаю {\bf{с}} 11 утра \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} До & until & \seqsplit{Genitive} & Я работаю {\bf{до}} 7 вечера \tn % Row Count 10 (+ 3) % Row 3 \SetRowColor{white} \seqsplit{Назад} & ago (past only) & \seqsplit{Genitive} \seqsplit{(before)} & Я работал в офисе 3 месяца {\bf{назад}} \tn % Row Count 14 (+ 4) % Row 4 \SetRowColor{LightBackground} К & by (future only) & Dative & Я приду в офис {\bf{к}} 11 утра \tn % Row Count 17 (+ 3) % Row 5 \SetRowColor{white} В \seqsplit{течение} & for (period of time) & \seqsplit{Genitive} & Я работаю в этой компании {\bf{в течение}} полугода \tn % Row Count 22 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{Combining both {\emph{с}} and {\emph{ до}} is possible, to mean "from... to...." \newline (Я работаю с 11 утра до 7 вечера)} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.08 cm} x{2.088 cm} x{1.008 cm} x{3.024 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Location}} \tn % Row 0 \SetRowColor{LightBackground} В & in & \seqsplit{Prepositional} & Я {\bf{в}} офисе \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} На & at & \seqsplit{Prepositional} & Я {\bf{на}} работе \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Из & from (one place to another) & \seqsplit{Genitive} & Я {\bf{из}} Москвы \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} У & near & \seqsplit{Genitive} & Я сейчас {\bf{у}} реки \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{Возле} & near & \seqsplit{Genitive} & Я сейчас {\bf{возле}} реки \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} \seqsplit{Около} & near & \seqsplit{Genitive} & Я сейчас {\bf{около}} реки \tn % Row Count 17 (+ 3) % Row 6 \SetRowColor{LightBackground} \seqsplit{Позади} & behind & \seqsplit{Genitive} & {\bf{Позади}} стола стояли два стула \tn % Row Count 21 (+ 4) % Row 7 \SetRowColor{white} \seqsplit{Впереди} & in front & \seqsplit{Genitive} & Он ехал {\bf{впереди}} всех \tn % Row Count 24 (+ 3) % Row 8 \SetRowColor{LightBackground} \seqsplit{Под} & under (static) & \seqsplit{Instrumental} & Кот {\bf{под}} столом \tn % Row Count 27 (+ 3) % Row 9 \SetRowColor{white} \seqsplit{Над} & above (static) & \seqsplit{Instrumental} & {\bf{Над}} нами солнце \tn % Row Count 30 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{No specific rule between {\emph{в}} and {\emph{на}}. In case of doubt, use {\emph{в}}.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.52 cm} x{1.44 cm} p{0.792 cm} x{2.448 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Relation}} \tn % Row 0 \SetRowColor{LightBackground} О \textasciicircum{}(next word starts w/ consonant)\textasciicircum{}/ Об \textasciicircum{}(next w starts w/ vowel)\textasciicircum{} & about & \seqsplit{Prepositional} & Я хочу \seqsplit{рассказать} тебе {\bf{о}} Джейн \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} От & from (means of \seqsplit{knowing)} & \seqsplit{Genitive} & Я узнала об этом {\bf{от}} Джейн \tn % Row Count 9 (+ 4) % Row 2 \SetRowColor{LightBackground} Из-за & because of \seqsplit{(reason)} & \seqsplit{Genitive} & Это \seqsplit{случилось} {\bf{из-за}} меня \tn % Row Count 13 (+ 4) % Row 3 \SetRowColor{white} \seqsplit{Согласно} & \seqsplit{according} to & \seqsplit{Dative} & {\bf{Согласно}} отчёту, он уволен \tn % Row Count 17 (+ 4) % Row 4 \SetRowColor{LightBackground} Кроме & apart from & \seqsplit{Genitive} & {\bf{Кроме}} меня там никого не было \tn % Row Count 22 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.72 cm} x{1.44 cm} x{1.224 cm} x{3.816 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Nominative}} \tn % Row 0 \SetRowColor{LightBackground} в & in, into, as a & to new state & Он пришёл к нам {\bf{в}} гости. \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} за & what a ... & \seqsplit{idiomatic} & \tn % Row Count 5 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{Up for debate. Better to stay clear of those as a beginner.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.9 cm} x{1.596 cm} x{4.104 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Genitive}} \tn % Row 0 \SetRowColor{LightBackground} без & without & \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{вдоль} & along & \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \seqsplit{вместо} & instead of & \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} вне & outside & \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \seqsplit{внутри} & inside & static, indicates position \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} \seqsplit{внутрь} & inside & indicates movement \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} \seqsplit{возле} & near & \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} для & for & "for you" \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.008 cm} x{2.16 cm} x{1.8 cm} x{2.232 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Dative}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{к(о)} & to, towards & idea of movement & Ваза \seqsplit{пододвинута} {\bf{к}} краю стола. \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} по & 'along, round, by means \seqsplit{(communication)}, on (days)' & many meanings & \tn % Row Count 10 (+ 5) % Row 2 \SetRowColor{LightBackground} \seqsplit{благодаря} & thanks to & & Я живу {\bf{благодаря}} моему другу. \tn % Row Count 15 (+ 5) % Row 3 \SetRowColor{white} \seqsplit{вопреки} & contrary to, in spite of & & Я живу, {\bf{несмотря}} на свою \seqsplit{болезнь}. \tn % Row Count 21 (+ 6) % Row 4 \SetRowColor{LightBackground} \seqsplit{наперекор} & in defiance of & like \seqsplit{вопреки} but stronger & \tn % Row Count 25 (+ 4) % Row 5 \SetRowColor{white} \seqsplit{согласно} & according to, in line with & & {\bf{Согласно}} \seqsplit{нашему} \seqsplit{договору}, вы \seqsplit{платите}. \tn % Row Count 31 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.72 cm} x{1.584 cm} x{2.448 cm} x{2.448 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Accusative}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{в(о)} & to, into, in & when movement is involved & \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} на & to, on to & idea of movement & Книга упала {\bf{на}} пол. \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} за & for & & {\bf{За}} Родину! \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} о & against \seqsplit{(physical} \seqsplit{contact)} & & волны бьются {\bf{о}} скалы \tn % Row Count 11 (+ 4) % Row 4 \SetRowColor{LightBackground} \seqsplit{под} & under & when movement into a position is involved & Я \seqsplit{нахожусь} {\bf{под}} \seqsplit{давлением}. \tn % Row Count 15 (+ 4) % Row 5 \SetRowColor{white} по & up to, as far as & 'up to' a certain point in space or time & \tn % Row Count 19 (+ 4) % Row 6 \SetRowColor{LightBackground} \seqsplit{про} & on the topic of & & Эта \seqsplit{история} {\bf{про}} кошку. \tn % Row Count 23 (+ 4) % Row 7 \SetRowColor{white} \seqsplit{сквозь} & through, across & physically through a hole & Я \seqsplit{протиснулся} {\bf{сквозь}} дыру \tn % Row Count 27 (+ 4) % Row 8 \SetRowColor{LightBackground} \seqsplit{через} & across, through, over & more general than сквозь & Я шел {\bf{через}} реку \tn % Row Count 30 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}