\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{Carter\_Anderson} \pdfinfo{ /Title (qb-practice.pdf) /Creator (Cheatography) /Author (Carter\_Anderson) /Subject (QB Practice 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}{A31000} \definecolor{LightBackground}{HTML}{FCF7F7} \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{QB Practice Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Carter\_Anderson} via \textcolor{DarkBackground}{\uline{cheatography.com/181377/cs/37708/}}} \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}Carter\_Anderson \\ \uline{cheatography.com/carter-anderson} \\ \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 23rd March, 2023.\\ 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{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Need to Know Books and Authors}} \tn % Row 0 \SetRowColor{LightBackground} George Orwell & Animal Farm, 1984 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Ray Bradbury & Dandelion Wine, Something Wicked this Way , The Martian, Fahrenheit 451, \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} Charles Dickens & Pickwick Papers, Oliver Twist, A Christmas Carol, Hard Times, A Tale of Two Cities, Great Expectations \tn % Row Count 9 (+ 4) % Row 3 \SetRowColor{white} Ernest Hemmingway & Big Two-Hearted River, Hills Like White Elephants, The Snows of Kilimanjaro, For sale: baby shoes never worn \tn % Row Count 13 (+ 4) % Row 4 \SetRowColor{LightBackground} Edgar Allen Poe & The Cask of Amontillado, The Tell-Tale Heart, The Gold-Bug, \tn % Row Count 16 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.64 cm} x{5.36 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{People from the French Revolution}} \tn % Row 0 \SetRowColor{LightBackground} Louis XVI & King of France during the revolution; member of the Bourbon Dynasty \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Marie Antoinette & Queen of France during the revolution \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Marquis de Lafayette & Fought under George Washington and helped establish France's military. Known as "The Hero of Two Worlds" \tn % Row Count 9 (+ 4) % Row 3 \SetRowColor{white} Napoleon Bonaparte & Became counsel and emperor after the French Revolution \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} Louis XVII & Younger brother of Louis XVI who's return to power marked the end of the French Revolution \tn % Row Count 16 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Greek Heroes}} \tn % Row 0 \SetRowColor{LightBackground} Heracles (Hercules) & son of Alcmene and Zeus, which earned him the lifelong enmity of Zeus's wife Hera. Hera struck Heracles with a temporary madness so that he killed his wife Megara and their children. As penance, Heracles served King Eurystheus for ten years and completed twelve labors. \tn % Row Count 11 (+ 11) % Row 1 \SetRowColor{white} Theseus & son of King Aegeus and the son of Poseidon. He was raised by his mother Aethra in Troezen, then as a young man took a land journey back to Athens, during which he defeated six foes, including the bandits Sinis, Sciron, and Procrustes \tn % Row Count 20 (+ 9) % Row 2 \SetRowColor{LightBackground} Perseus & son of Danaƫ and Zeus. Perseus's grandfather, King Acrisius of Argos, had heard a prophecy that his grandson would kill him, so he banished Danaƫ and Perseus by setting them adrift in a chest on the ocean. \tn % Row Count 28 (+ 8) % Row 3 \SetRowColor{white} Jason & son of Aeson, the rightful king of Iolcos who had been usurped by Jason's uncle Pelias. In an attempt to kill Jason, Pelias offered him the throne if he completed a quest to Colchis and retrieved the Golden Fleece. \tn % Row Count 37 (+ 9) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Greek Heroes (cont)}} \tn % Row 4 \SetRowColor{LightBackground} Achilles & greatest Greek warrior during the Trojan War. He was the son of King Peleus and the Nereid Thetis, who dipped him in the River Styx as a child to make his body invulnerable, except for the heel by which she held him \tn % Row Count 8 (+ 8) % Row 5 \SetRowColor{white} Odysseus & king of Ithaca and one of the Greek leaders during the Trojan War. Odysseus originally tried to avoid the war by pretending to be insane, but was exposed when Palamedes put his son Telemachus in front of his plow. \tn % Row Count 16 (+ 8) % Row 6 \SetRowColor{LightBackground} Diomedes & king of Argos and a great Greek warrior, second only to Achilles in martial prowess during the Trojan War. Early in life, Diomedes's father Tydeus, who was a member of the Seven Against Thebes, was killed during a rebellion against the city. \tn % Row Count 26 (+ 10) % Row 7 \SetRowColor{white} Ajax the Great & massive and powerful Greek warrior during the Trojan War. Ajax fought with a massive shield made of cow-hide and bronze, \tn % Row Count 31 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Greek Heroes (cont)}} \tn % Row 8 \SetRowColor{LightBackground} Bellerophon & demigod son of Poseidon. He rejected the advances of Queen Stheneboea, who then falsely accused him of assault. \tn % Row Count 5 (+ 5) % Row 9 \SetRowColor{white} Atalanta & abandoned on a mountain as a baby because her father wanted a son. She was raised by bears, which helped her become one of the greatest and fastest hunters. \tn % Row Count 11 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.64 cm} x{5.36 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Mountains}} \tn % Row 0 \SetRowColor{LightBackground} Mount Everest & border between Nepal and China straddles the summit of the Himalayan peak Mount Everest \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} K2 & second-tallest mountain in the world; Pakistan and China \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} Denali \seqsplit{(Mt.McKinley)} & highest mountain in North America. It is in south-central Alaska \tn % Row Count 10 (+ 3) % Row 3 \SetRowColor{white} Mount Mitchell & Black Mountain subrange of the Appalachians \tn % Row Count 12 (+ 2) % Row 4 \SetRowColor{LightBackground} The Matterhorn & Switzerland and Italy \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} Mount Kilimanjaro & Tanzania; The Snows of Kilimanjaro \tn % Row Count 16 (+ 2) % Row 6 \SetRowColor{LightBackground} Mount Kenya & Kenya; second-tallest mountain in Africa \tn % Row Count 18 (+ 2) % Row 7 \SetRowColor{white} Mount Kosciuszko & Australia \tn % Row Count 20 (+ 2) % Row 8 \SetRowColor{LightBackground} Mount Fuji & Japan \tn % Row Count 21 (+ 1) % Row 9 \SetRowColor{white} Mount Aconcagua & Argentina \tn % Row Count 23 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.04 cm} x{4.96 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Presidential Scandals}} \tn % Row 0 \SetRowColor{LightBackground} Teapot Dome 1921-1929 & Warren G. Harding leased out navy oil reserves in Wyoming for an extremely low price \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Watergate 1972-1974 & Richard Nixon had his supporting members break into the Watergate building to destroy incriminating evidence of a government coverup \tn % Row Count 10 (+ 6) % Row 2 \SetRowColor{LightBackground} Monica Lewinsky 1995-1999 & Bill Clinton was impeached because he lied under oath about an affair he was having with Monica Lewinsky \tn % Row Count 15 (+ 5) % Row 3 \SetRowColor{white} The Whisky Ring 1871-1876 & Whisky distillers in St. Louis bribed members of the government to get away with tax evasion \tn % Row Count 19 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Geological Time Periods (Oldest to Newest)}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Hadean Eon (4600 million years ago to 4000 mya)} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Archean Eon (4000 to 2500 mya)} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Proterozoic Eon (2500 mya to 541 mya)} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Cambrian Period (541 mya to 485 mya)} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Ordovician Period (485 mya to 444 mya)} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Silurian Period (444 mya to 419 mya)} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Devonian Period (419 mya to 359 mya)} \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Carboniferous Period (359 mya to 299 mya)} \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Permian Period (299 mya to 252 mya)} \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Triassic Period (252 mya to 201 mya)} \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Jurassic Period (201 mya to 145 mya)} \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Jurassic Period (201 mya to 145 mya)} \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Cenozoic Era (66 mya to present)} \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Indian Tribes}} \tn % Row 0 \SetRowColor{LightBackground} Iroquois & upstate New York \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Powhatan & eastern Virginia \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Cherokee & southeastern United States \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Seminole & Florida \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Shawnee & Ohio Valley \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Lakota Sioux & northern Great Plains \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Shoshone & northern plains \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Nez Perce & Pacific Northwest \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Apache & southwest \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} Navajo & southwest \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.12 cm} x{4.88 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Circuit Components}} \tn % Row 0 \SetRowColor{LightBackground} Resistor & element that impedes the flow of current, creating a voltage drop \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Capacitor & charge-storing disconnection in a circuit \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Inductor & solenoid is a coil of wire. When electric current through the wire changes, a magnetic field is generated \tn % Row Count 10 (+ 5) % Row 3 \SetRowColor{white} Transformer & transformers are used to "step up" or "step down" voltage, \tn % Row Count 13 (+ 3) % Row 4 \SetRowColor{LightBackground} Source & any device that provides voltage or current \tn % Row Count 15 (+ 2) % Row 5 \SetRowColor{white} Ground & point on a circuit that is connected to the ground \tn % Row Count 18 (+ 3) % Row 6 \SetRowColor{LightBackground} Fuses and circuit breakers & protects the equipment in the circuit from being damaged by power surges \tn % Row Count 21 (+ 3) % Row 7 \SetRowColor{white} Switch & toggles between an open connection and a closed connection. \tn % Row Count 24 (+ 3) % Row 8 \SetRowColor{LightBackground} Diode & permits the flow of current in only one direction. \tn % Row Count 27 (+ 3) % Row 9 \SetRowColor{white} Rectifier & onverts AC or another variable signal into a positive-voltage signal \tn % Row Count 30 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Organelles}} \tn % Row 0 \SetRowColor{LightBackground} Nucleus & "command central" of the cell because it contains almost all of the cell's DNA \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Ribosomes & coordinate protein synthesis, or translation. \tn % Row Count 6 (+ 2) % Row 2 \SetRowColor{LightBackground} Mitochondria & double-membrane-bound organelles \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} Endoplasmic reticulum & tube-like membranes continuous with the nuclear envelope \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} Golgi apparatus & flattened, folded membranes that forms the Golgi apparatus acts as the "post office of the cell." \tn % Row Count 15 (+ 4) % Row 5 \SetRowColor{white} Lysosomes & digestive enzymes that break down proteins, lipids, carbohydrates, and nucleic acids. \tn % Row Count 19 (+ 4) % Row 6 \SetRowColor{LightBackground} Chloroplasts & Found only in plants and certain protists, the chloroplast contains the green pigment chlorophyll and is the site of photosynthesis. \tn % Row Count 25 (+ 6) % Row 7 \SetRowColor{white} Vacuoles & Found mainly in plants and protists, vacuoles are liquid-filled cavities enclosed by a single membrane. They serve as storage bins for food and waste products \tn % Row Count 32 (+ 7) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Organelles (cont)}} \tn % Row 8 \SetRowColor{LightBackground} Cilia and flagella & long, whip-like structures, while cilia are short, hair-like projections \tn % Row Count 3 (+ 3) % Row 9 \SetRowColor{white} Centrioles & Not found in plant cells, centrioles are paired organelles with nine sets of microtubule triplets in cross section. They are important in organizing the microtubule spindle needed to move the chromosomes during mitosis. \tn % Row Count 12 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}