1

I would like to create a table without caption but it seems not so good. I mean that there is a long line at the end of the table and it disturbs the reader.

Try:

\begin{table}[h]
\refstepcounter{table}\label{CDS5}
\begin{tabular}{l*{4}{c}r}

            & WAF5-H & WAF5-S & WAF4-H \\
\hline
$M{_1}$' = :87 +... + :51       & 0 & 3 & 6 \\
$M{_2}$' = :C5 +... + :E5     & 1 & 1 & 9 \\
\end{tabular}
\end{table}

EDIT:

I use packages related with table tabular, tabularx, multirow. The screenshot is : enter image description here

Could you please help me to solve this. Regards,

5
  • 1
    How should somebody know that this table Seven Of Nine if there is no caption that prints the table number? ;-) What is the use of \label then?
    – user31729
    Feb 15, 2016 at 15:16
  • The code you show does not make any lines. If you get lines you have a non standard definition in code you have not shown which makes it hard for anyone to comment on it. Feb 15, 2016 at 15:19
  • @ChristianHupfer I used some tables to explain the solution steps of the problem. I do not want to copy the same explanation again and again as caption, I dont need caption
    – limonik
    Feb 15, 2016 at 15:29
  • @limonik: The number is not printed with your version anyway. No one knows this is 'step' X of Y then.
    – user31729
    Feb 15, 2016 at 15:30
  • 4
    the long line is not made by the code you show or any of the packages you mention. Perhaps you are using float package or a class that defines a ruled float style (which does not exist in the standard code). You should always try to post complete documents that reproduce the problem. Feb 15, 2016 at 15:33

1 Answer 1

2

Put it only in a center environment

\begin{center}
\begin{tabular}{l*{4}{c}r}
            & WAF5-H & WAF5-S & WAF4-H \\\hline
$M{_1}$' = :87 +... + :51       & 0 & 3 & 6 \\
$M{_2}$' = :C5 +... + :E5     & 1 & 1 & 9 \\
\end{tabular}
\end{center}

You must log in to answer this question.

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