\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{cscutcher} \pdfinfo{ /Title (planetary-annihilation-titans.pdf) /Creator (Cheatography) /Author (cscutcher) /Subject (Planetary Annihilation: Titans 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}{FF883B} \definecolor{LightBackground}{HTML}{FFF7F2} \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{Planetary Annihilation: Titans Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{cscutcher} via \textcolor{DarkBackground}{\uline{cheatography.com/83107/cs/19726/}}} \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}cscutcher \\ \uline{cheatography.com/cscutcher} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 29th May, 2019.\\ Updated 29th May, 2019.\\ 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{2.9862 cm} x{1.9908 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Unit Control Keys}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Selects units and orders}} & Left-click \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Give orders to a currently selected unit}} & Right-click \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Deselect a currently selected unit or cancel a selected order}} & Left-click (with selection) \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.88206 cm} x{1.09494 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Factory Controls}} \tn % Row 0 \SetRowColor{LightBackground} Increase units in increments of 5 & \seqsplit{SHIFT+click} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Puts that unit at the front of a factory's queue and excludes it from any continuous build queue. & \seqsplit{CTRL-click} \tn % Row Count 6 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Factory Queue}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Normal Build Mode}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}The number of units queued will decrease by one each time the factory starts building another unit. \{\{nl\}\}\{\{nl\}\}For example, once a factory with two fabbers queued starts to build a fabber it will reduce the fabber number from 2 to 1 to indicate the size of the queue remaining.} \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Continuous Build Mode}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Continuous build mode the factory will loop through the queued units and the numbers displayed will not change.\{\{nl\}\}\{\{nl\}\}There will not be an indication as to where in the queue it currently is.\{\{nl\}\}\{\{nl\}\}Units added to the queue before the enabling of continuous build mode are removed from the queue upon completion per normal build mode.} \tn % Row Count 16 (+ 9) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Stop Command}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}The stop command can be used to cancel any currently building unit and to wipe the queue.} \tn % Row Count 19 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Order Info}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Unit Orders P1}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Move}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}When you order a group of units to move they will do so in a formation at the speed of the slowest unit. \{\{nl\}\}\{\{nl\}\} Units will continue to attack anything in range while moving.Units will continue to attack anything in range while moving.\{\{nl\}\}\{\{nl\}\} Use a {\bf{CTRL-click}} to have units break formation and move as fast as they can.\{\{nl\}\}\{\{nl\}\} Units issued a move command after being ordered to attack a target will continued to attack that target specifically until unable to do so, allowing you to dodge Ubercannon blasts from a Commander while still shooting it and not other units in the vicinity.} \tn % Row Count 14 (+ 14) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Attack}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Allows you to perform attack moves whereby units will move to a location but stop to attack anything along the way.\{\{nl\}\}\{\{nl\}\} Also used to cause a {\bf{nuke}} to attack a ground location.\{\{nl\}\}\{\{nl\}\} Units on an attack command {\bf{will not}} maintain formation and will move independent of one another.\{\{nl\}\}\{\{nl\}\} If you issue an attack command against a specific unit, your units will treat it as a priority target even if you issue a subsequent command.\{\{nl\}\}\{\{nl\}\}} \tn % Row Count 25 (+ 11) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Alt Fire}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}exists only for the Commander and controls its Ubercannon. This is a short-ranged, energy expensive attack that will devastate enemy units.} \tn % Row Count 29 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.68298 cm} x{1.29402 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{General Keyboard}} \tn % Row 0 \SetRowColor{LightBackground} Pause game & break \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Show Player & f1 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Show/Hide Visual Aid Overlays & ctrl-y \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Show/Hide Performance Panel & ctrl-p \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Ping & g \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Dismiss Alert & space \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Zoom to Combat & \seqsplit{ctrl-space} \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.53367 cm} x{1.44333 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{PIP}} \tn % Row 0 \SetRowColor{LightBackground} Show/Hide Pip & q \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Swap Pip & SHIFT+q \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Copy To Pip & ALT+q \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Toggle Pip Mirror & ALT-m \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Order Info}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Unit Orders P2}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Use}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Use is for particular buildings like the Teleporter.You should never need to select this from the orders bar.} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Unload}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}transports to unload their cargo. If you're moving a unit between planets using Astraeus transport then you need to issue the move order to the other planet first and queue the unload afterwards.} \tn % Row Count 10 (+ 6) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Load}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}is for transports to load their cargo. Note that Pelicans cannot carry Commanders.} \tn % Row Count 13 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Stop}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}cancels everything that unit or building was doing.} \tn % Row Count 16 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.68298 cm} x{1.29402 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Unit Hotkeys (custom)}} \tn % Row 0 \SetRowColor{LightBackground} Select Commander & ALT+C \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Select Idle Fabbers & f \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Select All Factories & SHIFT+F1 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Select All Idle Factories & SHIFT+F2 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Select All Combat Units & SHIFT+F3 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Select All Land Combat Units & SHIFT+F4 \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Select All Air Combat Units & SHIFT+F5 \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Select All Naval Combat Units & SHIFT+F6 \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} {\emph{On Screen Modifier}} & \seqsplit{CTRL+ABOVE} \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Order Info}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Unit Orders P3}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Use}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}Use is for particular buildings like the Teleporter.You should never need to select this from the orders bar.} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Unload}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}transports to unload their cargo. If you're moving a unit between planets using Astraeus transport then you need to issue the move order to the other planet first and queue the unload afterwards.} \tn % Row Count 10 (+ 6) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Load}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}is for transports to load their cargo. Note that Pelicans cannot carry Commanders.} \tn % Row Count 13 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Stop}}} \tn \mymulticolumn{1}{x{5.377cm}}{\hspace*{6 px}\rule{2px}{6px}\hspace*{6 px}cancels everything that unit or building was doing.} \tn % Row Count 16 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}