Hello I have a code below and I would like to fit it to page and center the values base on the row with of the search word. many thanks in advance.
\documentclass[11pt,authoryear,sort&compress]{report}
\usepackage{booktabs,tabulary,array,tabularx}
\usepackage{geometry}
\newcolumntype{z}{>{\centering\arraybackslash}X}
\begin{document}
\begin{table}
\centering
\footnotesize
\begin{tabularx}{1\textwidth}
{%l
>{\raggedright\arraybackslash}p{4cm}
%>{\raggedright\arraybackslash}p{3cm}
c
c
%>{\raggedright\arraybackslash}X
c
c
c
c
c}
\toprule
Search Words & Period & Search Technique & \multicolumn{2}{c}{Initial Search Results} & Final Sample &
\multicolumn{2}{c}{Analysis Perform}\tabularnewline
\cline{4-5} \cline{5-5}
& & & No. of articles & Total local citations & & & \tabularnewline
(("determinants" or "discrimination") and ("finance" or "credit" or "capital" or "financial services") and ("access")) & 5 & 5 & 5 & 5 & 5 & 5 & 5\tabularnewline
& &\tabularnewline
("financial inclusion") & 5 & 5 & 5 & 5 & 5 & 5 & 5\tabularnewline
\bottomrule%
\end{tabularx}%
\caption{caption.}
\label{tab:final.sample.biblio}
\end{table}
\end{document}
tabularx
environment without anyX
type column doesn't make sense. To start, you could try to replace thep
type column you currently use for the first column with anX
type column. To save some space, allow line breaks in the column headers.