\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{Nilesh (niparkhe)} \pdfinfo{ /Title (google-cloud.pdf) /Creator (Cheatography) /Author (Nilesh (niparkhe)) /Subject (Google Cloud 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}{211AF0} \definecolor{LightBackground}{HTML}{F1F0FE} \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{Google Cloud Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Nilesh (niparkhe)} via \textcolor{DarkBackground}{\uline{cheatography.com/129317/cs/25717/}}} \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}Nilesh (niparkhe) \\ \uline{cheatography.com/niparkhe} \\ \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 30th July, 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{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{GCloud}} \tn % Row 0 \SetRowColor{LightBackground} Gcloud command syntax & gcloud \textless{}global flags\textgreater{} \textless{}service/product\textgreater{} \textless{}group/area\textgreater{} \textless{}command\textgreater{} \textless{}flags\textgreater{} \textless{}parameters\textgreater{} \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} global flags format & -{}-project myprojid \{\{nl\}\}OR \{\{nl\}\}-{}-project=myprojid \tn % Row Count 8 (+ 3) % Row 2 \SetRowColor{LightBackground} Set config property & gcloud config {\bf{set}} \textless{}property\textgreater{} \textless{}value\textgreater{} \tn % Row Count 10 (+ 2) % Row 3 \SetRowColor{white} Check config property & gcloud config {\bf{get-value}} \textless{}property\textgreater{} \tn % Row Count 12 (+ 2) % Row 4 \SetRowColor{LightBackground} Remove config property & gcloud config {\bf{unset}} \textless{}property\textgreater{} \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} Interactive config creation & gcloud init \tn % Row Count 16 (+ 2) % Row 6 \SetRowColor{LightBackground} List all properties in a configuration & gcloud config list \tn % Row Count 18 (+ 2) % Row 7 \SetRowColor{white} List all configurations & gcloud config configurations list \tn % Row Count 20 (+ 2) % Row 8 \SetRowColor{LightBackground} Make new configuration & gcloud config configurations create \textless{}NewConfigName\textgreater{} \tn % Row Count 23 (+ 3) % Row 9 \SetRowColor{white} Switch to an existing config & gcloud config configurations activate \textless{}NewConfigName\textgreater{} \tn % Row Count 26 (+ 3) % Row 10 \SetRowColor{LightBackground} Specify config in a command & -{}-configuration=ITS\_NAME \{\{nl\}\}ex. gcloud -{}-configuration=newconfig config list \tn % Row Count 30 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Global Flags}} \newline -{}-help, -h, -{}-project \textless{}ProjectID\textgreater{}, -{}-account \textless{}Account\textgreater{}, -{}-filter, -{}-format \textless{}JSON, YAML, CSV\textgreater{}, -{}-quite, -q \newline \newline {\bf{Config Properties}} \newline {\emph{ Set "core/account" or "account" to replace "-{}-account" \newline }} Set "core/project" or "project" to replace "-{}-project" \newline {\emph{ Set "compute/region" to replace "-{}-region" \newline }} Set "compute/zone" to replace "-{}-zone"} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Global Flags}} \tn % Row 0 \SetRowColor{LightBackground} -{}-account & User account to use for invocation \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} -{}-billing-project & GCP Object that will be charged quota for operations performed in gcloud.\{\{nl\}\}Use this flag when you want to use resources from project, but billed to a different project. \tn % Row Count 9 (+ 7) % Row 2 \SetRowColor{LightBackground} -{}-configuration & configuration to be used for this invocation. \tn % Row Count 11 (+ 2) % Row 3 \SetRowColor{white} -{}-flags-file & A YAML or JSON file that specifies a -{}-flag:value dictionary \tn % Row Count 14 (+ 3) % Row 4 \SetRowColor{LightBackground} -{}-flatten={[}KEY,...{]} & Flatten output resources slices in KEY into separate records for each item in each slice. \tn % Row Count 18 (+ 4) % Row 5 \SetRowColor{white} -{}-format & Format for printing command output resources. \tn % Row Count 20 (+ 2) % Row 6 \SetRowColor{LightBackground} -{}-help & Display detailed help \tn % Row Count 21 (+ 1) % Row 7 \SetRowColor{white} -{}-project & Specify projectId to be used in this invocation \tn % Row Count 23 (+ 2) % Row 8 \SetRowColor{LightBackground} -{}-quiet & Disable all interactive prompts. \tn % Row Count 25 (+ 2) % Row 9 \SetRowColor{white} -{}-verbosity & one of {\bf{debug, info, warning, error, critical, none}} \tn % Row Count 27 (+ 2) % Row 10 \SetRowColor{LightBackground} -{}-version, -v & Print version and exit \tn % Row Count 29 (+ 2) % Row 11 \SetRowColor{white} -h & Print summary help and exit. \tn % Row Count 31 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{GCloud 2}} \tn % Row 0 \SetRowColor{LightBackground} Get info on a topic & gcloud topic filters \tn % Row Count 1 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{System Administration}} \tn % Row 0 \SetRowColor{LightBackground} Get user & whoami \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Get Machine name & hostname \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Get IP address of current machine & curl api.ipify.org \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} Ping with limited repetitions & ping -c 3 myhappyvm \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} SSH to the instance & gcloud compute ssh myhappyvm \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} Get info stored by metadata service & curl {\bf{-H "Metadata-Flavor:google"}} \seqsplit{metadata.google.internal/computeMetadata/v1/} \tn % Row Count 12 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{We can ping a Compute instance only using the external IP of the instance. \newline \newline It is not possible to SSH directly to an instance. Hence use {\bf{gcloud compute ssh}} \newline \newline We can drill down into the Metadata service file system using the Curl Output.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Project}} \tn % Row 0 \SetRowColor{LightBackground} Create a project & gcloud projects create {[}PROJECT\_ID{]} {[}-{}-folder=FOLDER\_ID{]} {[}-{}-labels={[}KEY=VALUE,...{]}{]}{[}-{}-name=NAME{]}{[}-{}-set-as-default{]} \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} List all projects for active account & gcloud projects list {[}-{}-filter=EXPRESSION{]}{[}-{}-limit=LIMIT{]}{[}-{}-page-size=PAGE\_SIZE{]}{[}-{}-sort-by={[}FIELD,...{]}{]}{[}-{}-uri{]}{]} \tn % Row Count 12 (+ 6) % Row 2 \SetRowColor{LightBackground} Delete a project & gcloud projects delete \seqsplit{PROJECT\_ID\_OR\_NUMBER} \tn % Row Count 15 (+ 3) % Row 3 \SetRowColor{white} Print Metadata of a project & gcloud projects describe \seqsplit{PROJECT\_ID\_OR\_NUMBER} \tn % Row Count 18 (+ 3) % Row 4 \SetRowColor{LightBackground} Undelete a project & gcloud projects undelete \seqsplit{PROJECT\_ID\_OR\_NUMBER} \tn % Row Count 21 (+ 3) % Row 5 \SetRowColor{white} Update name of a project & gcloud projects update PROJECT\_ID -{}-name=NAME \tn % Row Count 24 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{You can add Project Wide Flags at the end of all of the above commands. \newline -{}-accounts, -{}-billing-project, -{}-configuration, -{}-flags-file, -{}-flatten, -{}-format, -{}-help, -{}-impersonate-service-account, -{}-log-http, -{}-project, -{}-quiet, -{}-trace-token, -{}-user-output-enabled, -{}-verbosity \newline \newline Run {\bf{\$ gcloud help}} for details} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.52 cm} x{4.48 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Components, SDK}} \tn % Row 0 \SetRowColor{LightBackground} List all installed components & gcloud components list \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Install auto-completion tool & sudo apt-get install google-cloud-sdk \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Enable auto-completion tool & gcloud beta interactive \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{PubSub}} \tn % Row 0 \SetRowColor{LightBackground} Create a topic & gcloud pubsub topics create myTopic \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} List all topics & gcloud pubsub topics list \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Delete a topic & gcloud pubsub topics delete Test1 \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Create a subscription for topic myTopic & gcloud pubsub subscriptions create -{}-topic myTopic mySubscription \tn % Row Count 10 (+ 4) % Row 4 \SetRowColor{LightBackground} Delete a subscription & gcloud pubsub subscriptions delete Test1 \tn % Row Count 12 (+ 2) % Row 5 \SetRowColor{white} Publish a message to a topic & gcloud pubsub topics publish myTopic -{}-message "Message" \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} Pull a published message & gcloud pubsub subscriptions pull mySubscription -{}-auto-ack \tn % Row Count 18 (+ 3) % Row 7 \SetRowColor{white} Pull all published messages & gcloud pubsub subscriptions pull mySubscription -{}-auto-ack -{}-limit=3 \tn % Row Count 22 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Once a message is pulled, it is deleted from the queue. \newline Messages are pulled randomly.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.2 cm} x{4.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Compute}} \tn % Row 0 \SetRowColor{LightBackground} Create an instance & gcloud compute instances create \textless{}myvm\textgreater{} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Delete an instance & gcloud compute instances delete \textless{}myvm\textgreater{} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Get List of instances & gcloud compute instances list \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Get list of machine types & gcloud compute machine-types list \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} Limit list of machine types & gcloud compute machine-types list -{}-filter="NAME:f1-micro AND ZONE\textasciitilde{}us-west" \tn % Row Count 12 (+ 4) % Row 5 \SetRowColor{white} SSH to an instance & gcloud compute ssh myhappyvm \tn % Row Count 14 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{gcloud compute ssh}} will create the SSH keys if it is being run for the first time for an instance.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Services}} \tn % Row 0 \SetRowColor{LightBackground} Get list of services & gcloud services list \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Get list of enabled services & gcloud services list -{}-enabled \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} Get list of available services & gcloud services list -{}-available \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Get list of available services containing "compute" & gcloud services list -{}-available | grep compute \tn % Row Count 8 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Storage}} \tn % Row 0 \SetRowColor{LightBackground} CLI for accessing storage API & gsutil \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} List all storage buckets & gsutil ls \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} List objects in a bucket & gsutil ls \seqsplit{gs://storage-lab-console} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} List all objects in a folder & gsutil ls gs://storage-lab-console/**\{\{nl\}\}This lists all objects in a flat structure \tn % Row Count 11 (+ 5) % Row 4 \SetRowColor{LightBackground} Create Bucket & gsutil mb {[}-c class{]} {[}-l location{]} {[}-p proj\_id{]} \seqsplit{gs://new-bucket-name} \tn % Row Count 15 (+ 4) % Row 5 \SetRowColor{white} Get labels for bucket in JSON format & gsutil label get \seqsplit{gs://storage-lab-cli/} \tn % Row Count 17 (+ 2) % Row 6 \SetRowColor{LightBackground} Add label to bucket & gsutil label ch -l \seqsplit{"extralabel:extravalue"} \seqsplit{gs://storage-lab-cli/} \tn % Row Count 21 (+ 4) % Row 7 \SetRowColor{white} Set labels for a bucket & gsutil label set labels.json \seqsplit{gs://storage-lab-cli/} \tn % Row Count 24 (+ 3) % Row 8 \SetRowColor{LightBackground} Check status of versioning on bucket & gsutil versioning get \seqsplit{gs://storage-lab-cli} \tn % Row Count 27 (+ 3) % Row 9 \SetRowColor{white} Turn on versioning for bucket & gsutil versioning set on \seqsplit{gs://storage-lab-cli} \tn % Row Count 30 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Storage (cont)}} \tn % Row 10 \SetRowColor{LightBackground} Turn off versioning for bucket & gsutil versioning set off \seqsplit{gs://storage-lab-cli} \tn % Row Count 3 (+ 3) % Row 11 \SetRowColor{white} Delete a file from bucket & gsutil rm \seqsplit{gs://storage-lab-cli/README}.txt \tn % Row Count 6 (+ 3) % Row 12 \SetRowColor{LightBackground} Make a file public in a storage bucket & gsutil acl ch -u AllUsers:R \seqsplit{gs://storage-lab-cli/Selfie}.jpg \tn % Row Count 9 (+ 3) % Row 13 \SetRowColor{white} Remove public access for file & gsutil acl ch -d AllUsers \seqsplit{gs://storage-lab-cli/Selfie}.jpg \tn % Row Count 12 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{BigQuery}} \tn % Row 0 \SetRowColor{LightBackground} Examine schema of the Shakespeare table in samples dataset & bq show \seqsplit{bigquery-public-data:samples}.shakespeare \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Get help on query command & bq help query \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Get list of all commands used by bigquery & bq help \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} List existing projects in the dataset & bq ls \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} List datasets in a public dataset project & bq ls \seqsplit{bigquery-public-data:} \tn % Row Count 13 (+ 3) % Row 5 \SetRowColor{white} Create a dataset & bq mk babynames \tn % Row Count 14 (+ 1) % Row 6 \SetRowColor{LightBackground} Run a query on BigQuery dataset & bq query -{}-use\_legacy=false 'SELECT word FROM ...' \tn % Row Count 17 (+ 3) % Row 7 \SetRowColor{white} Create or update a table AND load data & bq load \textless{}dataset\_name\textgreater{}.\textless{}table\_name\textgreater{} \textless{}local\_file\textgreater{} name:string,gender:string,count:integer \tn % Row Count 22 (+ 5) % Row 8 \SetRowColor{LightBackground} List tables in a BQ dataset & bq ls babynames \tn % Row Count 24 (+ 2) % Row 9 \SetRowColor{white} Examine schema of a dataset table & bq show \textless{}dataset\_name\textgreater{}.\textless{}table\_name\textgreater{} \tn % Row Count 26 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{-{}-use\_legacy=false}} is an optional flag.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}