\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{Enthusia} \pdfinfo{ /Title (some-basics-of-chemistry.pdf) /Creator (Cheatography) /Author (Enthusia) /Subject (Some Basics Of 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}{9898A3} \definecolor{LightBackground}{HTML}{F8F8F9} \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{Some Basics Of chemistry Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Enthusia} via \textcolor{DarkBackground}{\uline{cheatography.com/174062/cs/39684/}}} \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}Enthusia \\ \uline{cheatography.com/enthusia} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 1st February, 2024.\\ Updated 2nd January, 2024.\\ 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}{MATTER}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Anything that has mass and occupies space.% Row Count 1 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.55618 cm} x{1.51041 cm} x{1.51041 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{STATES OF MATTER}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{SOLID}} & {\bf{LIQUID}} & {\bf{GAS}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Particles are held very close to each other & Particles are close but packed loosely compared to solids & Particles are very far apart compared to solids and liquids. \tn % Row Count 6 (+ 5) % Row 2 \SetRowColor{LightBackground} Not much freedom for movement of particles & Particles can move around. & Movement of particles is easy and fast. \tn % Row Count 10 (+ 4) % Row 3 \SetRowColor{white} Definite volume \& shape. & Definite volume but lack definite shape. & Neither definite volume nor definite shape. \tn % Row Count 14 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{VOLUME}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Amount of space occupied by a substance. \newline % Row Count 1 (+ 1) {\bf{(length)$^{\textrm{3}}$}} \newline % Row Count 2 (+ 1) 1000cm$^{\textrm{3}}$ = 1000mL = 1dm$^{\textrm{3}}$ = 1L% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{MASS AND WEIGHT}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mass}}- amount of matter present in substance & {\bf{Weight}}- force exerted by {\emph{gravity}} on an object. \tn % Row Count 3 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{One should be careful in using these terms and not confuse one with the other.}}} \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}{SCIENTIFIC NOTATION}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{A way of expressing a number which is too large or small written in decimal form. \newline % Row Count 2 (+ 2) Represented in the form **N×10\textasciicircum{}n\textasciicircum{} \newline % Row Count 3 (+ 1) {\bf{NOTE- only a single digit should be placed to the left of the decimal point}} \newline % Row Count 5 (+ 2) In the number 452.9646, we bring all the digits to the left-side of the decimal point to the right side except for the first digit. i.e., 4.529646 × 10\textasciicircum{}2\textasciicircum{} \newline % Row Count 9 (+ 4) {\emph{eg- 4345.83 = 4.34583 × 10\textasciicircum{}3\textasciicircum{}}} \newline % Row Count 10 (+ 1) In the number 0.00023, we bring all the digits from the right-side of the decimal point to the left except for the last digit. \newline % Row Count 13 (+ 3) {\emph{eg- 0.00203 = 2.03 × 10\textasciicircum{}3\textasciicircum{}}}% Row Count 14 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}