I'm trying to create a ThreePartTable
with a longtable
, but the formatting is wrong and I get several errors:
- formatting: after the first head I get just half of a line, but from page 2 I get two lines.
- misplaced
\noalign
- Extra alignment tab has been changed to
\cr
.
Code below:
\documentclass[a4paper,12pt,twoside,openright]{report}
\usepackage[left=4cm,right=3cm,top=3cm,bottom=4cm]{geometry}
\usepackage{lscape}
\usepackage{pdflscape}
\usepackage{threeparttable}
\usepackage{booktabs}
\usepackage{dcolumn}
\usepackage{longtable}
\usepackage{threeparttablex}
\begin{document}
\begin{landscape}
\begin{ThreePartTable}
\begin{TableNotes}
\small
\end{TableNotes}
\begin{longtable}{p{3cm}p{2cm}p{2cm}p{3cm}p{3cm}p{2cm}p{2cm}}
\caption{Something}\label{tab:s1}\\
\toprule
Model & \raggedright Approach & Re-use & \raggedright Functionalities & Aim & Expressivity & \raggedright Object \\
\midrule
\endfirsthead
\multicolumn{7}{c}{{\bfseries \tablename\ \thetable{} -- continued from previous
page}}\\
\toprule
Model & \raggedright Approach & Re-use & \raggedright Functionalities & Aim & Expressivity & \raggedright Object \\
\midrule
\endhead
\midrule
\multicolumn{7}{r}{{Continued on next page}} \\
\midrule
\endfoot
\bottomrule
%\insertTableNotes
\endlastfoot
\raggedright Del-Río-Ortega et al. (2010) & \raggedright OWL DL Evaluation performed through case studies & \raggedright No & \raggedright Not declared & \raggedright Define commonly used PPIs and their relations with business processes & \raggedright Not declared & \raggedright PPIs \& Single enterprise\tabularnewline \hline
\raggedright Wetzstein et al. (2008) & \raggedright WSML Evaluation through an example & No & \raggedright Not declared & \raggedright Integrate the monitoring activities into the semantic business process lifecycle & \raggedright Not declared & \raggedright PPIs \& Single enterprise\tabularnewline \hline
\raggedright KPIOnto (2013) & \raggedright OWL, MathML and OpenMath, Prolog and XSB as reasoning engine Evaluation through case studies & No & \raggedright Formula manipulation, equivalence checking, consistency checking and extraction of common indicators & \raggedright Integrate heterogeneous data in the context of VEs and evaluate common KPIs & \raggedright Not declared & \raggedright KPIs \& Virtual Enterprises\tabularnewline \hline
\raggedright Silva -- Enterprise Monitoring Ontology (2011) & \raggedright Language not declared Evaluation through case studies & \raggedright Enterprise Ontology (Dietz, 2006), Reference Ontology (Andersson, 2006) & \raggedright Not declared & \raggedright Provide a framework for the monitoring of value constellations & \raggedright Not declared & \raggedright KPIs \& Goals \& Value constellations\tabularnewline \hline
\raggedright BusCO Ontology (2007) & \raggedright Language not declared Evaluation through case study & No & \raggedright Not declared & \raggedright Provide an approach for the acquisition, management and monitoring of the intellectual capital & \raggedright Not declared & \raggedright KPIs \& Goals\tabularnewline \hline
\end{longtable}
\end{ThreePartTable}
\end{landscape}
\end{document}
Any suggestions?