\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{SaumyaPatel} \pdfinfo{ /Title (chemistry.pdf) /Creator (Cheatography) /Author (SaumyaPatel) /Subject (Chemistry 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}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \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{Chemistry Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{SaumyaPatel} via \textcolor{DarkBackground}{\uline{cheatography.com/25947/cs/7057/}}} \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}SaumyaPatel \\ \uline{cheatography.com/saumyapatel} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 8th February, 2016.\\ 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*}{3} \begin{tabularx}{5.377cm}{x{1.16956 cm} x{1.54549 cm} x{1.04425 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Electron Configuration}} \tn % Row 0 \SetRowColor{LightBackground} Valance electrons & Number of electrons in outermost shell. & & \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{4}{x{5.377cm}}{shell -\textgreater{} subshells -\textgreater{} orbitals} \tn % Row Count 4 (+ 1) % Row 2 \SetRowColor{LightBackground} shell & K, L, M, N & n=1, 2, ... & \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} subshell & s, p, d, f, g & 1s, 2s, 2p, 3s, ... & \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} orbital & s, p`x`, p`y`, p`z` & 1s, 2s, 2p`x`, 2p`y`, 2p`z` & \tn % Row Count 11 (+ 3) % Row 5 \SetRowColor{white} Element is classified as s, p, d and f block element & depending on the orbital filled by the last electron. & & \tn % Row Count 16 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.16956 cm} x{1.33664 cm} x{1.2531 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Quantitative Reasoning}} \tn % Row 0 \SetRowColor{LightBackground} Mole \seqsplit{(Avagadro's} constant) & It is a unit for telling the count, just like dozen. & 1 mole = 6.02 x 10\textasciicircum{}23\textasciicircum{} units & \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} \mymulticolumn{4}{x{5.377cm}}{Standard Temperature and Pressure (STP)} \tn % Row Count 6 (+ 1) % Row 2 \SetRowColor{LightBackground} Avagadro's Hypothesis & Volume occupied by 1 mole of ideal gas at STP is 22.41 litres & & \tn % Row Count 12 (+ 6) % Row 3 \SetRowColor{white} Mass of neutron & 1.0087 u & & \tn % Row Count 14 (+ 2) % Row 4 \SetRowColor{LightBackground} Mass of proton & 1.0073 u & & \tn % Row Count 16 (+ 2) % Row 5 \SetRowColor{white} Mass of electron & 0.00055 u & & \tn % Row Count 18 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.42018 cm} x{1.54549 cm} p{0.79363 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Periodic Table Groups}} \tn % Row 0 \SetRowColor{LightBackground} Group 1 & Alkali Metals & \seqsplit{Valency} +1 & \textasciitilde{}ium \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Group 2 & Alkali Earth Metals & \seqsplit{Valency} +2 & \textasciitilde{}ium \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Group 17 & Halogens & \seqsplit{Valency} -1 & \textasciitilde{}ine \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Group 18 & Inert (Nobel) Gases & \seqsplit{Valency} 0 & \textasciitilde{}on \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} Diatomic nonmetals & H, Halogens, C, and O & & \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} s-block & Group 1, 2 & & \tn % Row Count 11 (+ 1) % Row 6 \SetRowColor{LightBackground} p-block & Group 13 to 18 & & \tn % Row Count 12 (+ 1) % Row 7 \SetRowColor{white} d-block & Group 3 to 12 & & \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.92142 cm} p{0.4177 cm} x{1.04425 cm} p{0.79363 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Group 1 (Alkali Metals): +1}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Hydrogen}} (Exception: Non-metal) & H & 1 (atomic number) & 1x=1 u or amu \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Lithium}} & Li & 3 & 2x+1=7 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{Sodium}} & Na & 3+8=11 & \seqsplit{2x+1=23} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} {\bf{Potassium}} & K & 11+8=19 & \seqsplit{2x+1=39} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Rubidium & Rb & 19+18=37 & \seqsplit{2x+11=85} \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} Caesium & Cs & 37+18=55 & \seqsplit{2x+23=133} \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} Francium & Fr & 55+32=87 & \seqsplit{2x+49=223} \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.87965 cm} p{0.4177 cm} x{1.46195 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Group 2 (Alkali Earth Metals): +2}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Beryllium}} & Be & 4 & \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Magnesium}} & Mg & 4+8=12 & \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{Calcium}} & Ca & 12+8=20 & \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Strontium & Sr & 20+18=38 & \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Barium & Ba & 38+18=56 & \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Radium & Ra & 56+32=88 & \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Shell, Subshell and Orbital}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/saumyapatel_1456031344_Shell, Subshell and Orbital.png}}} \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}{Electron Configuration - Filling Shells}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/saumyapatel_1456031713_Electron Configuration - Filling Shells.jpg}}} \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}{Energy levels of Orbitals}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/saumyapatel_1456031592_Energy Levels of Orbitals.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.5062 cm} p{0.4177 cm} x{0.8354 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Group 17 (Halogens): -1}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Fluorine}} & F & 9 & \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Chlorine}} & Cl & 9+8=17 & \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{Bromine}} & Br & \seqsplit{17+18=35} & \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{Iodine}} & I & \seqsplit{35+18=53} & \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Astatine (Exception: Metalloid) & At & \seqsplit{53+32=85} & \tn % Row Count 6 (+ 2) % Row 5 \SetRowColor{white} Ununseptium (Artificial Element) & Uus & \seqsplit{85+32=117} & \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.58726 cm} p{0.54301 cm} x{1.62903 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Group 18 (Inert or Noble Gases): 0}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Helium}} & He & 2 & \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Neon}} & Ne & 2+8=10 & \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{Argon}} & Ar & 10+8=18 & \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{Krypton}} & Kr & 18+18=36 & \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{Xeon}} & Xe & 36+18=54 & \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{Radon}} & Rn & 54+32=86 & \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Ununoctium & UUo & 86+32=118 & \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}