\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{Frederic Villemin (fredv)} \pdfinfo{ /Title (gmail.pdf) /Creator (Cheatography) /Author (Frederic Villemin (fredv)) /Subject (Gmail 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}{FF4112} \definecolor{LightBackground}{HTML}{FFF3F0} \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{Gmail Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Frederic Villemin (fredv)} via \textcolor{DarkBackground}{\uline{cheatography.com/50/cs/66/}}} \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}Frederic Villemin (fredv) \\ \uline{cheatography.com/fredv} \\ \uline{\seqsplit{www}.tasteofindie.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 3rd November, 2011.\\ 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{3.68298 cm} x{1.29402 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Gmail Navigation}} \tn % Row 0 \SetRowColor{LightBackground} Back to threadlist (or refresh threadlist) & u \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Newer / older conversation & k / j \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{O}}pen conversation ; collapse/expand & o {\emph{or}} {\emph{Enter}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Read {\bf{p}}revious / {\bf{n}}ext message & p / n \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} Go to next inbox section & ` \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} Go to previous inbox section & \textasciitilde{} \tn % Row Count 9 (+ 1) \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}{Gmail Jumping}} \tn % Row 0 \SetRowColor{LightBackground} Open {\bf{I}}nbox & g {\emph{then}} i \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Open {\bf{S}}tarred conversations & g {\emph{then}} s \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Open Sen{\bf{t}} messages & g {\emph{then}} t \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Open {\bf{D}}rafts & g {\emph{then}} d \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Open {\bf{A}}ll messages & g {\emph{then}} a \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Open {\bf{C}}ontacts & g {\emph{then}} c \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Go to {\bf{B}}uzz & g {\emph{then}} b \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Go to {\bf{l}}abel & g {\emph{then}} l \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Go to Tas{\bf{k}}s & g {\emph{then}} k \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.78252 cm} x{1.19448 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Gmail Threadlist selection}} \tn % Row 0 \SetRowColor{LightBackground} select {\bf{a}}ll conversations & * {\emph{then}} a \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} deselect all conversations & * {\emph{then}} n \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} select {\bf{r}}ead conversations & * {\emph{then}} r \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} select {\bf{u}}nread conversations & * {\emph{then}} u \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} select {\bf{s}}tarred conversations & * {\emph{then}} s \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} select uns{\bf{t}}arred conversations & * {\emph{then}} t \tn % Row Count 12 (+ 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}{Gmail Tips and tricks}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Press {\bf{u}} to refresh the threadlist} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 1 (+ 0) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{For multi selection, select a conversation then {\emph{shift}}+click another one to select all the conversations in between} \tn % Row Count 4 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 4 (+ 0) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Add EOM (end of message) in the subject to avoid the no-text-in-body warning} \tn % Row Count 6 (+ 2) \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}{Gmail Application}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{c}}ompose & c \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} compose with cc a{\bf{d}}ded & d \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} compose with cc and {\bf{b}}cc added & b \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} search & / \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} focus chat contact search & q \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} open shortcut help & ? \tn % Row Count 6 (+ 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}{Gmail Search syntax}} \tn % Row 0 \SetRowColor{LightBackground} From & from:{[}arg{]} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} To & to:{[}arg{]} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Label & label:{[}arg{]} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Subject & subject:{[}arg{]} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Doesn't contain & -{[}arg{]} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Has attachment & has:attachment \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Attachment filename & filename:{[}filename{]} \tn % Row Count 8 (+ 2) % Row 7 \SetRowColor{white} Before (date) & \seqsplit{before:2011/11/20} \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} After (date) & after:2011/11/20 \tn % Row Count 10 (+ 1) % Row 9 \SetRowColor{white} OR operator & from:annie OR from:david \tn % Row Count 12 (+ 2) % Row 10 \SetRowColor{LightBackground} Mailing lists & list:{[}arg{]} \tn % Row Count 13 (+ 1) % Row 11 \SetRowColor{white} Group words & subject:(word1 word2) \tn % Row Count 15 (+ 2) % Row 12 \SetRowColor{LightBackground} Search in all boxes (except spam \& trash) & in:anywhere \tn % Row Count 17 (+ 2) % Row 13 \SetRowColor{white} Search in a specific box & in:trash in:inbox in:spam \tn % Row Count 19 (+ 2) % Row 14 \SetRowColor{LightBackground} Search specific messages & is:starred is:read is:unread \tn % Row Count 21 (+ 2) % Row 15 \SetRowColor{white} Search in chats & is:chat \tn % Row Count 22 (+ 1) % Row 16 \SetRowColor{LightBackground} Search for copy recipients & cc:{[}arg{]} bcc:{[}arg{]} \tn % Row Count 24 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{[}arg{]} can be a word, or an email adress \newline {[}filename{]} can be a filename or a part of a filename} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \columnbreak \begin{tabularx}{5.377cm}{x{3.33459 cm} x{1.64241 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Gmail Actions}} \tn % Row 0 \SetRowColor{LightBackground} move focus to toolbar & , \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} select conversation & x \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} rotate superstar & s \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} remove label & y \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} archive & e \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} ignore conversation & m \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} report as spam & ! \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} open mo{\bf{v}}e-to menu & v \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} move to trash & \# \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} {\bf{r}}eply & r \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} {\bf{r}}eply in a new window & {\emph{Shift}}+r \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} reply {\bf{a}}ll & a \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} reply {\bf{a}}ll in a new window & {\emph{Shift}}+a \tn % Row Count 14 (+ 2) % Row 13 \SetRowColor{white} {\bf{f}}orward & f \tn % Row Count 15 (+ 1) % Row 14 \SetRowColor{LightBackground} {\bf{f}}orward in a new window & {\emph{Shift}}+f \tn % Row Count 17 (+ 2) % Row 15 \SetRowColor{white} update conversation & {\emph{Shift}}+n \tn % Row Count 18 (+ 1) % Row 16 \SetRowColor{LightBackground} send mail & {\emph{Tab}} then {\emph{Enter}} \tn % Row Count 20 (+ 2) % Row 17 \SetRowColor{white} focus last chat mole & {\emph{Esc}} \tn % Row Count 21 (+ 1) % Row 18 \SetRowColor{LightBackground} remove and go previous / next & {]} / {[} \tn % Row Count 23 (+ 2) % Row 19 \SetRowColor{white} archive and go previous / next & \} / \{ \tn % Row Count 25 (+ 2) % Row 20 \SetRowColor{LightBackground} undo last action & z \tn % Row Count 26 (+ 1) % Row 21 \SetRowColor{white} open more actions menu & . \tn % Row Count 27 (+ 1) % Row 22 \SetRowColor{LightBackground} open labels menu & l \tn % Row Count 28 (+ 1) % Row 23 \SetRowColor{white} mark as read & {\emph{Shift}}+i \tn % Row Count 29 (+ 1) % Row 24 \SetRowColor{LightBackground} mark as unread & {\emph{Shift}}+u \tn % Row Count 30 (+ 1) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{3.33459 cm} x{1.64241 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Gmail Actions (cont)}} \tn % Row 25 \SetRowColor{LightBackground} mark unread from the selected message & \_ \tn % Row Count 2 (+ 2) % Row 26 \SetRowColor{white} {\bf{s}}ave draft & {\emph{Ctrl}}+s \tn % Row Count 3 (+ 1) % Row 27 \SetRowColor{LightBackground} mark as important & + or = \tn % Row Count 4 (+ 1) % Row 28 \SetRowColor{white} mark as not important & - \tn % Row Count 5 (+ 1) % Row 29 \SetRowColor{LightBackground} like / unlike buzz & {\emph{Shift}}+l \tn % Row Count 6 (+ 1) % Row 30 \SetRowColor{white} sneak peek & h \tn % Row Count 7 (+ 1) % Row 31 \SetRowColor{LightBackground} make a {\bf{p}}hone call & g {\emph{then}} p \tn % Row Count 8 (+ 1) % Row 32 \SetRowColor{white} launch Old Snakey & \& \tn % Row Count 9 (+ 1) % Row 33 \SetRowColor{LightBackground} add conversation to {\bf{t}}asks & {\emph{Shift}}+t \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}