\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{Siffi (Siffi)} \pdfinfo{ /Title (paeds-hx-taking.pdf) /Creator (Cheatography) /Author (Siffi (Siffi)) /Subject (Paeds Hx taking 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}{7E27A3} \definecolor{LightBackground}{HTML}{F6F1F9} \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{Paeds Hx taking Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Siffi (Siffi)} via \textcolor{DarkBackground}{\uline{cheatography.com/122609/cs/22906/}}} \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}Siffi (Siffi) \\ \uline{cheatography.com/siffi} \\ \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 7th May, 2021.\\ 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{tabularx}{17.67cm}{p{1.727 cm} p{1.727 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{{\bf{Mother}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{What are her worries?} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{17.67cm}}{What does she think?} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{Quote her verbatim} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{17.67cm}}{Understand her idiom} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{Ask her to define her terms} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{17.67cm}}{Start with "tell me about your baby"} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{8.9804 cm} x{8.2896 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Features of a history}} \tn % Row 0 \SetRowColor{LightBackground} Identifying data & Chief complaint \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Birth History \& Pre natal history & Sleeping patterns and positions \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} Feeding and elimination history & Innoculations \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Health history and family health & Older sibling/family problems \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{9.1531 cm} x{8.1169 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Qs to ask}} \tn % Row 0 \SetRowColor{LightBackground} When does it occur? & How long has he had it? \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Can you describe it? & What bring it on? \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Does anything relieve it? & What makes it worse? \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Pattern and periodicity? & Associated symptoms? \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} What does he do when he has it? & What have you done about it? \tn % Row Count 9 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{Clue words: \newline "doesn't like bread/biscuits" = gluten intolerance \newline "He loves salt" - losing salt? \newline "He's hungry after being sick." = mechanical vomiting - pyloric stenosis, GORD} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{4.4902 cm} x{12.7798 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Mother's health}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Conception}} & Natural/assisted? \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Illness:}} & Infections, diabetes, vomiting, bleeding, eclampsia, pre-eclampsia, toxaemia, anaemia, excess weight gain, back pain \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} {\bf{Injuries}} & Accidental/On purpose? \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{17.67cm}}{{\bf{Smoking?}}} \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{9.3258 cm} x{7.9442 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{{\bf{Birth details}}}} \tn % Row 0 \SetRowColor{LightBackground} Place of birth & Interventions \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Type of delivery & Analgesia \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 38-42 weeks is normal & Birth weight \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Birth height & Head circumference \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{8.8077 cm} x{8.4623 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Additional questions}} \tn % Row 0 \SetRowColor{LightBackground} How long was the first/second stage? & Home birth, hospital birth, midwife? \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Vaginal, planned c-section, emergency? & Delivery? Position? \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{{\bf{Childhood illnesses:}} \newline Coughs + colds, oral thrush, skin rashes, sticky eyes, ear problems, breathing difficulties, bronchiolitis, asthma, constipation, diarrhoea, chickenpox} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{5.3537 cm} x{11.9163 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Nutritional health}} \tn % Row 0 \SetRowColor{LightBackground} Introduced solids? & If regurgitation = how frequent? What colour? \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{7.2534 cm} x{10.0166 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Health}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{Less than 6 wet nappies per day} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Immunisations:}} & 8 weeks, pneumococcal, rotavirus, MenB \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} 12Weeks, 6 in 1 - rotavirus & 16weeks, 6 in 1: pneumococcal, MenB \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{17.67cm}}{1 year: MMR, Hib/MenC, pneumococcal, MenB} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{5.8718 cm} x{11.3982 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{Development}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{6 weeks}} & Smilling \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{3 months}} & Head Steady \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{7 months}} & Sits unaided \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{9 months}} & Standing unsupported \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{11 months}} & Crawling \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{12 months}} & 2 or 3 recognisable words \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \end{document}