\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{{[}deleted{]}} \pdfinfo{ /Title (trichology-hair-porosity.pdf) /Creator (Cheatography) /Author ({[}deleted{]}) /Subject (Trichology (Hair Porosity) 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}{3D0463} \definecolor{LightBackground}{HTML}{F8F7FA} \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{Trichology (Hair Porosity) Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{{[}deleted{]}} via \textcolor{DarkBackground}{\uline{cheatography.com/122911/cs/23015/}}} \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}{[}deleted{]} \\ \uline{cheatography.com/deleted-122911} \\ \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 29th May, 2020.\\ 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.55618 cm} x{1.51041 cm} x{1.51041 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{{\bf{Types of Hair Porosity}}}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Low Porosity}} & {\bf{Normal Porosity}} & {\bf{High Porosity}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Cuticles are tightly clamped down, preventing moisture from entering the hair. It often takes longer to saturate with water, including natural oils. As a result they sit on the hair, causing buildup. & Balanced between low and high porosity, this type of hair can hold moisture for an extended period of time. Therefore, it holds styles well and accepts color more easily and evenly. & Highly porous hair has raised cuticles, allowing moisture to go in and out quickly. This type is often \seqsplit{characterized} by frizzy, straw-like hair. \tn % Row Count 18 (+ 16) % Row 2 \SetRowColor{LightBackground} {\bf{Float}} on the surface when dropped into a glass of water & {\bf{Sink slowly}} when dropped into a glass of water & {\bf{Sink Quickly}} when dropped in glass of water \tn % Row Count 23 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{{\bf{Hair porosity is}} the hair's ability to absorb and retain moisture. While porosity is mostly genetic, factors such as heat, environmental stress and chemical treatments ( dying or permanent relaxers) can cause hair to age and significantly alter its structure.} \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}{{\bf{Glossary}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Pre Poo}} means to treat the hair with oils or conditioners {\emph{before washing it}} in order to restore moisture in the hair and prevent it to escape. In pre poo, we could use Coconut oil, Avocado oil, Olive oil, Argan oil, Shea butter and Mango Butter.} \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Hot oil}} it's a step between shampoo and cond. to nourish, moist., seal and protect the dry, brittle, split ended hair.} \tn % Row Count 9 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Co Wash}} or conditioner washing, is a recommended cleansing alternative to harsh shampoos because it cleans hair while maintaining the natural oils that keep hair hydrated.} \tn % Row Count 13 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.58804 cm} x{2.38896 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{{\bf{Determine Hair Type and Shortfalls}}}} \tn % Row 0 \SetRowColor{LightBackground} Hair {\emph{stretches and returns}} to its original form & Balanced Hair. \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Hair {\emph{stretches and doesn't return}} to its original form & Hair is lacking Protein. \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Hair {\emph{doesn't stretch}} at all & Hair is lacking Moisture. \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} Hair {\emph{stretches and breaks}} & Hair is lacking Moisture and Protein. \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} Hair feels {\emph{stringy, limp or sticky}} & Hair needs Protein. \tn % Row Count 12 (+ 2) % Row 5 \SetRowColor{white} Hair feels {\emph{tough and hard}} & Hair has too much Protein. \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} Hair feels and looks {\emph{tangled, dry or brittle}} & Hair needs Moisture. \tn % Row Count 17 (+ 3) % Row 7 \SetRowColor{white} Hair is {\emph{soft but is breaking}} and won't style & Hair has too much Moisture \tn % Row Count 20 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{Wet Stretch Test for Hair Method}} \newline -Gather about 10 strands of hair from different areas of the head, such as the front hairline, nape and crown and spray with water. \newline -Hold hair firmly with both hands between the thumb and finger. \newline - Lightly stretch hair away from the head.} \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}{Types of Hair Texture and Density}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/asma-eltouni_1590581010_identify-your-hair-type-with-this-chart.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Defining Hair Texture}} \newline {\bf{Coarse Hair}} has the largest circumference it feels heavy and rough. (Low or Thin Density) \newline {\bf{Medium Hair}} it indicates a middle range of the hair shaft size with normal texture.(Medium Density) \newline {\bf{Fine Hair}} it has the smallest circumference its texture is soft and silky.(Thick Density)} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{{\bf{High Porosity Hair Regimen}}}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Natural oils}} which suits this type & {\emph{Heavy Oils to seal the cuticle and retain moisture}} (olive, castor, avocado, linseed, wheatgerm,coconut, grape seed and marrow oil. \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} {\bf{Pre Poo}} (weekly) & This process nourish the dry hair and restore moisture. \tn % Row Count 10 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{Shampoo}} (weekly) & Should use nourishing and moisturizing shampoo not just clarifying one. \tn % Row Count 14 (+ 4) % Row 3 \SetRowColor{white} {\bf{Conditioner}} (weekly) & Contains heavy oils \& butters to moisturize and seal the hair shaft (Softening effect) \tn % Row Count 19 (+ 5) % Row 4 \SetRowColor{LightBackground} {\bf{Deep Conditioner}} (Hair Masks) Monthly & It Contains Hydrolyzed proteins, vitamins and more able to penetrate the shaft and repair the damaged hair. \tn % Row Count 25 (+ 6) % Row 5 \SetRowColor{white} {\bf{Avoid}} & Heat, narrow teeth combs, comb while dry or wet. \tn % Row Count 28 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{Tips to do}} & Comb when damp, use heavy butters styling creams. \tn % Row Count 31 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.43873 cm} x{2.53827 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{{\bf{Low Porosity Hair Regimen}}}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Natural oils}} which suits this type & Light Oils Which penetrate the shaft to moisturize the hair without forming greasy buildup on the surface. \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} Example for this oils & Argan, jojoba, sesame, pomegranate, green tea, sweet almond and grape seed oil. \tn % Row Count 10 (+ 4) % Row 2 \SetRowColor{LightBackground} {\bf{Shampoo}} & Clarifying \tn % Row Count 11 (+ 1) % Row 3 \SetRowColor{white} {\bf{Conditioner}} & Light Cond. just to keep the hair moisturized \tn % Row Count 14 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{Rinse}} monthly & A solution of diluted apple cider vinegar and tea tree oil \tn % Row Count 17 (+ 3) % Row 5 \SetRowColor{white} {\bf{Tips to do}} & Comb when damp, apply the styling product evenly and use small amount \tn % Row Count 21 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.73275 cm} x{1.24425 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Other Topic Loading.....}} \tn % Row 0 \SetRowColor{LightBackground} Oils Promote Hair Growth & Hair Fall \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Vegetable oils \& Essential oils for Hair & Hair Dandruff \tn % Row Count 3 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}