Hello I am trying to draw long table in latex in two pages. I have used longtable package but still every thing is overlapped on one another. It looks like in picture. My code is as follows:
\usepackage{longtable}
\begin{document}
\begin{longtable}[H]
\centering
\setlength\extrarowheight{5pt}
\begin{tabular}{ |p{3.5cm}||p{3.3cm}|p{3.3cm}|p{3.3cm}| }
\hline
System parameters &Steady state simulation at cell voltage 1.35\si{V} &Steady state simulation at cell voltage 1.35\si{V} &Transient simulation \\
\hline
a &0.075 &0.075 &0.075\\
fv &823.15 &823.15 &823.15\\
dsf &136720.0729 &136720.0733 &136720.073\\
ff &60929.13415 &67052.77939 &48254.41811\\
ff &430227.8227&774469.0564&293576.401\\
ff &6930.843614 &13759.54063 &4397.631169\\
ff) &724.9280926 &759.3822837 &702.3558378\\
ff &126.9999073 &532.1625423 &138.6410601\\
ff &3.406775256 &17.32352093 &6.106443651\\
ff &0.493541105&0.651667849 &0.347160992\\
ffE (\si{mol/s}) &0.179303961 &0.911764259 &0.321391771\\
ff &778.8335281 &917.5963789 &692.7669968\\
ff &2.490772357 &2.864034271 &2.667914307\\
ff &892.1580047 &954.4744642 &857.87485\\
ff &885.8513695 &942.4909806 &853.6193071\\
ff &2.133114059 &1.433408993 &1.845442049\\
ff &1.651490524 &2.866734694 &1.152784727\\
ff&0.436040703 &0.688364718 &0.382576613\\
ff &0.751203837 &0.837535957 &0.682169459\\
ff &0.56352883 &0.476290559 &0.518885236\\
ff &197649.207 &203772.8527 &185392.804\\
ff &7655.771707 &14518.92292 &5131.232447\\
ff &126.9999073 &532.1625423 &135.8647496\\
ff &7782.771614 &15051.08546 &5267.097196\\
ff &627877.0297 &978241.9092 &480469.8634\\
dg &7782.771614 &15051.08546 &5267.097196\\
fb &635659.8013 &993292.9946 &485736.9606\\
\hline
\end{tabular}
\caption{nxxxxxxx}
\label{tab:my_label}
\end{longtable}
\end{document}




longtableenvironment should replace thetabularenvironment, not surround it. You should reviece a bunch of error messages from your code. Please don't ignore them! Even if you get something that on first glance resembles a pdf file, there can still be issues with it. After an error, TeX only tries to recover enough to syntax check more of the file, it does not try to make sensible output after an error. – leandriis Aug 07 '20 at 19:281.35\si{V}should be replaced with\SI{1.35}{\volt}or\SI{1.35}{\V}– leandriis Aug 07 '20 at 19:31