\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{caption,tabularx,booktabs}
\begin{document}
\newcounter{question}
\setcounter{question}{0}
\newcommand\Q{%
\refstepcounter{question}
\paragraph{Question \thequestion.}
}
\newcommand\A{%
\smallskip
}
\Q A medium company (40 people, all located in offices) is considering two options for cleaning the offices...
\A
\begin{table}[h!]
\begin{tabular}{lll}
\hline
~ & Insourced & Outsourced \\
\hline
Agency monitoring & Control employees & Control company service \\
Agency bonding & Employees' report & Company report \\
Agency residual loss & None & None \\
\hline
Transaction cost & None & Search company, establish contract \\
\hline
Decision & Collection of KPIs, cleaning logs & Collection of KPIs, cleaning logs \\
\hline
KPI1 - Cost & Cost of employees and equipment & Cost of service \\
KPI2 - Quality & \multicolumn{2}{l}{Level of cleanness} \\
KPI3 - Frequency & \multicolumn{2}{l}{Frequency of cleaning, n times per week a place is cleaned} \\
\hline
\end{tabular}
\end{table}
\begin{tabularx}{\textwidth}{lll}
\toprule
Agency monitoring & Control employees & Control company service \\
Agency bonding & Employees' report & Company report \\
Agency residual loss & None & None \\
\hline
Transaction cost & None & Search company, establish contract \\
\hline
Decision & Collection of KPIs, cleaning logs & Collection of KPIs, cleaning logs \\
\hline
KPI1 - Cost & Cost of employees and equipment & Cost of service \\
KPI2 - Quality & \multicolumn{2}{l}{Level of cleanness} \\
KPI3 - Frequency & \multicolumn{2}{l}{Frequency of cleaning, n times per week a place is cleaned} \\
\bottomrule
\end{tabularx}
\end{document}
How can I align the second table to the paragraph created by the \Q and \A commands centralizing it to the page and to wrap the content into the column margins without getting rid of the \multicolumn?



\noindentcommand before `\begin{tabularx}. – Sveinung Jan 21 '20 at 16:32tableenvironment the second is not -- this creates the indent--simply put the second table also within the\begin{table}.....\end{table}-- the 2 tables will be now aligned – js bibra Jan 22 '20 at 01:08