JDMCreator / LaTeXTableEditor

readme
MIT License
139 stars 13 forks source link

Improper import with negative argument of \multirow #5

Closed firesh-bakhda closed 6 years ago

firesh-bakhda commented 6 years ago

Table isn't created properly once it's imported from Latex Code.

\begin{table}[H]
\centering
\resizebox{\textwidth}{!}{%
\begin{tabular}{lllllc}
\hline
\multicolumn{6}{|c|}{tcpdump, multi-thread} \\ 
\hline
\multicolumn{1}{|l|}{No. Of Packets}           & \multicolumn{1}{l|}{Date}                         & \multicolumn{1}{l|}{Start Time}               & \multicolumn{1}{l|}{End Time}                 & \multicolumn{1}{l|}{Time Taken}               & \multicolumn{1}{c|}{Average Time Taken}          \\ \hline
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{02:59:10.530988}          & \multicolumn{1}{l|}{02:59:11.661977}          & \multicolumn{1}{l|}{0:00:01.130989}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:00:18.179196}          & \multicolumn{1}{l|}{03:00:19.310608}          & \multicolumn{1}{l|}{0:00:01.131412}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{\multirow{-3}{*}{100}}    & \multicolumn{1}{l|}{\multirow{-3}{*}{2018-02-26}} & \multicolumn{1}{l|}{03:01:12.686129}          & \multicolumn{1}{l|}{03:01:13.798275}          & \multicolumn{1}{l|}{0:00:01.112146}           & \multicolumn{1}{c|}{\multirow{-3}{*}{1.124849}}  \\ \hline
\rowcolor[HTML]{333333}
\multicolumn{1}{|l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}}     & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{c|}{\cellcolor[HTML]{333333}}    \\ \hline
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:08:49.585376}          & \multicolumn{1}{l|}{03:08:50.706594}          & \multicolumn{1}{l|}{0:00:01.121218}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:11:33.591495}          & \multicolumn{1}{l|}{03:11:34.690667}          & \multicolumn{1}{l|}{0:00:01.099172}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{\multirow{-3}{*}{1000}}   & \multicolumn{1}{l|}{\multirow{-3}{*}{2018-02-26}} & \multicolumn{1}{l|}{03:12:22.543570}          & \multicolumn{1}{l|}{03:12:23.694649}          & \multicolumn{1}{l|}{0:00:01.151079}           & \multicolumn{1}{c|}{\multirow{-3}{*}{1.123823}}  \\ \hline
\rowcolor[HTML]{333333}
\multicolumn{1}{|l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}}     & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{l|}{\cellcolor[HTML]{333333}} & \multicolumn{1}{c|}{\cellcolor[HTML]{333333}}    \\ \hline
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:17:23.748690}          & \multicolumn{1}{l|}{03:17:25.606237}          & \multicolumn{1}{l|}{0:00:01.857547}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:18:22.921862}          & \multicolumn{1}{l|}{03:18:24.578313}          & \multicolumn{1}{l|}{0:00:01.656451}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{\multirow{-3}{*}{2000}}   & \multicolumn{1}{l|}{\multirow{-3}{*}{2018-02-26}} & \multicolumn{1}{l|}{03:19:02.204365}          & \multicolumn{1}{l|}{03:19:03.794572}          & \multicolumn{1}{l|}{0:00:01.590207}           & \multicolumn{1}{c|}{\multirow{-3}{*}{1.7014017}} \\ \hline
\rowcolor[HTML]{333333}
                                               &                                                   &                                               &                                               &                                               &                                                  \\ \hline
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:23:57.357263}          & \multicolumn{1}{l|}{03:23:59.082214}          & \multicolumn{1}{l|}{0:00:01.724951}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:24:40.985100}          & \multicolumn{1}{l|}{03:24:42.703301}          & \multicolumn{1}{l|}{0:00:01.718201}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{\multirow{-3}{*}{5000}}   & \multicolumn{1}{l|}{\multirow{-3}{*}{2018-02-26}} & \multicolumn{1}{l|}{03:25:32.452119}          & \multicolumn{1}{l|}{03:25:34.121541}          & \multicolumn{1}{l|}{0:00:01.669422}           & \multicolumn{1}{c|}{\multirow{-3}{*}{1.7041913}} \\ \hline
\rowcolor[HTML]{333333}
                                               &                                                   &                                               &                                               &                                               &                                                  \\ \hline
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:31:19.819644}          & \multicolumn{1}{l|}{03:31:21.458560}          & \multicolumn{1}{l|}{0:00:01.638916}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:31:56.868554}          & \multicolumn{1}{l|}{03:31:58.586552}          & \multicolumn{1}{l|}{0:00:01.717998}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{\multirow{-3}{*}{10000}}  & \multicolumn{1}{l|}{\multirow{-3}{*}{2018-02-26}} & \multicolumn{1}{l|}{03:32:39.457151}          & \multicolumn{1}{l|}{03:32:41.239009}          & \multicolumn{1}{l|}{0:00:01.781858}           & \multicolumn{1}{c|}{\multirow{-3}{*}{1.712924}}  \\ \hline
\rowcolor[HTML]{333333}
                                               &                                                   &                                               &                                               &                                               &                                                  \\ \hline
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:35:56.532202}          & \multicolumn{1}{l|}{03:35:58.638504}          & \multicolumn{1}{l|}{0:00:02.106302}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{}                         & \multicolumn{1}{l|}{}                             & \multicolumn{1}{l|}{03:36:39.889623}          & \multicolumn{1}{l|}{03:36:41.835652}          & \multicolumn{1}{l|}{0:00:01.946029}           & \multicolumn{1}{c|}{}                            \\ \cline{3-5}
\multicolumn{1}{|l|}{\multirow{-3}{*}{50000}}  & \multicolumn{1}{l|}{\multirow{-3}{*}{2018-02-26}} & \multicolumn{1}{l|}{03:37:27.553477}          & \multicolumn{1}{l|}{03:37:29.487009}          & \multicolumn{1}{l|}{0:00:01.933532}           & \multicolumn{1}{c|}{\multirow{-3}{*}{1.995288}}  \\ \hline
\end{tabular}%
}
\caption{Results of packet capture as PCAP format, multi-thread}
\label{packet-pcap}
\end{table}

Table is suppose to look like below :

screenshot_78

but the during import it looks like this :

screenshot_79

JDMCreator commented 6 years ago

There seems to be an issue here with the negative argument of \multirow. The module is supposed to handle such cases, so I'll take a look to understand what went wrong.

firesh-bakhda commented 6 years ago

Thank you!

It is much appreciated, otherwise, I believe the tool is close to perfection out of all the table generators I have tried.

Rdgs, FIresh Bakhda

On Mon, 14 May 2018, 00:05 JDMCreator, notifications@github.com wrote:

There seems to be an issue here with the negative argument of \multirow. The module is supposed to handle such cases, so I'll take a look to understand what went wrong.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JDMCreator/LaTeXTableEditor/issues/5#issuecomment-388637476, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOlsDFGdqAy2lxWhu4xUc_2cdQzzWMvks5tyFm5gaJpZM4T8rC7 .