3
\documentclass[a4paper]{article}

\usepackage{array}
\setlength\extrarowheight{0.5pt}

\begin{document}

\begin{equation}
q\_s_ {a,b} \stackrel{.}{=} (q(s_ {semantic}), \  q(s_ {QoS}))
\end{equation}
\begin{equation}
q\_s_ {a,b} \stackrel{.}{=} (q(s_ {mt}), \  q(s_ {dst}), \  q(s_t),\  q(s_c),\  q(s_r),\  q(s_a))
\end{equation}

% Please add the following required packages to your document preamble:
% \usepackage{multirow}
\begin{table}[]
\caption{Quality Aggregation Matrix for semanic web service composition}
\begin{tabular}{|c|c|c|c|c|l|l|}
\hline
\multirow{\begin{tabular}[c]{@{}c@{}}$Composition$\\
$Construct$\end{tabular}} & \multicolumn{6}{c|}{$Quality Factors$}    
\\ \cline{2-7} 
& \multicolumn{2}{c|}{$Functional$} & \multicolumn{4}{c|}{$Non Functional$} \\ \cline{2-7} 
$& $Q(s_ {mt})$ & $Q(s_ {dst})$ & $Q(s_t)$ & $Q(s_c)$ &  $Q(s_r)$   & $Q(s_a)$   \\ \hline
$Sequence$ $&  $\prod_{n=1}^{m} q(s_ {mt})$ & $(\sum_{n=1}^m q(s_ {dst}))/m$&$\sum_{n=1}^m q(s_ {t})$&$\sum_{n=1}^m q(s_ {c})$&$\prod_{n=1}^{m} q(s_r)$&$\prod_{n=1}^{m} q(s_a)$\\ \hline
$Parallel$ &  $\prod_{n=1}^{m} q(s_ {mt})$ &$(\sum_{n=1}^m q(s_ {dst}))/m$ & $max(q(s_ {t}))    &$\sum_{n=1}^m q(s_ {c})$ &$\prod_{n=1}^{m} q(s_r)$  &$\prod_{n=1}^{m} q(s_a)$ \\ \hline
$Choice$ & $\sum_{n=1}^m w\_s \cdot q(s_ {mt})$ & $\sum_{n=1}^m w\_s \cdot q(s_ {dst})$  & $\sum_{n=1}^m w\_s \cdot q(s_ {t})$ & $\sum_{n=1}^m w\_s \cdot q(s_ {c})$ &$\sum_{n=1}^m w\_s \cdot q(s_ {r})$ & $\sum_{n=1}^m w\_s   \cdot q(s_ {a})$ \\ \hline
\end{tabular}
\end{table}


\end{document}
1
  • Welcome to tex.se!
    – M S
    Commented Aug 24, 2016 at 9:16

2 Answers 2

1

Add \small or \tiny after the definition of table environment.

4
  • thank you. it works, any size between small and tiny , coz tiny is a little bit too small Commented Aug 24, 2016 at 9:29
  • You may use \footnotesize also.
    – M S
    Commented Aug 24, 2016 at 9:30
  • thank you so so much, problem solved. millions of thanks Commented Aug 24, 2016 at 9:34
  • 1
    @JeffreyWong if it solved your problem, it is better to accept this answer to help reduce the number of unnecessarily unanswered questions.
    – Diaa
    Commented Aug 24, 2016 at 9:50
2
\noindent
\resizebox{\linewidth}{!}{%
 ... your tabular ...
}

then you can choose the default fontsize. Needs package graphicx.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .