Seite 1 von 1

\captionof

Verfasst: So 12. Jun 2011, 16:25
von eistee
hallo,

wie kann ich Latex dazu bringen meine Tabellenüberschrift von meiner nicht gleitenden Tabelle auf die selbe Seite zu machen wie die Tabelle? hab es mit \mbox{} versucht jedoch stört sich der Befehl an der Tabelle in ihm.
\captionof{table}{Wahrheitstabelle}
\begin{tabulary}
...
\end{tabulary}
Tabelle und Überschrift leider auf verschiedenen Seiten :-(

Verfasst: So 12. Jun 2011, 16:40
von iTob
Du kannst z. B. eine {minipage} drumrum packen.

lsg

Verfasst: So 12. Jun 2011, 17:43
von eistee
also überschrift passt jetzt aber schaut euch daß mal an warum sind die ersten 3 vertikalen Punkte in meiner tabelle auser der mitte?
\begin{minipage}{\textwidth}	
\centering
\captionof{table}{Wahrheitstabelle Zähler}
\begin{tabulary}{\textwidth}{Cccccc@{\hspace{1cm}} ccccccc}
\toprule
X0	&	X1	&	X2	&	X3	&	X4	&	X5	&	Y0	&	Y1	&	Y2	&	Y3	&	Y4	&	Y5	&	Y6	\\
\midrule
0	&	0	&	0	&	1	&	0	&	0	&	0	&	0	&	0	&	1	&	0	&	1	&	0 \\
\vdots & \vdots	& \vdots & \vdots & \vdots & \vdots & \vdots & \vdots	& \vdots & \vdots	& \vdots & \vdots & \vdots \\
1	&	1	&	1	&	0	&	0	&	0	&	1	&	1	&	1	&	0	&	0	&	1	&	0	\\
\bottomrule
\end{tabulary}
\label{tab:akku_tab} 
\end{minipage}

Verfasst: So 12. Jun 2011, 17:46
von eistee
aha es lag an dem großen C aber warum?

Verfasst: Mo 13. Jun 2011, 01:40
von Stefan Kottwitz
Es kommt darauf an, wie Du C definiert hast, das schriebst Du nicht.

Stefan