\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{jswans33} \pdfinfo{ /Title (mechanical-systems.pdf) /Creator (Cheatography) /Author (jswans33) /Subject (Mechanical Systems 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}{1E3582} \definecolor{LightBackground}{HTML}{F0F2F7} \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{Mechanical Systems Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{jswans33} via \textcolor{DarkBackground}{\uline{cheatography.com/29703/cs/8765/}}} \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}jswans33 \\ \uline{cheatography.com/jswans33} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 3rd August, 2016.\\ Updated 3rd August, 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{1.33664 cm} x{0.91894 cm} x{0.91894 cm} x{1.00248 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{MAX GPM}} \tn % Row 0 \SetRowColor{LightBackground} {\emph{*PIPE SIZE}}8 & {\bf{5 FPS}} & {\bf{8 FPS}} & {\bf{10 FPS}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 1/2" & 4.5 & 6 & 8 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} 3/4" & 8 & 13 & 18 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} 1" & 16 & 20 & 29 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} 1-1/4" & 22 & 30 & 43 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} 1-1/2" & 28 & 40 & 55 \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} 2" & 48 & 70 & 95 \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} 2-1/2" & 73 & 105 & 150 \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} 3" & 110 & 160 & 205 \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.33664 cm} x{0.91894 cm} x{0.91894 cm} x{1.00248 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{MAX SFU}} \tn % Row 0 \SetRowColor{LightBackground} {\emph{*PIPE SIZE}}8 & {\bf{5 FPS}} & {\bf{8 FPS}} & {\bf{10 FPS}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 1/2" & 1.0 & 3 & 4 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} 3/4" & 4 & 9 & 16 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} 1" & 12 & 23 & 47 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} 1-1/4" & 27 & 55 & 95 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} 1-1/2" & 47 & 85 & 144 \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} 2" & 120 & 225 & 350 \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} 2-1/2" & 230 & 400 & 600 \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} 3" & 525 & 680 & 980 \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.3731 cm} x{1.28156 cm} x{1.92234 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{906.1 FIXTURE VENTS}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{SIZE OF TRAP}} & {\bf{SLOPE /FOOT}} & {\bf{DISTANCE FROM TRAP}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 1-1/4" & 1/4" & 5 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} 1-1/2" & 1/4" & 6 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} 2" & 1/4" & 8 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} 3" & 1/8" & 12 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} 4" & 1/8" & 16 \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.79172 cm} x{3.18528 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{RPBP Relief Valves}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Size of RPBP}} & {\bf{Required Floor drain size}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 2" & 55 GPM \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} 3" & 112 GPM \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} 4" & 170 GPM \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} 5" & 350 GPM \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} 6" & 450 GPM \tn % Row Count 7 (+ 1) \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}{Denver Sand Oil Intercept Sizing}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{(1) Cubic Foot of interceptor Capacity}}:} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 100 sf of floor space: & Machine shops/ auto repair \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} 250 sf of floor space & paint spray booths \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} 2000 sf of floor space & car garage w/ washed floors \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} 3000 sf of floor space & parking garage where tenants cars are washed \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} 4000 sf of floor space & parking garage with no water outlets \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Use Copeland 100 Gal/200 Gal concrete blocks for use.} \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}{Grease Interceptor sizing}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Capacity}} = `{[}2.5{]} x {[}2.0{]} x {[}CUF{]} x {[}Seating Count{]}` \newline % Row Count 2 (+ 2) `Gallons per customer = 2 ` \newline % Row Count 3 (+ 1) `Turn over rate = 2.5` \newline % Row Count 4 (+ 1) `Seating Capacity = architects seating count, NOT OCCUPANCY COUNT.` \newline % Row Count 6 (+ 2) `Cubic Usage factor= counting fixtures ONLY IN KITCHEN, connected ONLY TO GREASE.` \newline % Row Count 8 (+ 2) Starting CUF = 2.25 \newline % Row Count 9 (+ 1) Additional Fixtures have a factor of 0.25 CUF \newline % Row Count 10 (+ 1) Appliances have a factor of 0.5 CUF: stove(s)/griddle(s),3 comp or 2 comp sink,oven(s),Pot Sink,broiler(s),Mop Sink, fryer(s),Floor Sink,wok(s),Hand Sink, Garbage Disposal,Dishwasher% Row Count 14 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{• Must include sanitary Tee's from Denver standards. Copeland sheet does not include. \newline • Combine vents in building at 42" AFF and route thru roof \newline • If total vent length \textgreater{}40', increase vent size from 2" to 3" \newline • Coordinate location w/ civil engineer. They will need capacity, location, and vent routing. \newline • Include Denver standard and GI dimensions on drawing in interceptor detail. \newline • {\bf{Core \& Shell Retail - 1000 Gal / restaurant tenant space}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.83788 cm} p{0.79363 cm} p{0.66832 cm} x{0.87717 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{IPC Fixture Values - Private}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{FIXTURE}} & {\bf{COLD}} & {\bf{HOT}} & {\bf{TOTAL}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} BRG & 2.7 & 1.5 & 3.6 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Bathtub & 1.0 & 1.0 & 1.4 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Dish Machine & -{}- & 1.4 & 1.4 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Kitchen Sink & 1.0 & 1.0 & 1.4 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} Lavatory & 0.5 & 0.5 & 0.7 \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} Shower Head & 1.0 & 1.0 & 1.4 \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} 8lb washing machine & 1.0 & 1.0 & 1.4 \tn % Row Count 10 (+ 2) % Row 8 \SetRowColor{LightBackground} WC -tank & 2.2 & -{}- & 2.2 \tn % Row Count 11 (+ 1) % Row 9 \SetRowColor{white} WC - Flushmeter & 2.0 & -{}- & 2.0 \tn % Row Count 12 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.88666 cm} x{2.09034 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{AWWA (2nd ed) Fixture Values (gpm)}} \tn % Row 0 \SetRowColor{LightBackground} Toilet (Flush) - 4 & Urinal (wall) - 16 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Toilet (Flush Valve) - 35 & Shower - 2.5 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Shower - 2.5 & Lavatory - 1.5 \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Kitchen Sink - 2.2 & Utility Sink - 4 \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} Dish Washer - 2 & CWSW- 6 \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} 1/2" hosebib - 5 & 5/8" hosebib - 9 \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Pressure adjustments: \newline 50 PSI - 0.9 \newline 60 PSI - 1.0 \newline 70 PSI - 1.09 \newline 80 PSI - 1.17 \newline 90 PSI - 1.25} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}