PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : twocolumn und Tabellen über die ganze Seite



Tiia
01-06-2012, 16:38
Hallo zusammen,

ich hoffe mir kann jemand helfen... ich steh nämlich leider ziemlich auf dem Schlauch :(

Ich habe ein wissenschaftliches Paper was zweispaltig geschrieben wird... allerdings tauchen immer wieder im Text Tabellen auf, die über die gesamte Seite (A4) gehen sollen.

Wie kann ich das schaffen, dass der Text ein wenig so aussieht:

AAAA BBBB
AAAA BBBB
AABB BBBB

TABELLE HIER

BBBB CCCC
BBCC CCCC
CCCC CCCC


\documentclass[twocolumn]{svjour3}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{a4}
\usepackage{eurosym}
\usepackage{graphicx}
\usepackage{float}
\usepackage{lscape}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{amsmath}
\usepackage[sort]{natbib}
\usepackage[onehalfspacing]{setspace}
\usepackage{url}
\usepackage{geometry}
\usepackage[english]{babel}
\usepackage{titleref}

Tausend Dank schonmal!!!

Festus
01-06-2012, 17:16
Also für eine (semi)-professionelle Antwort müsstest du uns bitte deine Code-Fragmente zu einem funktionsfähigen Beispiel ergänzen.

Ins blaue geraten: Oft (z.B. bei multicolumn AFAIK) funktioniert sowas wie


\begin{table}
...
\end{table}

für einspaltige Tabellen und


\begin{table*}
...
\end{table*}

für Tabellen die Spaltenunabhängig über die volle Textbreite gehen.

Tiia
01-06-2012, 18:31
Hallo,

bei table* ist das Problem das die Tabelle dann auf eine neue Seite gesetzt wird... sie soll aber an einer beliebigen Stelle auf der Seite stehen.

Ich hab z.B.


\section{Methodology}

The first ratio represents a hospital's change in its relative technical efficiency. It informs about its movement towards or away from the production frontier be-tween periods $s$ and $t$. The ratio within brackets -- the geometric mean of the production technology -- refers to the technical change, which is industry related.\\\par

\begin{table}[h]
\begin{center}
\begin{singlespace}
\begin{tiny}
\textbf{\caption{Summary statistics of the variables}}
\begin{tabular}{|l|l|ll|}
\hline
\textbf{Input variable } & \textbf{Description} & \multicolumn{2}{l}{\textbf{Summary Statistics}} \\
\hline
& & MIN: & 176 \\
NUM\_BEDS & number of beds & MEAN: & 443.74\\
& & MAX: & 982 \\\hline
& & MIN: & 38 \\
FTE\_MED & number of physi- & MEAN: & 118.08\\
& cians, FTE & MAX: & 355 \\ \hline
& & MIN: & 142 \\
FTE\_PYHS & number of medical & MEAN: & 407.92\\
& staff, FTE & MAX: & 1,016 \\ \hline
& & MIN: & 71 \\
FTE\_NONMED & number of non- & MEAN: & 245.94\\
& medical staff, FTE & MAX: & 740 \\ \hline
& number of dis & MIN: & 0 \\
DIS\_$>$\_75 & charges of the age & MEAN: & 3,707.64\\
& of 75 & MAX: & 12,383 \\ \hline
& & MIN: & 7591 \\
DIS\_TOT & total sum of dis- & MEAN: & 19,291.2\\
& charges & MAX: & 57,050 \\ \hline
& & MIN: & 47,727 \\
LEN\_STAY\_TOT & total sum of over- & MEAN: & 105,888.3\\
& nights & MAX: & 293,562 \\ \hline
& total sum of all non- & MIN: & 1.06e$+$07 \\
TC\_MAT & personnel inpatient & MEAN: & 3.62e$+$07\\
& cost in EUR & MAX: & 1.23e$+$08 \\ \hline
& total sum of all & MIN: & 1.39e$+$07 \\
TC\_PERS & personnel inpatient & MEAN: & 4.12e$+$07\\
& cost in EUR & MAX: & 1.20e$+$08 \\ \hline
\textbf{Output variable} & & & \\ \hline
& Sum of LKF points & MIN: & 1.77e$+$07 \\
TSUM\_CP\_NEW & of all treated patients, & MEAN: & 4.93e$+$07\\
& \textbf{newly calculated} & MAX: & 1.56e$+$08 \\ \hline
\end{tabular}
\end{tiny}
\end{singlespace}
\end{center}
\end{table}

Determining the input-oriented MI within a DEA framework with constant returns to scale requires the calculation of the four distance functions stated in (eq. 8). The four input-oriented DEA linear programs are shown in eqs. 9 to 12, where each hospital $j$($j = 1, \ldots, k$) uses a vector of inputs $x_j^s$ = ($x_{1j}^s, \ldots, x_{mj}^s$) to produce a vector of outputs $y_j^s$ = ($y_{1j,}^s, \ldots, y_{sj}^s$) at each $t$($t = 1, \ldots, T$)[11].\\\par

hakaze
01-06-2012, 18:57
Zunächst ist h alleine als Platzierungsparameter nicht gut, verwende besser htb.

Zusätzliche Umgebungen (\begin .. \end) erzeugen zusätzlichen Abstand ober- und unterhalb der Tabelle. Ersetze inklusive der entsprechenden end(en)
\begin{center}
\begin{singlespace}
\begin{tiny}
durch die Umschaltbefehle
\centering
\singlespacing
\tiny
Setze textbf in die Caption und nicht außen herum.

BTW: Latex-Code kannst du hier im Forum mit dem CODE-tag oder dem Raute-Symbol im Editor setzen.

Tiia
01-06-2012, 19:23
Schonmal danke!

Im Moment wird die Tabelle aber noch in eine Spalte gesetzt... sie soll aber mittig auf das Blatt (also als wäre der Text an dieser Stelle nicht in zwei Spalten aufgeteilt)

hakaze
01-06-2012, 19:50
Wenn du die Stern-Form von table verwendest, wie Festus es vorgeschlagen hat, dann schon:
\documentclass[twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage{a4} % veraltet, nicht verwenden!
%\usepackage{eurosym}
%\usepackage{graphicx}
%\usepackage{float}
%\usepackage{lscape}
%\usepackage{amssymb}
%\usepackage{amsbsy}
%\usepackage{amsmath}
%\usepackage[sort]{natbib}
\usepackage[onehalfspacing]{setspace}
\usepackage{lipsum} % für lorem ipsum Blindtext
\usepackage{geometry}
\usepackage[english]{babel}
%\usepackage{titleref}

\begin{document}
\section{Methodology}

The first ratio represents a hospital's change in its relative technical efficiency. It informs about its movement towards or away from the production frontier be-tween periods $s$ and $t$. The ratio within brackets -- the geometric mean of the production technology -- refers to the technical change, which is industry related.


\begin{table*}[hbt]
\centering
\singlespacing
\small
\caption{\bfseries Summary statistics of the variables}
\begin{tabular}{|l|l|ll|}
\hline
\textbf{Input variable } & \textbf{Description} & \multicolumn{2}{l|}{\textbf{Summary Statistics}} \\
\hline
& & MIN: & 176 \\
NUM\_BEDS & number of beds & MEAN: & 443.74\\
& & MAX: & 982 \\\hline
& & MIN: & 38 \\
FTE\_MED & number of physi- & MEAN: & 118.08\\
& cians, FTE & MAX: & 355 \\ \hline
& & MIN: & 142 \\
FTE\_PYHS & number of medical & MEAN: & 407.92\\
& staff, FTE & MAX: & 1,016 \\ \hline
& & MIN: & 71 \\
FTE\_NONMED & number of non- & MEAN: & 245.94\\
& medical staff, FTE & MAX: & 740 \\ \hline
& number of dis & MIN: & 0 \\
DIS\_$>$\_75 & charges of the age & MEAN: & 3,707.64\\
& of 75 & MAX: & 12,383 \\ \hline
& & MIN: & 7591 \\
DIS\_TOT & total sum of dis- & MEAN: & 19,291.2\\
& charges & MAX: & 57,050 \\ \hline
& & MIN: & 47,727 \\
LEN\_STAY\_TOT & total sum of over- & MEAN: & 105,888.3\\
& nights & MAX: & 293,562 \\ \hline
& total sum of all non- & MIN: & 1.06e$+$07 \\
TC\_MAT & personnel inpatient & MEAN: & 3.62e$+$07\\
& cost in EUR & MAX: & 1.23e$+$08 \\ \hline
& total sum of all & MIN: & 1.39e$+$07 \\
TC\_PERS & personnel inpatient & MEAN: & 4.12e$+$07\\
& cost in EUR & MAX: & 1.20e$+$08 \\ \hline
\textbf{Output variable} & & & \\ \hline
& Sum of LKF points & MIN: & 1.77e$+$07 \\
TSUM\_CP\_NEW & of all treated patients, & MEAN: & 4.93e$+$07\\
& \textbf{newly calculated} & MAX: & 1.56e$+$08 \\ \hline
\end{tabular}
%\end{tiny}
%\end{singlespace}
%\end{center}
\end{table*}

Determining the input-oriented MI within a DEA framework with constant returns to scale requires the calculation of the four distance functions stated in (eq. 8). The four input-oriented DEA linear programs are shown in eqs. 9 to 12, where each hospital $j$($j = 1, \ldots, k$) uses a vector of inputs $x_j^s$ = ($x_{1j}^s, \ldots, x_{mj}^s$) to produce a vector of outputs $y_j^s$ = ($y_{1j,}^s, \ldots, y_{sj}^s$) at each $t$($t = 1, \ldots, T$)[11].

\lipsum %Blindtext
\end{document}PS: Absätze werden durch Leerzeilen erzeugt. Nur in Ausnahmefälle sollte \\ außerhalb von Tabellen (oder anderen Umgebungen) verwendet werden.

Festus
01-06-2012, 21:37
Außerdem noch zwei Verbesserungsvorschläge:

Wenn die captions z.B. fett und/oder auch anderweitig anders formatiert sein sollen würde es sich anbieten, das global umzudefinieren, z.B. mit dem caption-Paket.

Es wäre besser booktabs zu laden und die \hline's durch \toprule, \midrule und \bottomrule zu ersetzen.

P.S. hakaze hat jetzt im 6. Beitrag das Minimalbeispiel aus deinen Fragmenten gebastelt, das eigentlich von Anfang an deine Aufgabe gewesen wäre :rolleyes:

Sepp99
02-06-2012, 08:51
Eine weitere Möglichkeit würde das Paket multicol bieten:

\documentclass[
%twocolumn
]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage{a4} % veraltet, nicht verwenden!
%\usepackage{eurosym}
%\usepackage{graphicx}
%\usepackage{float}
%\usepackage{lscape}
%\usepackage{amssymb}
%\usepackage{amsbsy}
%\usepackage{amsmath}
%\usepackage[sort]{natbib}
\usepackage[onehalfspacing]{setspace}
\usepackage{lipsum} % für lorem ipsum Blindtext
\usepackage{geometry}
\usepackage[english]{babel}
%\usepackage{titleref}
\usepackage{multicol}

\begin{document}
\begin{multicols}{2}
\section{Methodology}

The first ratio represents a hospital's change in its relative technical efficiency. It informs about its movement towards or away from the production frontier be-tween periods $s$ and $t$. The ratio within brackets -- the geometric mean of the production technology -- refers to the technical change, which is industry related.
\end{multicols}

\begin{table*}[hbt]
\centering
\singlespacing
\small
\caption{\bfseries Summary statistics of the variables}
\begin{tabular}{|l|l|ll|}
\hline
\textbf{Input variable } & \textbf{Description} & \multicolumn{2}{l|}{\textbf{Summary Statistics}} \\
\hline
& & MIN: & 176 \\
NUM\_BEDS & number of beds & MEAN: & 443.74\\
& & MAX: & 982 \\\hline
& & MIN: & 38 \\
FTE\_MED & number of physi- & MEAN: & 118.08\\
& cians, FTE & MAX: & 355 \\ \hline
& & MIN: & 142 \\
FTE\_PYHS & number of medical & MEAN: & 407.92\\
& staff, FTE & MAX: & 1,016 \\ \hline
& & MIN: & 71 \\
FTE\_NONMED & number of non- & MEAN: & 245.94\\
& medical staff, FTE & MAX: & 740 \\ \hline
& number of dis & MIN: & 0 \\
DIS\_$>$\_75 & charges of the age & MEAN: & 3,707.64\\
& of 75 & MAX: & 12,383 \\ \hline
& & MIN: & 7591 \\
DIS\_TOT & total sum of dis- & MEAN: & 19,291.2\\
& charges & MAX: & 57,050 \\ \hline
& & MIN: & 47,727 \\
LEN\_STAY\_TOT & total sum of over- & MEAN: & 105,888.3\\
& nights & MAX: & 293,562 \\ \hline
& total sum of all non- & MIN: & 1.06e$+$07 \\
TC\_MAT & personnel inpatient & MEAN: & 3.62e$+$07\\
& cost in EUR & MAX: & 1.23e$+$08 \\ \hline
& total sum of all & MIN: & 1.39e$+$07 \\
TC\_PERS & personnel inpatient & MEAN: & 4.12e$+$07\\
& cost in EUR & MAX: & 1.20e$+$08 \\ \hline
\textbf{Output variable} & & & \\ \hline
& Sum of LKF points & MIN: & 1.77e$+$07 \\
TSUM\_CP\_NEW & of all treated patients, & MEAN: & 4.93e$+$07\\
& \textbf{newly calculated} & MAX: & 1.56e$+$08 \\ \hline
\end{tabular}
%\end{tiny}
%\end{singlespace}
%\end{center}
\end{table*}

\begin{multicols}{2}
Determining the input-oriented MI within a DEA framework with constant returns to scale requires the calculation of the four distance functions stated in (eq. 8). The four input-oriented DEA linear programs are shown in eqs. 9 to 12, where each hospital $j$($j = 1, \ldots, k$) uses a vector of inputs $x_j^s$ = ($x_{1j}^s, \ldots, x_{mj}^s$) to produce a vector of outputs $y_j^s$ = ($y_{1j,}^s, \ldots, y_{sj}^s$) at each $t$($t = 1, \ldots, T$)[11].

\lipsum %Blindtext
\end{multicols}
\end{document}

Gruß, Sepp.-