Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /var/www/html/dokuwiki-2022-07-31a/inc/init.php on line 47
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/dokuwiki-2022-07-31a/inc/init.php:47) in /var/www/html/dokuwiki-2022-07-31a/inc/init.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/dokuwiki-2022-07-31a/inc/init.php:47) in /var/www/html/dokuwiki-2022-07-31a/inc/auth.php on line 511
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/dokuwiki-2022-07-31a/inc/init.php:47) in /var/www/html/dokuwiki-2022-07-31a/inc/Action/Export.php on line 109
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/dokuwiki-2022-07-31a/inc/init.php:47) in /var/www/html/dokuwiki-2022-07-31a/inc/Action/Export.php on line 109
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/dokuwiki-2022-07-31a/inc/init.php:47) in /var/www/html/dokuwiki-2022-07-31a/inc/Action/Export.php on line 109
%META:TOPICINFO{author="HerbertVoss" date="1354475770" format="1.1" version="1.3"}% %META:TOPICPARENT{name="Tabellen"}%
===== Paket supertabular =====
Das Paket supertabular gehört neben dem Paket ,longtable` zu den Standardparketen für mehrseitige [[Tabellen|Tabelle]]. Im Gegensatz zur longtable-Umgebung berechnet supertabular für jede Seite die Spaltenbreite für die Spaltentypen r,l und c neu. Die Syntax der supertabular-Umgebung ist hierbei wie folgt gegeben: 1 Definition des ersten Tabellenkopfes: ''%%\tablefirsthead{}%%'' 1 Definition der Tabellenköpfe auf den Folgeseiten: ''%%\tablehead{}%%'' 1 Definition der Tabellenfüße: ''%%\tabletail{}%%'' 1 Definition des letzen Tabellenfußes ''%%\tablelasttail{}%%'' 1 Festlegung der Tabellenbeschriftung:meist ''%%\tablecaption{}%%'' 1 Defintion der supertabular-Umgebung
Zu beachten ist hierbei, dass die Definitionen des Kopfes und des Fußes der zugehörigen supertabular-Umgebung, die selbe Anzahl an Spalten besitzt, wie die eigentliche supertabular-Umgebung.
Bsp:
\documentclass{article}
\usepackage{forloop,supertabular}
\newcounter{count}
\setcounter{count}{1}
\begin{document}
\begin{center}
\tablefirsthead{erster Tabellenkopf\\}
\tablehead{Tabellenkopf\\}
\tabletail{Fortsetzung nächste Seite\\}
\tablelasttail{letze Seite\\}
\tablecaption{supertabular-Tabelle}
\begin{supertabular}{c}
\whiledo{\value{count} < 100}{\stepcounter{count}
\arabic{count} \\}
\end{supertabular}
\end{center}
\end{document}
-- Main.MarcoDaniel - 28 Jul 2009