\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{ManFromTheMoon}
\pdfinfo{
  /Title (rugs-and-carpets.pdf)
  /Creator (Cheatography)
  /Author (ManFromTheMoon)
  /Subject (Rugs \& Carpets 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}{A30808}
\definecolor{LightBackground}{HTML}{FCF7F7}
\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{Rugs \& Carpets Cheat Sheet}}}} \\
    \normalsize{by \textcolor{DarkBackground}{ManFromTheMoon} via \textcolor{DarkBackground}{\uline{cheatography.com/186384/cs/42450/}}}
\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}ManFromTheMoon \\
  \uline{cheatography.com/manfromthemoon} \\
  \end{tabulary}
\vfill
\columnbreak
\begin{tabulary}{5.8cm}{L}
  \SetRowColor{FootBackground}
  \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}}  \\
   \vspace{-2pt}Published 20th February, 2024.\\
   Updated 20th February, 2024.\\
   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}
\SetRowColor{DarkBackground}
\mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Origin}}  \tn
\SetRowColor{white}
\mymulticolumn{1}{x{8.4cm}}{The origin of a rug or carpet is often a reflection of its cultural heritage, with each region imparting its unique characteristics, motifs, and weaving techniques. \newline % Row Count 4 (+ 4)
- {\bf{Persian}}: Hailing from Iran, Persian rugs are celebrated for their intricate designs, vibrant colors, and superior craftsmanship. They often feature floral motifs, medallions, and elaborate borders. \newline % Row Count 9 (+ 5)
- {\bf{Oriental}}: A broad term that encompasses rugs from China, India, Egypt, and other parts of the Middle East and Asia, known for their detailed patterns and high-quality materials. \newline % Row Count 13 (+ 4)
- {\bf{Albanian}}: Although less known, Albanian rugs often feature bold geometric patterns and are typically made from wool. \newline % Row Count 16 (+ 3)
- {\bf{Azerbaijani}}: Hailing from the region of Azerbaijan, these rugs are known for their vivid colors and intricate patterns, often featuring medallions or dragon motifs. \newline % Row Count 20 (+ 4)
- {\bf{Armenian}}: Armenian rugs are one of the oldest varieties, with ancient designs that often include eagles, dragons, and floral patterns. \newline % Row Count 23 (+ 3)
- {\bf{Afghan}}: Distinguished by their deep reds and burgundies, with traditional octagonal patterns known as "elephant's foot." \newline % Row Count 26 (+ 3)
- {\bf{Turkish}}: Also known as Anatolian rugs, they are renowned for their rich colors, geometric patterns, and double-knotting technique. \newline % Row Count 29 (+ 3)
- {\bf{Indian}}: Indian rugs are diverse, ranging from finely knotted silk rugs to vibrant woolen dhurries, showcasing a mix of Persian and indigenous designs. \newline % Row Count 33 (+ 4)
} \tn 
\end{tabularx}
\par\addvspace{1.3em}

\vfill
\columnbreak
\begin{tabularx}{8.4cm}{X}
\SetRowColor{DarkBackground}
\mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Origin (cont)}}  \tn
\SetRowColor{white}
\mymulticolumn{1}{x{8.4cm}}{- {\bf{Moroccan}}: Characterized by their simple geometric designs and thick pile, Moroccan rugs, especially those from the Berber tribes, are prized for their rustic charm. \newline % Row Count 4 (+ 4)
- {\bf{Pakistani}}: Known for their Bokhara rugs, which are distinguished by their soft texture and repeating geometric patterns. \newline % Row Count 7 (+ 3)
- {\bf{Scandinavian}}: Scandinavian design emphasizes minimalism and functionality, with rugs often featuring modern, abstract patterns and a muted color palette. \newline % Row Count 11 (+ 4)
- {\bf{Native American}}: These rugs are rich in symbolism, with designs that reflect the stories and traditions of various tribes. \newline % Row Count 14 (+ 3)
- {\bf{Turkmen}}: Famous for their "gul" motif, Turkmen rugs are typically red and feature geometric patterns with tribal influences. \newline % Row Count 17 (+ 3)
- {\bf{Tibetan}}: Tibetan rugs are unique for their use of highland sheep wool and traditional motifs that are often spiritual or symbolic in nature. \newline % Row Count 20 (+ 3)
- {\bf{European}}: European rugs vary widely, from the Aubusson and Savonnerie designs of France, which are ornate and floral, to the minimalist and contemporary styles of Scandinavia.% Row Count 24 (+ 4)
} \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\SetRowColor{LightBackground}
\mymulticolumn{1}{x{8.4cm}}{Source: \{\{link="https://artiesa.com/origins/"\}\}artiesa\{\{/link\}\}}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{X}
\SetRowColor{DarkBackground}
\mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Native American Rug}}  \tn
\SetRowColor{LightBackground}
\mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/manfromthemoon_1708451131_america-native-north-american-southwest-navajo-post-contact-late-class-blanket-45a38f-1024.jpg}}} \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\SetRowColor{LightBackground}
\mymulticolumn{1}{x{8.4cm}}{\{\{link="https://americanindian.si.edu/"\}\}National Museum of the American Indian\{\{/link\}\}}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{X}
\SetRowColor{DarkBackground}
\mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Karapinar Rug Fragment}}  \tn
\SetRowColor{LightBackground}
\mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/manfromthemoon_1708451424_karapinar-rug-fragment-a2104f-1024.jpg}}} \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{X}
\SetRowColor{DarkBackground}
\mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Carpet - late 16th–early 17th century}}  \tn
\SetRowColor{LightBackground}
\mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/manfromthemoon_1708451514_DP318914.jpg}}} \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\SetRowColor{LightBackground}
\mymulticolumn{1}{x{8.4cm}}{\{\{link="https://www.metmuseum.org"\}\}metsmuseum.org\{\{/link\}\}}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Style}}  \tn
% Row 0
\SetRowColor{LightBackground}
{\bf{Traditional}} & These rugs often feature classic patterns, medallions, florals, and borders, with a formal and elegant appearance. \tn 
% Row Count 5 (+ 5)
% Row 1
\SetRowColor{white}
{\bf{Modern}} & Modern rugs embrace bold colors, abstract designs, and minimalistic patterns, fitting well in contemporary interiors. \tn 
% Row Count 10 (+ 5)
% Row 2
\SetRowColor{LightBackground}
{\bf{Contemporary}} & A blend of modern and traditional, contemporary rugs feature current trends while often drawing inspiration from traditional motifs. \tn 
% Row Count 15 (+ 5)
% Row 3
\SetRowColor{white}
{\bf{Shag}} & Known for their long, plush fibers, shag rugs offer a soft, cozy texture that adds warmth to any room. \tn 
% Row Count 19 (+ 4)
% Row 4
\SetRowColor{LightBackground}
{\bf{Antique}} & Antique rugs are valued for their age, history, and patina, offering a timeless elegance and a sense of history. \tn 
% Row Count 23 (+ 4)
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{8.4cm}}{The style of a rug can dramatically influence the ambiance and aesthetic of a space, with each style offering a different vibe and visual impact.}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Patterns and Designs}}  \tn
% Row 0
\SetRowColor{LightBackground}
{\bf{Floral}} & Floral patterns are timeless, adding a touch of nature and elegance to any room. \tn 
% Row Count 3 (+ 3)
% Row 1
\SetRowColor{white}
{\bf{Geometric}} & Geometric designs, with their clean lines and shapes, add a modern or tribal touch depending on the context. \tn 
% Row Count 7 (+ 4)
% Row 2
\SetRowColor{LightBackground}
{\bf{Abstract}} & Abstract rugs are artful and eye-catching, often serving as a focal point in a room. \tn 
% Row Count 10 (+ 3)
% Row 3
\SetRowColor{white}
{\bf{Solid Colors}} & Rugs in solid colors offer versatility and can anchor a room without overwhelming it. \tn 
% Row Count 14 (+ 4)
% Row 4
\SetRowColor{LightBackground}
{\bf{Animal Print}} & Animal print rugs add a bold and wild element to interiors, often used as statement pieces. \tn 
% Row Count 18 (+ 4)
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{8.4cm}}{The pattern or design of a rug can define its character and influence the mood of a space.}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{x{3.04 cm} x{4.96 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Care and Maintenance}}  \tn
% Row 0
\SetRowColor{LightBackground}
{\bf{Regular Vacuuming}} & Regular vacuuming prevents dust and dirt from settling into the fibers, extending the life of your rug. \tn 
% Row Count 5 (+ 5)
% Row 1
\SetRowColor{white}
{\bf{Spot Cleaning}} & Immediate attention to spills and stains can prevent permanent damage. Use cleaning solutions appropriate for your rug's material. \tn 
% Row Count 11 (+ 6)
% Row 2
\SetRowColor{LightBackground}
{\bf{Professional Cleaning}} & Occasionally, it's beneficial to have your rug professionally cleaned, especially for delicate materials like silk or antique rugs. \tn 
% Row Count 17 (+ 6)
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{8.4cm}}{The longevity of a rug greatly depends on how well it is maintained. Here are some tips for keeping your rugs in pristine condition:}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Weaving Technique}}  \tn
% Row 0
\SetRowColor{LightBackground}
{\bf{Handwoven}} & Crafted without the use of machinery, handwoven rugs are often highly valued for their craftsmanship and uniqueness. \tn 
% Row Count 5 (+ 5)
% Row 1
\SetRowColor{white}
{\bf{Machine-made}} & Produced on looms with mechanical assistance, machine-made rugs are more affordable and offer consistent patterns. \tn 
% Row Count 10 (+ 5)
% Row 2
\SetRowColor{LightBackground}
{\bf{Tufted}} & Tufted rugs are made by punching strands of yarn through a base, creating a dense and plush texture. \tn 
% Row Count 14 (+ 4)
% Row 3
\SetRowColor{white}
{\bf{Knotted}} & The most traditional and labor-intensive method, knotted rugs are made by tying individual knots on the warp threads, allowing for intricate designs. \tn 
% Row Count 20 (+ 6)
% Row 4
\SetRowColor{LightBackground}
{\bf{Braided}} & Braided rugs are made by intertwining fabric strips, creating a durable and often reversible rug. \tn 
% Row Count 24 (+ 4)
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{8.4cm}}{The technique used to create a rug not only affects its texture and durability but also its artistic and cultural significance.}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{x{3.6 cm} x{4.4 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Material}}  \tn
% Row 0
\SetRowColor{LightBackground}
{\bf{Wool}} & Known for its durability, warmth, and stain resistance, wool is a popular choice for high-quality rugs. \tn 
% Row Count 5 (+ 5)
% Row 1
\SetRowColor{white}
{\bf{Silk}} & Silk rugs are prized for their softness and sheen, offering exquisite detail and luxury. \tn 
% Row Count 9 (+ 4)
% Row 2
\SetRowColor{LightBackground}
{\bf{Synthetic (Polyester, Nylon)}} & Synthetic fibers offer durability and ease of care, making them suitable for high-traffic areas. \tn 
% Row Count 14 (+ 5)
% Row 3
\SetRowColor{white}
{\bf{Cotton}} & Cotton rugs are lightweight and easy to clean, offering a casual and comfortable feel. \tn 
% Row Count 18 (+ 4)
% Row 4
\SetRowColor{LightBackground}
{\bf{Natural Fibers (Jute, Bamboo)}} & Rugs made from natural fibers like jute and bamboo offer an eco-friendly option with a rustic aesthetic. \tn 
% Row Count 23 (+ 5)
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{8.4cm}}{The material of a rug not only influences its feel and durability but also its suitability for different spaces and uses. More: \{\{link="https://artiesa.com/materials/ "\}\}Material of rugs\{\{/link\}\}}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}

\begin{tabularx}{8.4cm}{x{3.12 cm} x{4.88 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Sustainability and Ethical Considerations}}  \tn
% Row 0
\SetRowColor{LightBackground}
{\bf{Eco-Friendly Materials}} & Look for rugs made from natural, renewable, or recycled materials. Wool, jute, and bamboo are excellent sustainable options \tn 
% Row Count 6 (+ 6)
% Row 1
\SetRowColor{white}
{\bf{Ethical Production}} & Consider rugs that are certified by organizations that ensure fair labor practices and environmental stewardship. \tn 
% Row Count 11 (+ 5)
% Row 2
\SetRowColor{LightBackground}
{\bf{Durability}} & Choosing a high-quality, durable rug means it won't need to be replaced as frequently, reducing waste. \tn 
% Row Count 16 (+ 5)
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{8.4cm}}{As awareness grows regarding the impact of manufacturing and consumer goods on the environment, sustainability and ethical production have become increasingly important.}  \tn 
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}


% That's all folks
\end{multicols*}

\end{document}