I found a issue when you try to change the table caption name option, while using a longtable:
\documentclass{scrartcl}
%CAPTION
\usepackage{caption}
%TABELLENÜBERSCHRIFT FORMATIERUNG
\captionsetup[table]{name=Tab.,labelfont=bf, font=footnotesize, justification=RaggedRight, singlelinecheck=false, format=plain, textformat=period}
\usepackage{longtable}
\usepackage{floatrow}
\begin{document}
%TABLE
\begin{table}
\centering
\renewcommand{\arraystretch}{1.5}
\ttabbox{\caption{Abc}}{\begin{tabular}{c|c|c|c}A & B & C & D \\A & B & C & D\end{tabular}}
\end{table}
%LONG TABLE
\renewcommand\arraystretch{1.5}
\begin{longtable}{c|c|c|c}
A & B & A & B \\ \hline
A & B & A & B \\ \hline
A & B & A & B \\ \hline
A & B & A & B \\ \hline
\caption{Abc}
\end{longtable}
\end{document}
pdflatex.exe returns:
! Undefined control sequence. (longtable)
after removing name=Tab. from \captionsetup everything works fine.
How can I solve that issue, and how can I format the longtable caption like table caption (caption over table)?
LOG FILE :
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.6960 64-bit) (preloaded format=pdflatex 2019.3.4) 5 MAR 2019 09:33
floatrowandlongtablecan not live together ... – Mensch Mar 05 '19 at 09:21floatrowand command\ttabbox. Do you really needfloatrow? – Mensch Mar 05 '19 at 09:50captionandfloatrowregarding thelongtableenvironment which is patched by both. So the problem comes from neither one or the other package, it's the combination which causes a problem here. Solution: Don't usename=Tab.and load thecaptionpackage with\usepackage[tablename=Tab.]{caption}instead. In the meantime I will try to eliminate the incompatibility, please hold the line... – Mar 05 '19 at 19:20