\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{Roger Baas (roger.baas)} \pdfinfo{ /Title (remember-the-milk.pdf) /Creator (Cheatography) /Author (Roger Baas (roger.baas)) /Subject (Remember The Milk 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}{0060BF} \definecolor{LightBackground}{HTML}{EFF5FB} \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{Remember The Milk Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Roger Baas (roger.baas)} via \textcolor{DarkBackground}{\uline{cheatography.com/26871/cs/10959/}}} \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}Roger Baas (roger.baas) \\ \uline{cheatography.com/roger-baas} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 21st February, 2017.\\ Updated 28th February, 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.73735 cm} x{2.23965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Smart Add Codes}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{} & Due Date \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} ! & Priority \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \# & List or Tag \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} @ & Location \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \textasciitilde{} & Start Date \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} * & Repeat \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} = & Time Estimate \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} + & Give To (email) \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} http://blah.blah & URL \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} //\textless{}your note here\textgreater{} & Note text \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{App Shortcuts}} \tn % Row 0 \SetRowColor{LightBackground} t & Add task/subtask \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} / & Search tasks \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} ; & Show/hide navigation \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} . & Open More menu \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} ? & Open shortcuts help \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.64701 cm} x{4.32999 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Navigation Shortcuts}} \tn % Row 0 \SetRowColor{LightBackground} k / j & Move up / down \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} h & Switch between Incomplete/Completed \tn % Row Count 3 (+ 2) \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}{Actions Shortcuts}} \tn % Row 0 \SetRowColor{LightBackground} c & Complete \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} p & Postpone \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}shift\textgreater{} + p & Postpone by one day \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} w & Change start date \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} d & Change due date \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} f & Change repeats \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} e & Change estimate \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} ! & Change priority \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} 1 & Set priority 1 \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} 2 & Set priority 2 \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} 3 & Set priority 3 \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} 4 & Set no priority \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} m & Change list \tn % Row Count 13 (+ 1) % Row 13 \SetRowColor{white} s & Change tags \tn % Row Count 14 (+ 1) % Row 14 \SetRowColor{LightBackground} l & Change location \tn % Row Count 15 (+ 1) % Row 15 \SetRowColor{white} u & Change URL \tn % Row Count 16 (+ 1) % Row 16 \SetRowColor{LightBackground} \textless{}shift\textgreater{} + u & Open URL \tn % Row Count 17 (+ 1) % Row 17 \SetRowColor{white} v & Give to \tn % Row Count 18 (+ 1) % Row 18 \SetRowColor{LightBackground} b & Set reminder \tn % Row Count 19 (+ 1) % Row 19 \SetRowColor{white} r & Rename \tn % Row Count 20 (+ 1) % Row 20 \SetRowColor{LightBackground} y & Add note \tn % Row Count 21 (+ 1) % Row 21 \SetRowColor{white} \textless{}ctrl\textgreater{} + \textless{}enter\textgreater{} & Save note \tn % Row Count 22 (+ 1) % Row 22 \SetRowColor{LightBackground} i & Select task \tn % Row Count 23 (+ 1) % Row 23 \SetRowColor{white} o & Open task \tn % Row Count 24 (+ 1) % Row 24 \SetRowColor{LightBackground} z & Undo last action \tn % Row Count 25 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.19448 cm} x{3.78252 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Selection Shortcuts}} \tn % Row 0 \SetRowColor{LightBackground} * then a & Select all tasks \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} * then n & Deselect all tasks \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} * then t & Select due today tasks \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} * then o & Select due tomorrow tasks \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} * then v & Select overdue tasks \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.39356 cm} x{3.58344 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Jumping Shortcuts}} \tn % Row 0 \SetRowColor{LightBackground} g then i & Go to Inbox \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} g then a & Go to All Tasks \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} g then t & Go to Today \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} g then o & Go to Tomorrow \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} g then w & Go to This Week \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} g then v & Go to Given to others \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} g then d & Go to Trash \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} g then f & Go to favorites \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} g then m & Go to list \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} g then c & Go to contact \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} g then s & Go to tag \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} g then l & Go to location \tn % Row Count 12 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Date and Time Formats}} \tn % Row 0 \SetRowColor{LightBackground} Today & Today (tod also works) \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Tomorrow & Tomorrow (tom also works) \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \seqsplit{Yesterday} & Yesterday \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 25 Apr & April 25 this year (unless April 25 has passed, in which case it assumes next year) \tn % Row Count 6 (+ 3) % Row 4 \SetRowColor{LightBackground} Apr 25 & April 25 this year (unless April 25 has passed, in which case it assumes next year) \tn % Row Count 9 (+ 3) % Row 5 \SetRowColor{white} \seqsplit{04/25/2016} & April 25, 2016 \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} \seqsplit{25/04/2016} & April 25, 2016 \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} \seqsplit{2016/04/25} & April 25, 2016 \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} \seqsplit{2016-04-25} & April 25, 2016 \tn % Row Count 17 (+ 2) % Row 9 \SetRowColor{white} 25th & 25th day of the current month \tn % Row Count 18 (+ 1) % Row 10 \SetRowColor{LightBackground} End of month & Last day of the current month \tn % Row Count 20 (+ 2) % Row 11 \SetRowColor{white} Friday & The next Friday to occur \tn % Row Count 21 (+ 1) % Row 12 \SetRowColor{LightBackground} Next Friday & The second Friday to occur \tn % Row Count 23 (+ 2) % Row 13 \SetRowColor{white} Fri at 7pm & Friday at 7:00pm \tn % Row Count 25 (+ 2) % Row 14 \SetRowColor{LightBackground} Fri @ 7pm & Friday at 7:00pm \tn % Row Count 26 (+ 1) % Row 15 \SetRowColor{white} 6pm & Today at 6:00pm (unless 6:00pm has passed, in which case it assumes tomorrow) \tn % Row Count 29 (+ 3) % Row 16 \SetRowColor{LightBackground} 18:00 & Today at 6:00pm (unless 6:00pm has passed, in which case it assumes tomorrow) \tn % Row Count 32 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Date and Time Formats (cont)}} \tn % Row 17 \SetRowColor{LightBackground} 5 hours & 5 hours from now \tn % Row Count 1 (+ 1) % Row 18 \SetRowColor{white} 2 days & 2 days from now \tn % Row Count 2 (+ 1) % Row 19 \SetRowColor{LightBackground} 3 weeks & 3 weeks from now \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{From: \{\{link="https://www.rememberthemilk.com/help/?ctx=basics.basics.dateformat"\}\}What format can I enter dates and times in?\{\{/link\}\} \newline "Many other formats work too, so if you're not sure, just try it out!"} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Repeat Interval Formats}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Repeat 'Every...'}}\{\{nl\}\}{\emph{These tasks repeat every time, whether you complete them or not.}}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every Tuesday} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every Monday and Wednesday} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every day} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every weekday} \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every week} \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every 2 weeks} \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every week until 1/1/2018} \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every week for 20 times} \tn % Row Count 10 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every month} \tn % Row Count 11 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every month on the 4th} \tn % Row Count 12 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every month on the last day} \tn % Row Count 13 (+ 1) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every month on the first weekday} \tn % Row Count 14 (+ 1) % Row 13 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every month on the second weekend day} \tn % Row Count 15 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every month on the 3rd Tuesday} \tn % Row Count 16 (+ 1) % Row 15 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every month on the last Monday} \tn % Row Count 17 (+ 1) % Row 16 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every month on the 2nd last Friday} \tn % Row Count 18 (+ 1) % Row 17 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every 6 months} \tn % Row Count 19 (+ 1) % Row 18 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every year} \tn % Row Count 20 (+ 1) % Row 19 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every year on the last day of January} \tn % Row Count 21 (+ 1) % Row 20 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Every year on the first weekday of January} \tn % Row Count 22 (+ 1) % Row 21 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Every year on the second weekend day of January} \tn % Row Count 23 (+ 1) % Row 22 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Repeat 'After...'}}\{\{nl\}\}{\emph{These tasks only repeat after you've completed them.}}} \tn % Row Count 25 (+ 2) % Row 23 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{After 5 days} \tn % Row Count 26 (+ 1) % Row 24 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{After a week} \tn % Row Count 27 (+ 1) % Row 25 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{After 6 months} \tn % Row Count 28 (+ 1) % Row 26 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{After a year} \tn % Row Count 29 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{A note about task properties}}\{\{nl\}\}Tasks that repeat 'Every' create a task series: task properties and notes are common across all instances of the task. \newline Tasks that repeat 'After' work a bit differently: these do not create a task series, but rather create a new, independent task each time a task is generated.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}