\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{sjk} \pdfinfo{ /Title (photography1.pdf) /Creator (Cheatography) /Author (sjk) /Subject (Photography1 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}{8185A3} \definecolor{LightBackground}{HTML}{F7F7F9} \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{Photography1 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{sjk} via \textcolor{DarkBackground}{\uline{cheatography.com/20412/cs/3197/}}} \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}sjk \\ \uline{cheatography.com/sjk} \\ \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 12th 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*}{2} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{RAW}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{\{\{fa-check-square\}\} A file format that captures all possible information that could be accumulated at the time when the sensor was exposed to the light. Uncompressed (or lossless) image file with all of the information captured by the camera providing far greater ability and control over the final image. \newline % Row Count 7 (+ 7) \{\{fa-check-square\}\} {\bf{Much larger file sizes}} - Since RAW files have more uncompressed information they can be 2-3 times larger than JPEG files. \newline % Row Count 10 (+ 3) \{\{fa-check-square\}\} {\bf{Write Times}} - The larger RAWs take longer to save as the slowest part of the whole process is actually saving the file to your memory card. \newline % Row Count 14 (+ 4) \{\{fa-check-square\}\} {\bf{Higher in dynamic range}} - RAW files have greater dynamic range than the JPEG files. RAW file uses 12-bits or 14-bits per channel which allows a dynamic range of 4096 (2\textasciicircum{}12) or 16384 (2\textasciicircum{}14) levels/tones per channel. \newline % Row Count 19 (+ 5) \{\{fa-check-square\}\} {\bf{Less sharpness \& Lower in contrast}} - Because no processing occurs in camera the resulting file (before editing) will appear lower in contrast, flatter and washed out. \newline % Row Count 23 (+ 4) \{\{fa-check-square\}\} {\bf{Requires photo editing}} - RAW files must be converted into JPEG or TIFF files before they can be used for printing, sharing or posting on the Web. Each image has to be processed to optimally enhance the image and to convert it into the required format. And this takes more time than for standard editing with JPEG files. \newline % Row Count 30 (+ 7) } \tn \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{RAW (cont)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{\{\{fa-check-square\}\} {\bf{File Compatibility}} - Every camera model creates a different RAW file that has unique processing requirements, so only compatible RAW converters can view these images. \newline % Row Count 4 (+ 4) \{\{fa-check-square\}\} {\bf{Error correction}} - A better ability to correct for errors made when you took the photograph (such as exposure and white balance) and a resulting much better final result than if a JPEG where altered for these errors.% Row Count 9 (+ 5) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{JPEG}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{\{\{fa-check-square\}\} Joint Photographic Experts Group - A standard format referred to as a lossy compression format, which reduces quality and this can reduce colour information and image resolution. \newline % Row Count 4 (+ 4) \{\{fa-check-square\}\} {\bf{Much smaller file sizes}} - The JPEG compression will result in relatively (and sometimes significantly) smaller file sizes when compared with a RAW file of the same capture. \newline % Row Count 8 (+ 4) \{\{fa-check-square\}\} {\bf{Write Times}} - JPEG images are more rapid in writing to memory. When shooting your camera on burst mode (shoot continuously for a few seconds), you'll actually be able to shoot more continuous shots using JPEG than RAW. \newline % Row Count 13 (+ 5) \{\{fa-check-square\}\}{\bf{Lower in dynamic range}} - JPEG uses 8-bit per channel with dynamic range of 256 (2\textasciicircum{}8) levels/tones per channel. \newline % Row Count 16 (+ 3) \{\{fa-check-square\}\} Sharper \& Higher in contrast \newline % Row Count 17 (+ 1) \{\{fa-check-square\}\}{\bf{Minimal image processing required}} - Processed right within the camera. While color temperature and exposure are set based on your camera settings when the image is shot, the camera will also process the image to add blacks, contrast, brightness, noise reduction, sharpening and then render the file to a compressed JPEG. \newline % Row Count 24 (+ 7) \{\{fa-check-square\}\}{\bf{File Compatibility}} - Easy to view and edit with any image editing program making the images immediately available for printing, sharing or posting on the Web. \newline % Row Count 28 (+ 4) \{\{fa-check-square\}\}{\bf{Error correction}} - It is more difficult to correct mistakes of color and exposure.% Row Count 31 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}