\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{RainyMoons (RainyMoons)} \pdfinfo{ /Title (opium-wars-timeline.pdf) /Creator (Cheatography) /Author (RainyMoons (RainyMoons)) /Subject (Opium Wars Timeline 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}{A3335C} \definecolor{LightBackground}{HTML}{F9F2F4} \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{Opium Wars Timeline Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{RainyMoons (RainyMoons)} via \textcolor{DarkBackground}{\uline{cheatography.com/153402/cs/44048/}}} \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}RainyMoons (RainyMoons) \\ \uline{cheatography.com/rainymoons} \\ \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 8th August, 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*}{3} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Prelude to the Opium Wars}} \tn % Row 0 \SetRowColor{LightBackground} 1729 & The Yongzheng Emperor issues the first official edict banning the sale and smoking of opium in China. \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} 1757 & The Qianlong Emperor restricts all foreign trade to the port of Canton (Guangzhou) under the Canton System, limiting interactions with foreign traders. \tn % Row Count 8 (+ 5) % Row 2 \SetRowColor{LightBackground} 1773 & The British East India Company starts to auction opium in Calcutta, marking the beginning of the organized opium trade to China. \tn % Row Count 12 (+ 4) % Row 3 \SetRowColor{white} 1799 & The Jiaqing Emperor issues another edict prohibiting the importation of opium, recognizing its growing social and economic impact. \tn % Row Count 16 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{First Opium War (1839-1842)}} \tn % Row 0 \SetRowColor{LightBackground} 1834 & The British East India Company's monopoly on the China trade ends, leading to an increase in British merchants trading opium. \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} 1838 & Lin Zexu is appointed by the Daoguang Emperor as Imperial Commissioner to eradicate the opium trade in Canton. \tn % Row Count 9 (+ 4) % Row 2 \SetRowColor{LightBackground} March 1839 & Lin Zexu arrives in Canton and orders the confiscation and destruction of over 20,000 chests of opium from British merchants. \tn % Row Count 14 (+ 5) % Row 3 \SetRowColor{white} June 1839 & Lin Zexu writes an open letter to Queen Victoria appealing to her moral sense to stop the opium trade. \tn % Row Count 18 (+ 4) % Row 4 \SetRowColor{LightBackground} July 1839 & The First Battle of Chuenpi occurs as tensions escalate between Chinese authorities and British traders. \tn % Row Count 22 (+ 4) % Row 5 \SetRowColor{white} November 1838 & The British Royal Navy enforces a blockade of the Pearl River, preventing Chinese ships from entering or leaving Canton. \tn % Row Count 27 (+ 5) % Row 6 \SetRowColor{LightBackground} January 1841 & The British capture the forts at the mouth of the Pearl River, marking the first significant military engagement of the war. \tn % Row Count 32 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{First Opium War (1839-1842) (cont)}} \tn % Row 7 \SetRowColor{LightBackground} August 1841 & The British occupy the city of Amoy (Xiamen) as they expand their military operations. \tn % Row Count 3 (+ 3) % Row 8 \SetRowColor{white} June 1842 & The British capture Shanghai, demonstrating their superior naval power. \tn % Row Count 6 (+ 3) % Row 9 \SetRowColor{LightBackground} 29 August 1842 & The Treaty of Nanking is signed, officially ending the First Opium War. Key terms include ceding Hong Kong to Britain, opening five treaty ports (Canton, Amoy, Fuzhou, Ningbo, and Shanghai) to British trade, and paying a large indemnity. \tn % Row Count 15 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Interwar Period (1842-1856)}} \tn % Row 0 \SetRowColor{LightBackground} 1844 & The Treaty of Wanghia is signed between the United States and China, granting the US the same trading rights as Britain. \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} 1844 & The Treaty of Whampoa is signed between France and China, similar to the Treaty of Wanghia. \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} 1847 & Tensions continue as the British conduct military operations in Canton to enforce the terms of the Treaty of Nanking. \tn % Row Count 11 (+ 4) % Row 3 \SetRowColor{white} 1854 & The Arrow Incident occurs when Chinese authorities board a Chinese-owned ship (registered under the British flag) in Canton, leading to renewed tensions. \tn % Row Count 16 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Second Opium War (1856-1860)}} \tn % Row 0 \SetRowColor{LightBackground} October 1856 & The Arrow Incident escalates when British forces bombard Canton, marking the start of the Second Opium War. \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} December 1856 & French forces join the British, forming an Anglo-French alliance against China after the execution of a French missionary. \tn % Row Count 9 (+ 5) % Row 2 \SetRowColor{LightBackground} June 1857 & The British and French forces capture Canton, deposing the local governor and establishing joint control over the city. \tn % Row Count 14 (+ 5) % Row 3 \SetRowColor{white} May 1858 & The British and French forces advance towards Tianjin, capturing the Dagu Forts along the way. \tn % Row Count 18 (+ 4) % Row 4 \SetRowColor{LightBackground} June 1858 & The Treaty of Tientsin is signed, temporarily halting hostilities. Key terms include opening more ports to foreign trade, legalizing the opium trade, and allowing foreign embassies in Beijing. \tn % Row Count 25 (+ 7) % Row 5 \SetRowColor{white} June 1859 & Chinese resistance leads to the Dagu Forts being recaptured by Chinese forces, and hostilities resume. \tn % Row Count 29 (+ 4) % Row 6 \SetRowColor{LightBackground} August 1860 & The British and French launch a renewed campaign, capturing the Dagu Forts and advancing on Beijing. \tn % Row Count 33 (+ 4) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Second Opium War (1856-1860) (cont)}} \tn % Row 7 \SetRowColor{LightBackground} October 1860 & The Anglo-French forces capture Beijing and loot and burn the Old Summer Palace (Yuanmingyuan). \tn % Row Count 4 (+ 4) % Row 8 \SetRowColor{white} 24 October 1860 & The Convention of Peking is signed, concluding the Second Opium War. China agrees to adhere to the Treaty of Tientsin, cede the Kowloon Peninsula to Britain, and pay further indemnities. \tn % Row Count 11 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Consequences and Legacy}} \tn % Row 0 \SetRowColor{LightBackground} 1861 & The establishment of the Zongli Yamen, a Qing government body to manage foreign affairs, marks the beginning of China's modernization efforts in response to the humiliations of the Opium Wars. \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} 1872 & The first Chinese students are sent to the United States for education, reflecting China's growing recognition of the need for modernization. \tn % Row Count 10 (+ 4) % Row 2 \SetRowColor{LightBackground} 1895 & The Treaty of Shimonoseki ends the First Sino-Japanese War, with terms influenced by China's weakened state post-Opium Wars, including the cession of Taiwan to Japan. \tn % Row Count 15 (+ 5) % Row 3 \SetRowColor{white} 1900 & The Boxer Rebellion occurs, fueled by anti-foreign sentiment partly resulting from the Opium Wars' legacy. The Eight-Nation Alliance suppresses the rebellion, leading to further concessions from China. \tn % Row Count 21 (+ 6) % Row 4 \SetRowColor{LightBackground} 1911 & The Xinhai Revolution leads to the fall of the Qing Dynasty and the establishment of the Republic of China, ending over two millennia of imperial rule, a process accelerated by the disruptions of the Opium Wars. \tn % Row Count 27 (+ 6) % Row 5 \SetRowColor{white} 1949 & The People's Republic of China is established by the Communist Party under Mao Zedong, with the Opium Wars often cited as a pivotal moment in the narrative of China's "century of humiliation." \tn % Row Count 33 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}