\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{sunyzz} \pdfinfo{ /Title (electrochemistry.pdf) /Creator (Cheatography) /Author (sunyzz) /Subject (Electrochemistry 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}{14A399} \definecolor{LightBackground}{HTML}{F0F9F8} \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{Electrochemistry Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{sunyzz} via \textcolor{DarkBackground}{\uline{cheatography.com/50431/cs/15385/}}} \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}sunyzz \\ \uline{cheatography.com/sunyzz} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 5th April, 2018.\\ Updated 5th April, 2018.\\ 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*}{4} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Oxidation Rules}} \tn % Row 0 \SetRowColor{LightBackground} Neutral Compound = 0 (NO -) & Ion= ion charge (w/ -) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} +1 w/ non-metals (Hydrogen) & Oxygen usually -2, -1 in peroxide (H2O2) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} -1 w/ metals (H) & Group 1A: always +1 \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Halogens: usually -1, positive w/ oxygen & Group 2A: always +2 \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} F always -1 & Monatomic Ions: made with one atom, same as their charges \tn % Row Count 10 (+ 3) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{EXAMPLE:} \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Redox Equations}} \tn % Row 0 \SetRowColor{LightBackground} Reduction: gain of electrons & Oxidation: loss of electrons \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} e-: electron & OIL: oxidation is loss (of electrons) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} RIG: reduction is gain (of electrons) & OIL as half reaction: Na \textgreater{} Na(+) + e- \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} RIG as half reaction: Cl + e- \textgreater{} Cl- & for oxidation: e- on right \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} for reduction: e- is on left & If OX \# \textasciicircum{} it is OIL \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} EXAMPLE: & If OX \# goes down it is RIG \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Batteries}} \tn % Row 0 \SetRowColor{LightBackground} Definition: a series of voltaic cells that produces a voltage that is the sum of the voltages of the individual cells & Types \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} Dry Cell Battery: Typical AA, AAA, C, \& D & Lead Storage: 12 V (6 cells that each provide 2V) \tn % Row Count 9 (+ 3) % Row 2 \SetRowColor{LightBackground} Anode: Zinc, Cathode: graphite, all immersed in KOH & Anode: Lead, Cathode: PbO2, all immersed in sulfiric acid \tn % Row Count 12 (+ 3) % Row 3 \SetRowColor{white} Advantage: cheap and small & must be recycled! \tn % Row Count 14 (+ 2) % Row 4 \SetRowColor{LightBackground} Disadvantage: not recharagable & to keep electrodes from touching, wood or glass fiber spacers are used \tn % Row Count 18 (+ 4) % Row 5 \SetRowColor{white} Recharagable Batteris: includes lithium ion, nickel-cadmium, and nickel metal hydride batteries & Voltage may vary as the H2SO4 is used, even after recharging \tn % Row Count 23 (+ 5) % Row 6 \SetRowColor{LightBackground} Built in or separate charger & Advantage: large voltage, can be recharged \tn % Row Count 26 (+ 3) % Row 7 \SetRowColor{white} Advantage: rechargable & Disadvantage: heavy, expensive, takes up a lot of space \tn % Row Count 29 (+ 3) % Row 8 \SetRowColor{LightBackground} Disadvantage: cost & Fuel Cells: 2H2(g) + O2 (g) \textgreater{} 2H2O(I) \tn % Row Count 31 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Batteries (cont)}} \tn % Row 9 \SetRowColor{LightBackground} & Hydrogen is oxidized, electrons used to create electricity \tn % Row Count 3 (+ 3) % Row 10 \SetRowColor{white} & Used in spacecraft, too \$\$ for general use \tn % Row Count 6 (+ 3) % Row 11 \SetRowColor{LightBackground} & Adv: no recharge, only emission is water \tn % Row Count 8 (+ 2) % Row 12 \SetRowColor{white} & Dis: cost \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Calcuating Cell Potential}} \tn % Row 0 \SetRowColor{LightBackground} Find correct half reactions on green sheet & Down reduction potential, oxidation more likely (more positive voltage) \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{Write down half reactions on paper along with voltage} \tn % Row Count 6 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{3.833cm}}{higher voltage is e red, flip other half reaction to make oxidation and change sign given on green sheet (write it backwards)} \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{Add the half reactions and voltages together (e- should cancel)} \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.68217 cm} x{1.75083 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Writing Half Reactions}} \tn % Row 0 \SetRowColor{LightBackground} Assign oxidation numbers & Ex: Zn + Cu2+ \textgreater{} Zn2+ + Cu \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{Put the atoms with changing oxidation numbers in a separate reaction} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{3.833cm}}{Balance all atoms} \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{Balance charge by adding e- to more positive side} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Voltaic Cell}} \tn % Row 0 \SetRowColor{LightBackground} Cathode: site of reduction (gaining e-) & Neutral atoms make solid metal \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Anode: sire of oxidation (losing e-) & Metal ions can usually dissolve in water \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Definition: devices that use a chemical reaction to create electricity & Cell Notation/Diagram: two half reactions combined \tn % Row Count 8 (+ 4) % Row 3 \SetRowColor{white} & Ex: \seqsplit{Zn(s)|Zn2+(aq)||Cu2+(aq)|Cu(s)} \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}