\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{Rachel (psychedx0ut)} \pdfinfo{ /Title (rocks-and-minerals.pdf) /Creator (Cheatography) /Author (Rachel (psychedx0ut)) /Subject (Rocks and Minerals 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}{42704F} \definecolor{LightBackground}{HTML}{F3F6F4} \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{Rocks and Minerals Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Rachel (psychedx0ut)} via \textcolor{DarkBackground}{\uline{cheatography.com/31385/cs/9514/}}} \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}Rachel (psychedx0ut) \\ \uline{cheatography.com/psychedx0ut} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 18th October, 2016.\\ Updated 18th October, 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{2.23965 cm} x{2.73735 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Minerals}} \tn % Row 0 \SetRowColor{LightBackground} Potassium Feldspar\{\{nl\}\}H = 6 & Salmon pink, white\{\{nl\}\}Two cleavages at about 90 degrees \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Plagioclase\{\{nl\}\}H = 6 & White to dark gray\{\{nl\}\}Two cleavages at almost 90 degrees\{\{nl\}\}Straight, parallel striations \tn % Row Count 8 (+ 5) % Row 2 \SetRowColor{LightBackground} Quartz\{\{nl\}\}H = 7 & Conchoidal fracture\{\{nl\}\}Vitreous luster \tn % Row Count 10 (+ 2) % Row 3 \SetRowColor{white} Muscovite\{\{nl\}\}H = 2-2.5 & Colorless, silvery white, brownish silvery white\{\{nl\}\}One perfect cleavage\{\{nl\}\}Transparent, flexible, and elastic in thin sheets \tn % Row Count 16 (+ 6) % Row 4 \SetRowColor{LightBackground} Biotite\{\{nl\}\}H = 2.5-3 & Black to brownish black\{\{nl\}\}One perfect cleavage\{\{nl\}\}Flexible and elastic in thin sheets \tn % Row Count 21 (+ 5) % Row 5 \SetRowColor{white} Hornblende (Amphibole)\{\{nl\}\}H = 5 & Black\{\{nl\}\}Two perfect cleavages at 124 and 56 degrees\{\{nl\}\}Splintery \tn % Row Count 25 (+ 4) % Row 6 \SetRowColor{LightBackground} Augite (Pyroxene)\{\{nl\}\}H = 5-6 & Black to dark green\{\{nl\}\}Two imperfect cleavages at almost 90 degrees \tn % Row Count 29 (+ 4) % Row 7 \SetRowColor{white} Olivine\{\{nl\}\}H = 6.5-7 & Olive green to yellow green\{\{nl\}\}Granular \tn % Row Count 31 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.23965 cm} x{2.73735 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Minerals (cont)}} \tn % Row 8 \SetRowColor{LightBackground} Gypsum\{\{nl\}\}H = 2 & Clear, white, light gray\{\{nl\}\}Vitreous to pearly \tn % Row Count 3 (+ 3) % Row 9 \SetRowColor{white} Pyrite\{\{nl\}\}H = 6-6.5 & Metallic\{\{nl\}\}Brass yellow \tn % Row Count 5 (+ 2) % Row 10 \SetRowColor{LightBackground} Calcite\{\{nl\}\}H = 3 & Clear, white, others\{\{nl\}\}Three perfect cleavages form rhombic cleavage fragments\{\{nl\}\}Reacts strongly with HCl \tn % Row Count 11 (+ 6) % Row 11 \SetRowColor{white} Dolomite\{\{nl\}\}H = 3-3.5 & Reacts slowly or not at all with HCl\{\{nl\}\}Three indistinct cleavages \tn % Row Count 15 (+ 4) % Row 12 \SetRowColor{LightBackground} Halite\{\{nl\}\}H = 2.5 & Clear to gray to red\{\{nl\}\}Three perfect cleavages at 90 degrees\{\{nl\}\}Salty taste \tn % Row Count 19 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.09494 cm} x{3.88206 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Igneous Vocabulary}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Phaneritic} & Coarse-grained (\textgreater{}1 mm) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{Aphanitic} & Fine-grained (\textless{}1 mm) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Pegmatitic} & Exceptionally large crystals (\textgreater{}3 cm) \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{Porphyritic} & Two crystal sizes \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{Phenocrysts} & Larger crystals \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} \seqsplit{Groundmass} & Smaller crystals surrounding phenocrysts \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} \seqsplit{Vesicular} & Bubbles \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} \seqsplit{Pyroclastic} & Multiple fragments \tn % Row Count 16 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.74195 cm} x{3.23505 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Igneous Rocks}} \tn % Row 0 \SetRowColor{LightBackground} Gabbro (phaneritic) & Intrusive, mafic\{\{nl\}\}Ca-plagioclase, black pyroxene, olivine \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Diorite (phaneritic) & Intrusive, intermediate\{\{nl\}\}Na-Ca-plagioclase and hornblende\{\{nl\}\}\{\{fa-plus-square-o\}\}Biotite and quartz \tn % Row Count 8 (+ 5) % Row 2 \SetRowColor{LightBackground} Granite (phaneritic) & Intrusive, felsic\{\{nl\}\}Quartz and K-feldspar\{\{nl\}\}\{\{fa-plus-square-o\}\}Na-plagioclase, biotite, and hornblende \tn % Row Count 13 (+ 5) % Row 3 \SetRowColor{white} Granite (porphyritic) & Intrusive, felsic\{\{nl\}\}Coarse-grained\{\{nl\}\}Two crystal sizes \tn % Row Count 16 (+ 3) % Row 4 \SetRowColor{LightBackground} Granite pegmatite & Intrusive, felsic\{\{nl\}\}Very coarse-grained \tn % Row Count 18 (+ 2) % Row 5 \SetRowColor{white} Basalt (aphanitic) & Extrusive, mafic\{\{nl\}\}Dark gray\{\{nl\}\}\{\{fa-plus-square-o\}\}Ca-plagioclase and olivine \tn % Row Count 22 (+ 4) % Row 6 \SetRowColor{LightBackground} Basalt (vesicular) & Extrusive, mafic\{\{nl\}\}Dark gray\{\{nl\}\}\{\{fa-plus-square-o\}\}Ca-plagioclase and olivine \tn % Row Count 26 (+ 4) % Row 7 \SetRowColor{white} Andesite (porphyritic) & Extrusive, intermediate\{\{nl\}\}Fine-grained\{\{nl\}\}Gray\{\{nl\}\}\{\{fa-plus-square-o\}\}Plagioclase and hornblende or biotite \tn % Row Count 31 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.74195 cm} x{3.23505 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Igneous Rocks (cont)}} \tn % Row 8 \SetRowColor{LightBackground} Rhyolite & Extrusive, felsic\{\{nl\}\}Fine-grained version of granite \tn % Row Count 3 (+ 3) % Row 9 \SetRowColor{white} Tuff (pyroclastic) & Extrusive\{\{nl\}\}Particle size less than 6.4 cm \tn % Row Count 5 (+ 2) % Row 10 \SetRowColor{LightBackground} Obsidian (glassy) & Extrusive, felsic\{\{nl\}\} \tn % Row Count 7 (+ 2) % Row 11 \SetRowColor{white} Pumice & Extrusive, felsic\{\{nl\}\}Vesicular\{\{nl\}\}Very light \tn % Row Count 9 (+ 2) % Row 12 \SetRowColor{LightBackground} Scoria & Extrusive, mafic\{\{nl\}\}Vesicular\{\{nl\}\}Black to reddish brown \tn % Row Count 12 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.89586 cm} x{4.08114 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Metamorphic Vocabulary}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Foliated} & Parallel or nearly parallel planes \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Slaty & Foliation made of minerals to small to see without a microscope \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Phyllitic} & Foliation composed of minerals visible with handlens to barely visible to naked eye \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} \seqsplit{Schistose} & Foliation composed of mineral crystals large enough to see unaided \tn % Row Count 10 (+ 3) % Row 4 \SetRowColor{LightBackground} \seqsplit{Gneissic} & Coarse foliation\{\{nl\}\}Parallel band or layers of light and dark minerals \tn % Row Count 13 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.9908 cm} x{2.9862 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Metamorphic Rocks}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\{\{ac\}\}Foliated} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Slate & Low grade; Very fine grained\{\{nl\}\}Generally dark\{\{nl\}\}Shale or mudstone \tn % Row Count 4 (+ 3) % Row 2 \SetRowColor{LightBackground} Phyllite & Low grade; Fine grained\{\{nl\}\}Silky, shiny\{\{nl\}\}Shale or mudstone \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} Schist & Intermediate\{\{nl\}\}Medium to coarse grained\{\{nl\}\}Shale or mudstone \tn % Row Count 10 (+ 3) % Row 4 \SetRowColor{LightBackground} Gneiss & High grade\{\{nl\}\}Medium to coarse grained\{\{nl\}\}Shale, mudstone, or granite \tn % Row Count 14 (+ 4) % Row 5 \SetRowColor{white} Migmatite & Border between igneous and metamorphic\{\{nl\}\}Medium to coarse grained\{\{nl\}\}Shale, mudstone, or granite \tn % Row Count 19 (+ 5) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\{\{ac\}\}Nonfoliated} \tn % Row Count 20 (+ 1) % Row 7 \SetRowColor{white} Marble & Grade varies\{\{nl\}\}Coarsely crystalline\{\{nl\}\}Limestone or dolostone \tn % Row Count 23 (+ 3) % Row 8 \SetRowColor{LightBackground} Quarzite & Grade varies\{\{nl\}\}Crystalline\{\{nl\}\}Quartz sandstone \tn % Row Count 26 (+ 3) % Row 9 \SetRowColor{white} Anthracite coal & Low to medium grade\{\{nl\}\}Conchoidal fracture\{\{nl\}\}Coal \tn % Row Count 29 (+ 3) % Row 10 \SetRowColor{LightBackground} Greenstone & Low to medium grade\{\{nl\}\}Greenish gray to black\{\{nl\}\}Basalt or gabbro \tn % Row Count 32 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.9908 cm} x{2.9862 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Metamorphic Rocks (cont)}} \tn % Row 11 \SetRowColor{LightBackground} Amphibolite & Medium to high grade\{\{nl\}\}Dark gray to black\{\{nl\}\}Medium to coarse grained\{\{nl\}\}Basalt or gabbro \tn % Row Count 4 (+ 4) % Row 12 \SetRowColor{white} Soapstone & Low to medium grade\{\{nl\}\}Gray to dark greenish gray\{\{nl\}\}Fine grained; Soft\{\{nl\}\}Peridotite \tn % Row Count 8 (+ 4) % Row 13 \SetRowColor{LightBackground} Serpentinite & Variable grade\{\{nl\}\}Greenish\{\{nl\}\}Mottled or streaked\{\{nl\}\}Peridotite \tn % Row Count 11 (+ 3) % Row 14 \SetRowColor{white} \{\{nobreak\}\}Metaconglomerate & Low to medium grade\{\{nl\}\}Conglomerate, graywacke, chert \tn % Row Count 14 (+ 3) % Row 15 \SetRowColor{LightBackground} Hornfels & Low grade; Contact\{\{nl\}\}Fine grained; Dark\{\{nl\}\}Varies \tn % Row Count 17 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.44333 cm} x{3.53367 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Sedimentary Rocks}} \tn % Row 0 \SetRowColor{LightBackground} Quartz sandstone & Sand grains of quartz\{\{nl\}\}White, rusty brown \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{Conglomerate} & Made of pebbles \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Limestone & Calcite\{\{nl\}\}Bubbles in acid \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Shale & Fissile\{\{nl\}\}Black to gray, red, or green \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} Dolostone & Lesser reaction with acid\{\{nl\}\}Crystalline\{\{nl\}\}Light gray or buff \tn % Row Count 10 (+ 3) % Row 5 \SetRowColor{white} Chert & Microcrystalline quartz\{\{nl\}\}Conchoidal fracture \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} Coal & Brown to black\{\{nl\}\}Noncrystalline \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} Mudstone & Not fissile\{\{nl\}\}Black to gray, red, or green \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} Sandstone & Made of sand \tn % Row Count 17 (+ 1) % Row 9 \SetRowColor{white} Oolite & Limestone\{\{nl\}\}Sand-sized spheres \tn % Row Count 19 (+ 2) % Row 10 \SetRowColor{LightBackground} Coquina & Limestone\{\{nl\}\}Poorly cemented bioclastic debris \tn % Row Count 21 (+ 2) % Row 11 \SetRowColor{white} Breccia & Angular particles \tn % Row Count 22 (+ 1) % Row 12 \SetRowColor{LightBackground} Rock Gypsum & White, light gray\{\{nl\}\}Crystalline \tn % Row Count 24 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Sedimentary Vocabulary}} \tn % Row 0 \SetRowColor{LightBackground} Clastic & Clasts bound together \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Bioclastic & Abundant fossils or fossil fragments \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}Crystalline & Interlocking crystals \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Fissile & Splits into sheets \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}