JDMCreator / LaTeXTableEditor

readme
MIT License
139 stars 13 forks source link

Failed LaTeX Import #6

Closed fabioods closed 6 years ago

fabioods commented 6 years ago
\begin{table}[h]
\centering
\caption{Experimentos para a Base Bacillus variando de 1 até 18 dados faltantes}
\label{resClassBacillusVar1_18}
\scalefont{0.8}
\begin{tabular}{lrrrrrrrrrr} 
\toprule
\multirow{2}{*}{Experimento} & \multicolumn{2}{l}{\begin{tabular}[c]{@{}l@{}}Acurácia\\Balanceada \end{tabular}}                          & \multicolumn{2}{l}{Sensibilidade}                          & \multicolumn{2}{l}{Especificidade}                          & \multicolumn{2}{l}{Acurácia}& \multicolumn{2}{l}{RMSE}                                                \\ 
\cmidrule[\heavyrulewidth]{2-2}\cmidrule[\heavyrulewidth]{3-11}
                             & \multicolumn{1}{l}{Média}                                                         & \multicolumn{1}{l}{DP} & \multicolumn{1}{l}{Média}         & \multicolumn{1}{l}{DP} & \multicolumn{1}{l}{Média}          & \multicolumn{1}{l}{DP} & \multicolumn{1}{l}{Média}& \multicolumn{1}{l}{DP}& \multicolumn{1}{l}{Média}& \multicolumn{1}{l}{DP}  \\ 
\toprule
EBac.IZVar                   & 0,82                                                                              & 0,06                   & 0,9816                            & 0,005                  & 0,66                               & 0,13                   & 0,4647& 0,1081& 0,72& 0,08                                                                            \\
EBac.IMVar                   & 0,68                                                                              & 0,06                   & 0,9847                            & 0,002                  & 0,37                               & 0,13                   & 0,9839& 0,002& 0,11& 0,01                                                                             \\
EBac.kMVar                   & 0,84                                                                              & 0,08                   & 0,9925                            & 0,003                  & 0,68                               & 0,17                   & 0,9903& 0,004& 0,08& 0,02                                                                             \\
EBac.kMdVar                  & 0,82                                                                              & 0,09                   & 0,9916                            & 0,003                  & 0,65                               & 0,17                   & 0,9885& 0,004& 0,09& 0,02                                                                             \\
EBac.kPVar                   & 0,84                                                                              & 0,08                   & 0,9925                            & 0,003                  & 0,68                               & 0,17                   & 0,9903& 0,004& 0,08& 0,02                                                                             \\
\bottomrule
\end{tabular}
\end{table}
JDMCreator commented 6 years ago

This is a strange issue. I'll be looking into this today.

JDMCreator commented 6 years ago

Okay this seems to be a more complicated issue than I tought. There're three problems here:

1- It was not possible to import this table because of a typo. This is fixed and will be part of the next release, hopefully this weekend. 2- The module that exports the code output \cmidrule[\heavyrulewidth]{2-2}\cmidrule[\heavyrulewidth]{3-11} instead of \cmidrule[\heavyrulewidth]{2-11} and I can't figure out (yet) why. 3- The module that imports the code doesn't take care of the optional argument of \cmidrule. I will have to add this as a feature.

JDMCreator commented 6 years ago

Alright, all these issues have been fixed and I also rewrote the function that beautify/align the output as it was broken. They will be part of the new release which should be out this weekend.