\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{bepo} \pdfinfo{ /Title (nightlife-rp.pdf) /Creator (Cheatography) /Author (bepo) /Subject (Nightlife RP 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}{828282} \definecolor{LightBackground}{HTML}{F7F7F7} \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{Nightlife RP Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{bepo} via \textcolor{DarkBackground}{\uline{cheatography.com/79311/cs/19236/}}} \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}bepo \\ \uline{cheatography.com/bepo} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 31st March, 2019.\\ Updated 2nd April, 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{4.18068 cm} p{0.79632 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Chat/ Voice Commands}} \tn % Row 0 \SetRowColor{LightBackground} Out of character chat & /ooc \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Tweets & /twt \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Anonymous Tweet & /anon \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} IN character Advertisement & /ad \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Push to talk & N \tn % Row Count 5 (+ 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}{Player Related Commands}} \tn % Row 0 \SetRowColor{LightBackground} Character Registration & /register \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Phone & F1 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Inventory & F2 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Hands Up & X \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Point & B \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Crouch & Ctrl \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Change View/Angle & V \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.83229 cm} x{1.14471 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Vehicle Controls}} \tn % Row 0 \SetRowColor{LightBackground} Vehicle Trunk Storage & U \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Lock & L \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Seatbelt & B \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Open Trunk & /trunk \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Open hood & /hood \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Light Indicators & - and = \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Cruise Control & SHIFT \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} Turn on/off Lights/Extra & H \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Toggle Vehicle Engine & K \tn % Row Count 9 (+ 1) \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}{Work Related Commands}} \tn % Row 0 \SetRowColor{LightBackground} Invoices & F7 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Work Menu & F6 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Take out a cam recorder & /cam \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Take out a mic & /mic \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Start / End Mission & Delete \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} N+ & Numpad + \tn % Row Count 6 (+ 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}{Emotes}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Get a list of all available emotes - /emotes} \tn % Row Count 1 (+ 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}{Starting Out}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{The job center is a purple "i" icon. Providing you with multiple choices to keep you satisfied and busy.} \tn % Row Count 3 (+ 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}{What is there to do?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Where do I begin, there is so much to do! Open your map and look for any activities that look the most appealing to you. My favorite thing to do is drive around finding people and interact. Meeting people and making new friends is an extremely fun way, and will help you have a better time.} \tn % Row Count 6 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{What are some essentials I will need?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Food and drinks most importantly! You need to eat/drink in order to survive! You can see your bar going down on the bars above the map. Once it reaches 0, you will die! Repair kits are also highly recommended, so you don't stay stranded with a broken car. A Flashlight can come in handy too!} \tn % Row Count 6 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{I want to drive, what do I need to know?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{You should head over to the driving school (White suitcase Icon) and get yourself a license. There will be a multiple choice written test and a physical driving test.} \tn % Row Count 4 (+ 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}{How do I make money?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Through your job mostly, you'll receive a paycheck every 15 minutes, and you will earn more on the side with depending on what you're working with. We have multiple jobs in the job center, but keep in mind we have a lot of custom jobs too. So if it is your dream to be a dancer at Vanilla Unicorn or work at a hotdog stand, we won't stop you! Just ask around using /twt and someone will help you get started. We do have a wide range of illegal activities you can partake in also, if you're the naughty type. Drugs, Money laundering, gangs etc.} \tn % Row Count 11 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Useful Terms to know}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{"OOC"- OOC is short for "Out of Character". When you're speaking OOC, you're not speaking as your in-game character.} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{"FailRP"- FailRP is a short for Fail Roleplay. This means that you've done something that you wouldn't do in real world.} \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{"NLR"- NLR is short for "New Life Rule". This rule states that if your character respawns, you have no recollection of the events leading up to your death.} \tn % Row Count 10 (+ 4) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{"Fear RP"- Fear RP is a term that means you fear for your life in RP scenarios.} \tn % Row Count 12 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{"Cop Baiting"- Cop Baiting is a term that means you're actively seeking police attention. This is considered FailRP and will be punished accordingly.} \tn % Row Count 15 (+ 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}{What is AOP?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{AOP means "Area of play". When there's not many people on the server, we tend to restrict RP to a certain place, like Los Santos, Blaine County, Sandy Shores, or Paleto Bay. Just to give people a little push and be more interactive with each other.} \tn % Row Count 5 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{I can't hear anyone, and they can't hear me, why?}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Don't worry. You will just need to fix your voice settings. Press ESC, Go to "Settings" then "Voice Chat". Make sure your volume and sensitivity are on, your voice chat is enabled and you have "Push to talk" fixed. The button you want to use to speak is "N". Sometimes, you will have to turn off voice chat and re-enable it to get it to work.} \tn % Row Count 7 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}