\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{ChemIsForSheeit} \pdfinfo{ /Title (chem-final-is-stupid.pdf) /Creator (Cheatography) /Author (ChemIsForSheeit) /Subject (chem final is stupid 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}{1C7FA3} \definecolor{LightBackground}{HTML}{F0F7F9} \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{chem final is stupid Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{ChemIsForSheeit} via \textcolor{DarkBackground}{\uline{cheatography.com/141751/cs/32210/}}} \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}ChemIsForSheeit \\ \uline{cheatography.com/chemisforsheeit} \\ \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 31st May, 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{multicols*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Sig Fig Rules}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{To determine the number of significant figures in a number use the following 3 rules: \newline % Row Count 2 (+ 2) 1.Non-zero digits are always significant \newline % Row Count 3 (+ 1) 2.Any zeros between two significant digits are significant \newline % Row Count 5 (+ 2) 3.A final zero or trailing zeros in the decimal portion ONLY are significant \newline % Row Count 7 (+ 2) Example: .500 or .632000 the zeros are significant \newline % Row Count 9 (+ 2) .006 or .000968 the zeros are NOT significant \newline % Row Count 10 (+ 1) For addition and subtraction use the following rules: \newline % Row Count 12 (+ 2) 1.Count the number of significant figures in the decimal portion ONLY of each number in the problem \newline % Row Count 15 (+ 3) 2.Add or subtract in the normal fashion \newline % Row Count 16 (+ 1) 3.Your final answer may have no more significant figures to the right of the decimal than the LEAST number of significant figures in any number in the problem. \newline % Row Count 20 (+ 4) For multiplication and division use the following rule: \newline % Row Count 22 (+ 2) 1.The LEAST number of significant figures in any number of the problem determines the number of significant figures in the answer. (You are now looking at the entire number, not just the decimal portion) \newline % Row Count 27 (+ 5) This means you have to be able to recognize significant figures in order to use this rule \newline % Row Count 29 (+ 2) Example: 5.26 has 3 significant figures \newline % Row Count 30 (+ 1) } \tn \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Sig Fig Rules (cont)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{6.1 has 2 significant figures% Row Count 1 (+ 1) } \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}{No think math method for conversions}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{\#unit\textasciicircum{}1\textasciicircum{} x \#unit (converting to) / \#unit\textasciicircum{}1\textasciicircum{} \newline % Row Count 1 (+ 1) \#=number \newline % Row Count 2 (+ 1) cancel like units \newline % Row Count 3 (+ 1) then multiply and divide then you get your answer with new units% Row Count 5 (+ 2) } \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}{Ideal Gas Law}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{PV/nT=nRT/nT \newline % Row Count 1 (+ 1) P=atm \newline % Row Count 2 (+ 1) V=L liters? \newline % Row Count 3 (+ 1) n=\# of mols \newline % Row Count 4 (+ 1) T=Kelvin \newline % Row Count 5 (+ 1) R= 0.0821 atm x L / mol x K -{}-{}-Always divide the numbers underneath% Row Count 7 (+ 2) } \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}{Abbreviations}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Atmosphere-atm \newline % Row Count 1 (+ 1) Bar-Bar \newline % Row Count 2 (+ 1) millimeter of mercury-mmHg \newline % Row Count 3 (+ 1) Pascal-pa \newline % Row Count 4 (+ 1) Pounds per square inch-psi \newline % Row Count 5 (+ 1) Torr-torr% Row Count 6 (+ 1) } \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}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{1s \newline % Row Count 1 (+ 1) 2s 2p \newline % Row Count 2 (+ 1) 3s 3p 3d \newline % Row Count 3 (+ 1) 4s 4p 4d 4f \newline % Row Count 4 (+ 1) 5s 5p 5d 5f \newline % Row Count 5 (+ 1) 6s 6p 6d 6f \newline % Row Count 6 (+ 1) 7s 7p 7d 7f \newline % Row Count 7 (+ 1) s=2 p=6 d=10 f=14% Row Count 8 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}