TransWikia.com

Caption in table is not shown. I am using IJBC template

TeX - LaTeX Asked on September 4, 2021

I am adding caption in the table of the document:

https://www.overleaf.com/read/rrtmhcmkgvqr

I am writing over the template of the IJBC template. The issue here is that when I add the caption to the table at line 279, the caption is not displayed.

How could I fix this?

The structure of the main code is

documentclass{article}
usepackage{ws-rotating}     % used only when sideways tables/figures are used
usepackage{graphicx}
usepackage{epstopdf}
usepackage{amsmath,amssymb}
usepackage[utf8]{inputenc}
usepackage{color}
usepackage{graphicx}
usepackage{hyperref}
usepackage{multicol}
usepackage{comment}
usepackage{float}
usepackage[makeroom]{cancel}
usepackage{hyperref}
usepackage{tabularx}
usepackage{longtable}
usepackage{media9}
usepackage{capt-of}
usepackage[table,xcdraw]{xcolor}
usepackage[colorinlistoftodos]{todonotes}%aÑADIR COMENTARIOS
defbib{Bkern-.05em{I}kern-.025em{B}kern-.08em}
defbtex{Bkern-.05em{I}kern-.025em{B}kern-.08emTeX}

begin{document}

catchline{}{}{}{}{} % Publisher's Area please ignore

markboth{Author's Name}{Paper Title}

title{Encovering governing equation from temporal observation}


begin{table}[H]
centering
caption{here I have the first caption}
label{Table 1}
begin{tabular}{|lllllllllllllll|}
hline
W11 & W12  & W13 & W21  & W22 & W23 & W31 & W32   & W33 & a1 & b1   & c1 & a2    & b2 & c2  hline
0   & 5.75 & -9  & 9.96 & 0   & 8   & 8   & -1.39 & 0   & 0  & 0.01 & 0  & -0.01 & 89 & 0   hline
end{tabular}
end{table}

end{document}

2 Answers

I tried your MWE, and after ignoring a couple of reported errors, the very wide table was produced with a caption.

Were you expecting a List of Tables which would also show the caption? If so, add listoftables at the appropriate place after your begin{document}.

Answered by Peter Wilson on September 4, 2021

I found a solution: The ws-ijbc document class has a different syntax for typesetting tables and captions. You need to use this syntax:

tbl{Here I have the first caption}{
  label{TabSlide13_1}
  begin{tabular}...
   ...
  end{tabular}
}

Answered by JuanMuñoz on September 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP