\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{feraud} \pdfinfo{ /Title (rechercher-avec-outlook-and-sharepoint.pdf) /Creator (Cheatography) /Author (feraud) /Subject (RECHERCHER AVEC OUTLOOK \& SHAREPOINT 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}{6B40A3} \definecolor{LightBackground}{HTML}{F5F3F9} \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{RECHERCHER AVEC OUTLOOK \& SHAREPOINT Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{feraud} via \textcolor{DarkBackground}{\uline{cheatography.com/172499/cs/36263/}}} \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}feraud \\ \uline{cheatography.com/feraud} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 13th January, 2023.\\ Updated 26th December, 2022.\\ 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{tabularx}{17.67cm}{x{5.3537 cm} x{11.9163 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{OUTLOOK: ~~~Principes}} \tn % Row 0 \SetRowColor{LightBackground} machin\{\{width=30\}\} & recherche tous les mails contenant {\bf{machin}} mais aussi {\bf{machine}} {\bf{machination}} ... \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} point hebdo & recherche les mots égaux à ou commençant par {\bf{point et/ou hebdo}} \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} point ET hebdo & recherche les mots égaux à ou commençant par {\bf{point et hebdo}} \tn % Row Count 10 (+ 3) % Row 3 \SetRowColor{white} "point hebdo" & recherche l'expression exacte {\bf{point hebdo}} \tn % Row Count 12 (+ 2) % Row 4 \SetRowColor{LightBackground} point -hebdo & recherche les mails contenant les mots égaux à ou commençant par {\bf{point}} mais ne contenant pas hebdo \tn % Row Count 16 (+ 4) % Row 5 \SetRowColor{white} son & mails contenant {\bf{son}}, {\bf{sonner}}, {\bf{...}} mais pas {\bf{maison raison,...}} \tn % Row Count 19 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{6.5626 cm} x{10.7074 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{OUTLOOK: ~~~Qui envoie ?}} \tn % Row 0 \SetRowColor{LightBackground} de:eraud \{\{width=30\}\} & mails envoyés par eraud \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} de:delga & mails envoyés par delga, delgado, ... \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} de:francois & mails envoyés par n'importe quel francois. La cédille ou les accents ne sont pas importants \tn % Row Count 8 (+ 4) % Row 3 \SetRowColor{white} de:"le mouel" & guillemets pour les noms composés \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} de:cdq de:cco\_atc de:rfz & tous les mails envoyés par les {\bf{cdq, rfz et cco\_atc}} \tn % Row Count 13 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{6.5626 cm} x{10.7074 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{OUTLOOK: ~~~A qui ?}} \tn % Row 0 \SetRowColor{LightBackground} à:christophe\{\{width=30\}\} & mails envoyés à n'importe quel {\bf{Christophe}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} à:erau & mails envoyés à {\bf{erau, eraud, ...}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{à:mail.cco.spv} & mails envoyés à {\bf{mail.cco.spv}} \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{5.5264 cm} x{11.7436 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{OUTLOOK: ~~~Objet}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{objet:"point} hebdo" & objet du mail contenant exactement {\bf{point hebdo}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} objet: hebdo & objet du mail contenant {\bf{hebdo, hebdomadaire, ...}} \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{8.2896 cm} x{8.9804 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{OUTLOOK:~~~Divers}} \tn % Row 0 \SetRowColor{LightBackground} avecpiècesjointes:oui\{\{width=30\}\} & tous les mails contenant une pièce jointe\{\{nl\}\}NB: {\bf{avecpiècesjointes}} doit avoir un accent. \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} catégorie:"A Surveiller" & tous les mails classés avec la catégorie {\bf{à surveiller}}. \{\{nl\}\}NB: {\bf{catégorie}} doit avoir un accent. \tn % Row Count 12 (+ 6) % Row 2 \SetRowColor{LightBackground} reçu:semaine dernière & tous les mails reçus la {\bf{semaine derniere}} \tn % Row Count 15 (+ 3) % Row 3 \SetRowColor{white} reçu:mois dernier & tous les mails reçus le {\bf{mois dernier}} \tn % Row Count 18 (+ 3) % Row 4 \SetRowColor{LightBackground} \seqsplit{indicateurdesuivi:indicateur} de suivi & tous les mails flaggés avec l'indicateur \tn % Row Count 21 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{7.5988 cm} x{9.6712 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{OUTLOOK:~~~Exemples}} \tn % Row 0 \SetRowColor{LightBackground} à:eraud OU cc:eraud\{\{width=30\}\} & tous les mails envoyé à {\bf{eraud}} {\bf{ou}} tous les mails ou {\bf{eraud}} est en copie.\{\{nl\}\}NB: le OU doit être en majuscule \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} "point hebdo" -roppe & tous les mails contenant exactement {\bf{point hebdo}} mais ne contenant pas {\bf{roppe}} \tn % Row Count 10 (+ 4) % Row 2 \SetRowColor{LightBackground} hebdo "operational impacts" & tous les mails contenant {\bf{hebdo}} et l'expression exacte {\bf{operational impacts}} \tn % Row Count 14 (+ 4) % Row 3 \SetRowColor{white} de:roppe à:eraud -cdq & tous les mails que {\bf{roppe}} a envoyé à {\bf{eraud}} mais ne contennt pas {\bf{cdq}}\{\{nl\}\}NB: {\bf{cdq}} ne sera ni dans le texe ni en copie par exemple \tn % Row Count 21 (+ 7) % Row 4 \SetRowColor{LightBackground} de:iria reçu:novembre & mails envoyés par {\bf{iria}} et reçus en {\bf{novembre}} \tn % Row Count 24 (+ 3) % Row 5 \SetRowColor{white} estlu:non reçu:2022 & mails reçus en {\bf{2022}} et {\bf{non lus}} \tn % Row Count 26 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{17.67cm}}{\bf\textcolor{white}{SHAREPOINT: ~~~Exemple}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{17.67cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/feraud_1672074751_search SP.jpg}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \end{document}