\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{Mist. GraphX (Mist. GraphX)} \pdfinfo{ /Title (sketch.pdf) /Creator (Cheatography) /Author (Mist. GraphX (Mist. GraphX)) /Subject (Sketch 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}{666666} \definecolor{LightBackground}{HTML}{F5F5F5} \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{Sketch Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Mist. GraphX (Mist. GraphX)} via \textcolor{DarkBackground}{\uline{cheatography.com/1461/cs/5519/}}} \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}Mist. GraphX (Mist. GraphX) \\ \uline{cheatography.com/mist-graphx} \\ \uline{\seqsplit{www}.mister-graphx.com} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 22nd December, 2015.\\ Updated 13th 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} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Sketch3 Keyboard shortcuts}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/mist-graphx_1445763894_sletch-app-icon.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Sketch 3 official website: \newline \{\{link="https://www.sketchapp.com/"\}\}Sketch App Website\{\{/link\}\} \newline \newline Some ressources files for Sketch 3: \newline \{\{link="http://www.sketchappsources.com/"\}\}SketchApp Sources\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{4.4793 cm} p{0.4977 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Insert}} \tn % Row 0 \SetRowColor{LightBackground} New Artboard & A \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Slice & S \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Rectangle & R \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Rounded Rectangle & U \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Oval & O \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Line & L \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Vector Point & V \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Pencil & P \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Text & T \tn % Row Count 9 (+ 1) \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}{Type}} \tn % Row 0 \SetRowColor{LightBackground} Bold & Cmd + B \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Italic & Cmd + I \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Underline & Cmd + U \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Increase Font Size & Alt + Cmd (+) + \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Decrease Font Size & Alt + Cmd (+) – \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Increase Character Spacing & Alt + Control + L \tn % Row Count 7 (+ 2) % Row 6 \SetRowColor{LightBackground} Decrease Character Spacing & Alt + Control + T \tn % Row Count 9 (+ 2) % Row 7 \SetRowColor{white} Change Font & Cmd + T \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} Convert Text to Outlines & Shift + Cmd + O \tn % Row Count 12 (+ 2) % Row 9 \SetRowColor{white} Align Left & Cmd + Shift + \{ \tn % Row Count 13 (+ 1) % Row 10 \SetRowColor{LightBackground} Align Center & Cmd + Shift + | \tn % Row Count 14 (+ 1) % Row 11 \SetRowColor{white} Align Right & Cmd + Shift + \} \tn % Row Count 15 (+ 1) % Row 12 \SetRowColor{LightBackground} Special Characters & Control + Cmd + Space \tn % Row Count 17 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.53367 cm} x{1.44333 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Canvas view}} \tn % Row 0 \SetRowColor{LightBackground} Zoom In & Cmd (+) + \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Zoom Out & Cmd (+) - \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Actual Size & Cmd + 0 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Center Canvas & Cmd + 1 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Zoom Selection & Cmd + 2 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Center Selection & Cmd + 3 \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Temporary Zoom to Actual Size & § \tn % Row Count 8 (+ 2) % Row 7 \SetRowColor{white} Focus on First Input Field & Alt + Tab \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} Toggle Rulers & Control + R \tn % Row Count 10 (+ 1) % Row 9 \SetRowColor{white} Toggle Grid & Control + G \tn % Row Count 11 (+ 1) % Row 10 \SetRowColor{LightBackground} Toggle Layer Guides & Control + L \tn % Row Count 12 (+ 1) % Row 11 \SetRowColor{white} Toggle Selection Handles & Control + H \tn % Row Count 13 (+ 1) % Row 12 \SetRowColor{LightBackground} Toggle Pixel Grid & Control + X \tn % Row Count 14 (+ 1) % Row 13 \SetRowColor{white} Move canvas & Space + Drag \tn % Row Count 16 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.93643 cm} x{2.04057 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Window}} \tn % Row 0 \SetRowColor{LightBackground} Toggle between Documents & Cmd + \textasciitilde{} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Toggle Layers List & Alt + Cmd + 1 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Toggle Inspector & Alt + Cmd + 2 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Toggle Layers, Inspector & Alt + Cmd + 3 \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} Toggle Toolbar & Alt + Cmd + T \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} Presentation Mode & Cmd + . \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} Enter Fullscreen & Control + Cmd + F \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.33919 cm} x{2.63781 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Arranging Layers, Groups and Artboards}} \tn % Row 0 \SetRowColor{LightBackground} Bring Forward & Alt + Cmd + ↑ \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Bring to Front & Control + Alt + Cmd + ↑ \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} Send Backward & Alt + Cmd + ↓ \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Sent to Back & Control + Alt + Cmd + ↓ \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} Hide & Shift + Cmd + H \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} Lock & Shift + Cmd + L \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} Rename & Cmd + R \tn % Row Count 9 (+ 1) % Row 7 \SetRowColor{white} Group Layers & Cmd + G \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} Ungroup Layers & Shift + Cmd + G \tn % Row Count 11 (+ 1) % Row 9 \SetRowColor{white} Select Above Layer & Shift + Tab \tn % Row Count 12 (+ 1) % Row 10 \SetRowColor{LightBackground} Select Layer Below & Tab \tn % Row Count 13 (+ 1) % Row 11 \SetRowColor{white} Select Parent Artboard & Esc \tn % Row Count 15 (+ 2) % Row 12 \SetRowColor{LightBackground} Find Layer by Name & Cmd + F \tn % Row Count 16 (+ 1) % Row 13 \SetRowColor{white} Select Above Page & Fn + ↑ \tn % Row Count 17 (+ 1) % Row 14 \SetRowColor{LightBackground} Select Page Below & Fn + ↓ \tn % Row Count 18 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.33459 cm} x{1.64241 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Editing Shapes}} \tn % Row 0 \SetRowColor{LightBackground} Keep Current Selection & Cmd + Alt \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Use as Mask span (Works for Layers \& Groups) & Control + Cmd + M \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} Union & Alt + Cmd + U \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Substract & Alt + Cmd + S \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Intersect & Alt + Cmd + I \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} Difference & Alt + Cmd + X \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} Change Object Size & Cmd + Arrows \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} Change Units by 10 & Shift + Cmd + Arrows \tn % Row Count 10 (+ 2) % Row 8 \SetRowColor{LightBackground} Change Vector Point Style & 1, 2, 3, 4 \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.63321 cm} x{1.34379 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Editing Layers}} \tn % Row 0 \SetRowColor{LightBackground} Show Distance to other Layers & Alt \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Show Distance to other Layers inside Group & Alt + Cmd \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} Duplicate (Repeat with ⌘D) & Alt + Drag \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Copy Style & Alt + Cmd + C \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} Paste Style & Alt + Cmd + V \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} Color Picker & Control + C \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} Transform & Cmd + T \tn % Row Count 11 (+ 1) % Row 7 \SetRowColor{white} Rotate & Shift + Cmd + R \tn % Row Count 13 (+ 2) % Row 8 \SetRowColor{LightBackground} Toggle Fill & F \tn % Row Count 14 (+ 1) % Row 9 \SetRowColor{white} Toggle Border & B \tn % Row Count 15 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}