PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : longtable in landscape auf Seite zentrieren - caption auf gesamter Tabellenbreite



alex15
08-02-2007, 19:45
Hallo,

ich versuche folgende Tabelle zu erstellen:


\documentclass[a4paper]{report}
\usepackage{rotating}
\usepackage{geometry}
\usepackage{lscape}
\usepackage{endnotes}
\usepackage{setspace}
\usepackage{multirow}
\usepackage{longtable}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%
\begin{document}
\begin{landscape}
\centering
\singlespacing{
\begin{longtable}{|p{3.5cm}|p{7cm}|p{2.5cm}|p{4.1c m}|p{1.6cm}|}
\multicolumn{5}{c}{}\\
\hline
\multicolumn{1}{|c|} {} & \multicolumn{1}{c|} {\textbf{Procedure}} & \multicolumn{1}{c|} {\textbf{Endpoint}} & \multicolumn{1}{c|} {\textbf{Objectives}} & \multicolumn{1}{c|} {\textbf{Reference}} \\ \hline \endfirsthead

\multicolumn{5}{r}{\textit{continued from previous page}}\\
\hline
\multicolumn{1}{|c|} {} & \multicolumn{1}{c|} {\textbf{Procedure}} & \multicolumn{1}{c|} {\textbf{Endpoint}} & \multicolumn{1}{c|} {\textbf{Objectives}} & \multicolumn{1}{l|} {\textbf{Reference}} \\ \hline \endhead
\multicolumn{5}{r}{\textit{continues overleaf}}\\ \endfoot
\endlastfoot
\textbf{Conventional LD50 Assay} & & Death of animal & Ethic concerns, Reproducibility, Length, Cost & \cite{trevan1927, miles1951} \\ \hline
\textbf{LD50 derived \textit{in vivo} Assays} & \small Fixed-Dose-Response (FDR) & \small Visible toxic response & \small Subjective determination of toxic response, Ethic concerns, Length, Cost & \\
& Up-and-Down Prodecure (UDP) & Visible toxic response & & \cite{dixon1948, dixon1965, dixon1991, rispin2002}\\
& ``time-to-death´´ Assay & & Ethic concerns, Cost, Sensitivity & \cite{beccari1949, molinengo1979}\\ \hline
\textbf{\textit{in situ} Paralysis Models} & Mouse gastrocnemicus muscle & Muscle chemodenervation & & \cite{sugiyama1975, pearce1994, pearce1995} \\
& Rat gastrocnemicus muscle & Muscle chemodenervation & & \cite{cichon1995} \\ \hline
\textbf{Tissue-based \textit{ex vivo} Toxicity Assays} & Rat Hind Limb and Extensor Digitorum Longus (EDL) Muscle Preparation, and The Nerve-hemidiaphragm Assay & Muscle chemodenervation & & \cite{sellin1983a, sellin1983b} \\
& Rat hind limb plantar muscles & Muscle chemodenervation & Labour intensive, Not fully evaluated & \cite{clark1987}\\
& Rat phrenic nerve-hemidiaphragm & Muscle chemodenervation & & \cite{bulbring1946, burgen1949, simpson1980, simpson1981}\\ \hline
\textbf{Cell Cultures} & Mouse primary embryonic motoneurons & & & \cite{habermann1986, williamson1996}\\
& Pheochromocytoma (PC12) cells & & & \cite{habermann1986, williamson1996}\\
& Adrenal chromaffin cells and insulinoma HIT-15 and RINm5F cells & & & \cite{knight1986}\\
& Transgenic modulation of yeast cells & & & \cite{fang2006}\\ \hline
\textbf{Cell component isolates} & Mouse brain, torpedo organ, Aplysia synaptosome preparations & & & \cite{whittaker1964, marsal1987, poulain1990}\\ \hline \pagebreak
\textbf{Immunochemical Techniques} & hemagglutination assay & & Low sensitivity, Antibody crossreactivity & \cite{sonnenschein1978}\\
& bentonite flocculation assay & & Low sensitivity, Antibody crossreactivity & \cite{johnson1966}\\ & Radioimmunoassay & & Low sensitivity & \cite{berson1968}\\
& Immunodiffusion and capillary diffusion assay & & & \cite{vermilyea1968}\\
& Immunofluorescence assay & & & \cite{ogert1992, singh1996}\\
& Enzyme-linked immunoabsorbant assay (ELISA) & & & \cite{lewis1981, ekong1995}\\
& ELISA with an enzyme-linked coaggulation assay [(ELISA)-ELCA] & & & \cite{doellgast1993, sharma2006}\\
& ELISA with liposome polymerase chain reaction (LPCR) & & & \cite{mason2006}\\ \hline
\textbf{Biochemical Assays} & Cleavage of SNAP25 or SNAP25-like protein substrate & & & \cite{wictome1999, dong2004, shine2005, rivera2006} \\ \hline
\multicolumn{5}{c}{}\\
\caption[Assays For The Determination of Clinical Potency of BoNT Preparations] {Assays for the determination of clinical potency of BoNT preparations (list incomplete).}
\label{tab:AlternativeBoNTAssays}\\
\end{longtable}
}
\end{landscape}

\end{document}


Wie zu sehen, sollte die Tabelle im Lanschaftsformat erscheinen, auf jeder Seite allerdings horizontal zentriert sein. Zudem soll die Beschreibung auf der gesamten Breite der Tabelle erscheinen. Momentan scheint die Formatierung dem normalen Textformat einer aufrechten Seite zu folgen.

alex15

sofa-surfer
09-02-2007, 08:11
Hallo,

versuch mal ein

\setlength{\LTcapwidth}{\textheight} vor dem Beginn der longtable. (Vgl. longtable-Doku, Abschnitt "Captions and Headings")

Matthias

alex15
09-02-2007, 13:30
Jupp, das bringt meine Beschriftung in das gewünschte Fromat. Danke dafür.

Allerdings werden die Teile der Gesamttabelle noch immer nicht auf jeder einzelnen Seite zentriert. Die Tabelle und die Fortsetzung nach erzwungenem Seitenumbruch beginnen jeweils linksbündig. Auch begin{longtable}[c]{|p{3.5cm}|p{7cm}|p{2.5cm}|p{4.1cm}|p{1.6cm}|} hilft nicht.

:o alex15