1

How to position (center) the 'tablenotes' of a threeparttable? Any help is appreciated. Thanks in advance.

I have done all the necessary code, but i need few help in the formatting process. The table is to be included to an Elsevier single column manuscript. It's look weird in the current formatting. Please help.

For making the task clear, i am writing the code. The table consisting * marks shown as superscript inside the table and defined using the table notes. Please find the code.

\documentclass[preprint,3p,12pt]{elsarticle}
\usepackage{threeparttable}
\begin{document}

\begin{table*}
\centering
\caption{Identified search terms for the above defined Research Questions.}
\label{t0}

\begin{threeparttable}

\renewcommand{\arraystretch}{1.3}
\scalebox{0.9}
{
\begin{tabular}{ll}
\hline
RQ.~\# & Identified Terms\\\ 
\hline

RQ.~1  & SOA\textsuperscript{*}, cost estimation\textsuperscript{*}, effort estimation\textsuperscript{*} \\\
RQ.~2  & approach\textsuperscript{*}, technique\textsuperscript{*}, SOA cost, SOA scope \\\
RQ.~3  & classification\textsuperscript{*}, ranking, type \\\ 
RQ.~4  & validation, evaluation, empirical study\textsuperscript{*} \\\
RQ.~5  & future work\textsuperscript{*}, improvement \\\
\hline
\end{tabular}
}

\begin{tablenotes}
\item [*] Note: These search terms are having synonyms or alternate spellings or abbreviations.
\end{tablenotes}

\end{threeparttable}

\end{table*}

\end{document}
  • If that is all there is to the table, just remove the \scalebox. – Torbjørn T. Oct 9 '15 at 10:48
  • What do you mean by "How to position (center) the 'tablenotes' ". You mean to center them? – user11232 Oct 9 '15 at 10:52
  • Yes Sir.. I mean the same # Harish Kumar – Mishra S Oct 9 '15 at 11:42
  • @TorbjørnT. It works. But if i want the same to fit in two column.. What will be the procedure for that? – Mishra S Oct 9 '15 at 11:46
  • @SibaMishra fit what into two columns? – daleif Oct 9 '15 at 11:49
2

(Too long for a comment, will delete if this doesn't solve the problem.)

In the below code you'll find two versions of the table, one where it fits into a single column, one where it's wider. The table doesn't extend to the width of the page. But then, if you're submitting this to Elsevier they'll likely re-typeset everything anyway.

The lipsum package and \lipsum commands is only there to create dummy text, don't include them in your own document.

enter image description here

\documentclass[preprint,twocolumn,3p]{elsarticle}
\usepackage{threeparttable,array,booktabs}
\usepackage{lipsum}

\begin{document}
\lipsum[1] %dummy text
\begin{table}
\centering
\caption{Identified search terms for the above defined Research Questions.}
\label{t0}    
\begin{threeparttable}    
\renewcommand{\arraystretch}{1.3}    
\begin{tabular}{l >{\raggedright\arraybackslash}p{0.75\columnwidth}}
\toprule
RQ.~\# & Identified Terms\\ 
\midrule
RQ.~1  & SOA\textsuperscript{*}, cost estimation\textsuperscript{*}, effort estimation\textsuperscript{*} \\
RQ.~2  & approach\textsuperscript{*}, technique\textsuperscript{*}, SOA cost, SOA scope \\
RQ.~3  & classification\textsuperscript{*}, ranking, type \\ 
RQ.~4  & validation, evaluation, empirical study\textsuperscript{*} \\
RQ.~5  & future work\textsuperscript{*}, improvement \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\item [*] Note: These search terms are having synonyms or alternate spellings or abbreviations.
\end{tablenotes}

\end{threeparttable}

\end{table}
\lipsum[2]
\begin{table*}
\centering
\caption{Identified search terms for the above defined Research Questions.}
\label{t1}

\begin{threeparttable}

\renewcommand{\arraystretch}{1.3}

\begin{tabular}{l l}
\toprule
RQ.~\# & Identified Terms\\ 
\midrule
RQ.~1  & SOA\textsuperscript{*}, cost estimation\textsuperscript{*}, effort estimation\textsuperscript{*} \\
RQ.~2  & approach\textsuperscript{*}, technique\textsuperscript{*}, SOA cost, SOA scope \\
RQ.~3  & classification\textsuperscript{*}, ranking, type \\ 
RQ.~4  & validation, evaluation, empirical study\textsuperscript{*} \\
RQ.~5  & future work\textsuperscript{*}, improvement \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\item [*] Note: These search terms are having synonyms or alternate spellings or abbreviations.
\end{tablenotes}

\end{threeparttable}

\end{table*}
\lipsum\lipsum
\end{document}
  • thnks a lot sir.. @Torbjorn – Mishra S Oct 9 '15 at 12:56
  • No problem. Just stop calling me 'sir'. – Torbjørn T. Oct 9 '15 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.