\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{alyssagoody} \pdfinfo{ /Title (item-number-reference-sheet.pdf) /Creator (Cheatography) /Author (alyssagoody) /Subject (Item Number Reference Sheet 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}{ED4040} \definecolor{LightBackground}{HTML}{FDF3F3} \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{Item Number Reference Sheet Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{alyssagoody} via \textcolor{DarkBackground}{\uline{cheatography.com/177189/cs/36998/}}} \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}alyssagoody \\ \uline{cheatography.com/alyssagoody} \\ \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 9th February, 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{1.656 cm} p{1.368 cm} x{2.52 cm} x{1.656 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Amber Vials}} \tn % Row 0 \SetRowColor{LightBackground} 20 Dram & 145610 & qty: 235/cs & max: 25 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 40 Dram & 145611 & qty: 110/cs & max: 7 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 60 Dram & 145612 & qty: 70/cs & max: 6 \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.384 cm} p{0.936 cm} x{1.728 cm} x{1.152 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Caps}} \tn % Row 0 \SetRowColor{LightBackground} 20 Dram Safety & \seqsplit{108940} & qty: 150/bg & max: 30 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 40/60 Dram Safety & \seqsplit{108942} & qty: 100/bg & max: 24 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} 20 Dram NON-Safety & \seqsplit{145622} & qty: 150/bg & max: 16 \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} 40/60 Dram NON-Safety & \seqsplit{145624} & qty: 100/bg & max: 8 \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{1.296 cm} p{1.512 cm} x{2.88 cm} p{1.512 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Liquid Amber Vials}} \tn % Row 0 \SetRowColor{LightBackground} 2 oz & 340620 & qty: 200/cs & max: 1 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 4 oz & 340646 & qty: 110/cs & max: 3 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 6 oz & 340653 & qty: 75/cs & max: 3 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 8 oz & 340661 & qty: 60/cs & max: 3 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 16 oz & 340687 & qty: 30/cs & max: 3 \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.312 cm} p{1.008 cm} x{1.872 cm} p{1.008 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Oral Syringes/Adaptors}} \tn % Row 0 \SetRowColor{LightBackground} 1mL & \seqsplit{347174} & qty: 100/pk & max: 1 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 5mL (100ok) & \seqsplit{441878} & qty: 100/pk & max: 3 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} 10mL (100pk) & \seqsplit{972648} & qty: 100/pk & max: 1 \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} 2-8oz Adaptor Caps & \seqsplit{245761} & qty: 50/pk & max: 1 \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} 12-16oz Adaptor Caps & \seqsplit{289437} & qty: 50/pk & max: 1 \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.672 cm} p{0.936 cm} x{1.656 cm} p{0.936 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Misc.}} \tn % Row 0 \SetRowColor{LightBackground} Sharps Container (2 gal) & \seqsplit{812293} & qty: each & max: 4 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} CVS Band-Aids & \seqsplit{326957} & qty: 100/bx & max: 8 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Black Sharpie & \seqsplit{420778} & qty: 12/bx & max: 2 \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Counting Tray/Spatula & \seqsplit{421784} & qty: each & max: 3 \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} Phone Shoulder Rest & \seqsplit{242576} & qty: each & max: 1 \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} Stapler & \seqsplit{119348} & qty: each & max: \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.808 cm} p{1.08 cm} x{2.232 cm} p{1.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Paper/Labels}} \tn % Row 0 \SetRowColor{LightBackground} RX Labels & \seqsplit{399469} & qty: 1200/cs & max: 8 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Printer Paper & \seqsplit{088369} & qty: 5000/cs & max: 2 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Barcode Labels & \seqsplit{182959} & qty: 6/cs & max: 2 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} RX Shelf Labels & \seqsplit{233089} & qty: 50/pk & max: 1 \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.232 cm} p{1.224 cm} x{2.52 cm} p{1.224 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{RX Bags}} \tn % Row 0 \SetRowColor{LightBackground} Small Bags & \seqsplit{982827} & qty: 4000/cs & max: 3 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Medium Bags & & qty: & max: \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Large Bags & & qty: & max: \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} XL Bags & & qty: & max: \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.312 cm} p{1.008 cm} x{1.872 cm} p{1.008 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Confidential Trash Bags}} \tn % Row 0 \SetRowColor{LightBackground} Blue Bags (16 gal) & \seqsplit{473922} & qty: 200/cs & max: 2 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Blue Bags (33 gal) & \seqsplit{458256} & qty: 100/cs & max: 1 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Green Bags (44 gal) & \seqsplit{695071} & qty: 150/cs & max: 1 \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.808 cm} p{1.224 cm} x{1.8 cm} x{1.368 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Dividers}} \tn % Row 0 \SetRowColor{LightBackground} Blue Dividers & \seqsplit{338916} & qty: each & max: 10 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Clear Dividers & \seqsplit{448214} & qty: each & max: 20 \tn % Row Count 2 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{1.512 cm} p{1.512 cm} x{2.376 cm} x{1.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{RX Baskets}} \tn % Row 0 \SetRowColor{LightBackground} Black & 140241 & qty: each & max: 24 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Blue & 883376 & qty: each & max: 10 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Yellow & 140239 & qty: each & max: 10 \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}