Anzeige:
Ergebnis 1 bis 6 von 6

Thema: longtable

  1. #1
    Registrierter Benutzer
    Registriert seit
    05.08.2008
    Beiträge
    15

    longtable

    Hey zusammen, ich versuche gerade ein zweiseitige Tabelle zu erstellen und verzweifel mit longtable. Ich bekomms einfach nicht hin. Abgesehen davon, dass meine Tabelle mit Table wunderschön ist und mit longtable noch ziemlich hässlich, teilt er die Tabelle einfach nicht auf zwei Seiten auf und ich versteh nicht warum und bitte um eure Hilfe!!!

    Das erste ist die Tabelle, wie sie eigentlich aussehen sollte, kann mir jemand helfen, wie dafür die Syntax in longtable aussehn müssten?

    Vielen Dank schonmal für eure Hilfe!


    \documentclass[a4paper, 12pt]{scrartcl} % Klasse
    \usepackage{graphicx} %erlaubt grafiken einzubinden

    \usepackage{setspace} % Paket zur Zeilenabstandsbestimmung
    \onehalfspace % Zeilenabstand 1,5

    \renewenvironment{quote}{%setz die quote Umgebung auf abstand 1 und klein
    \ifhmode\par\fi
    \singlespacing
    \list{}{\rightmargin\leftmargin\small}%
    \item\relax
    }{%
    \endlist
    }

    \usepackage[ngerman]{babel} % deutsche Sprachvariante
    \usepackage[applemac]{inputenc} % Einstellung für den Eingabezeichensatz
    \usepackage[T1]{fontenc} % Einstellung für die Zeichenkodierung
    \usepackage{marvosym} % Paket für die Sonderzeiche z.B. \EUR
    \usepackage{europs}
    \usepackage{vmargin} %Seitenlayout Handbuch
    %\usepackage[pdftex]{hyperref}
    \usepackage{longtable,blindtext,multicol}

    \interfootnotelinepenalty=10000 %verhindert dass Fußnoten auf 2 Seiten sind

    \usepackage[dotafter=bibentry]{jurabib}
    \jurabibsetup{authorformat=year, commabeforerest, ibidem=strict, citefull=first, see, titleformat=colonsep}
    \AddTo\bibsgerman{\renewcommand*{\ibidemname}{Ebd. }
    \renewcommand*{\ibidemmidname}{ebd.} }
    \renewcommand*{\biburlprefix}{}
    \renewcommand*{\biburlsuffix}{}
    \biburlfont{same}
    \renewcommand*{\bibbtsep}{In: }
    \renewcommand*{\bibjtsep}{In: }

    \usepackage{multibib}
    \newcites{quelle}{Veröffentlichungen}

    \deffootnote{1.5em}{1em}{% % Fussnoten linksbündig, Text ohne Einzug
    \makebox[1.5em][l]{\textsuperscript{\thefootnotemark}}}
    \usepackage[multiple,hang]{footmisc}
    %\setlength{\footnotemargin}{5pt} %bei bedarf abstand ändern % macht ein Komma zwischen 2 Fußnoten

    \setmarginsrb{2.5cm}{1.5cm}{1.8cm}{1.5cm}{0.8cm}{0 .5cm}{0.8cm}{0.5cm} %Seitenlayout Handbuch
    \usepackage{parskip} % schaltet den Zeileneinzug ab

    \usepackage{fancyhdr} % Paket einbinden
    \pagestyle{fancy} % Seitenstil auf fancy schalten
    \fancyhf{} % lˆscht vordefinierte Einstellungen
    \fancyhead[L]{Operation mit Komplikationen}
    \fancyhead[R]{Julian Schärdel}
    \fancyfoot[R]{\thepage}
    \usepackage{mathptmx,times}
    %\usepackage[rm]{titlesec}
    \addtocounter{page}{-1}
    %\usepackage{hyperref}

    \makeatletter
    \g@addto@macro\UrlBreaks{
    % \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j
    %\do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\ t
    %\do\u\do\v\do\w\do\x\do\y\do\z
    \do\&\do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9\do\0 \do\-\do\.\do\=\do\/}
    \g@addto@macro\UrlSpecials{\do\/{\mbox{\UrlFont/}\hskip 0pt plus 1pt}}
    %\makeatother
    \begin{document}





    \begin{table}[htbp]\centering
    \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
    \caption{Lineare Regression}
    \begin{tabular}{l*{4}{c}}
    \hline\hline
    &\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell 2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell 4}\\
    \hline
    sex & 0.0331\sym{*}& 0.0253 & 0.0283\sym{+}& 0.0288\sym{*}\\
    & (0.0160) & (0.0157) & (0.0159) & (0.0142) \\
    [1em]
    age\_c & -0.0441\sym{*}& -0.0338\sym{*}& -0.0343\sym{*}& -0.0407\sym{*}\\
    & (0.00493) & (0.00497) & (0.00500) & (0.00436) \\
    [1em]
    centreab\_c & -0.0136\sym{*}& -0.0117\sym{*}& -0.00802 & \\
    & (0.00579) & (0.00575) & (0.00579) & \\
    [1em]
    EcoIndex\_c & 0.0174\sym{*}& 0.0292\sym{*}& 0.0279\sym{*}& 0.0289\sym{*}\\
    & (0.00479) & (0.00493) & (0.00490) & (0.00431) \\
    [1em]
    WisIndex\_c & 0.0379\sym{*}& 0.0345\sym{*}& 0.0356\sym{*}& 0.0348\sym{*}\\
    & (0.00209) & (0.00213) & (0.00212) & (0.00181) \\
    [1em]
    KenIndex & 0.291\sym{*}& 0.282\sym{*}& 0.279\sym{*}& 0.269\sym{*}\\
    & (0.0174) & (0.0172) & (0.0174) & (0.0155) \\
    [1em]
    ConIndex\_c & 0.0805\sym{*}& 0.0966\sym{*}& 0.0883\sym{*}& 0.0854\sym{*}\\
    & (0.00286) & (0.00319) & (0.00296) & (0.00262) \\
    [1em]
    NatDem & 0.254\sym{*}& 0.282\sym{*}& 0.301\sym{*}& 0.322\sym{*}\\
    & (0.0166) & (0.0173) & (0.0173) & (0.0153) \\
    [1em]
    Belgium & & 0.358\sym{*}& & \\
    & & (0.0600) & & \\
    [1em]
    Denmark & & -0.207\sym{*}& & \\
    & & (0.0596) & & \\
    [1em]
    GermanyWest & & 0.324\sym{*}& & \\
    & & (0.0605) & & \\
    [1em]
    GermanyEast & & 0.169\sym{*}& & \\
    & & (0.0708) & & \\
    [1em]
    Greece & & 0.132\sym{*}& & \\
    & & (0.0628) & & \\
    [1em]
    Spain & & 0.639\sym{*}& & \\
    & & (0.0620) & & \\
    [1em]
    France & & 0.298\sym{*}& & \\
    & & (0.0602) & & \\
    [1em]
    Finland & & -0.202\sym{*}& & \\
    & & (0.0603) & & \\
    [1em]
    Ireland & & -0.124\sym{*}& & \\
    & & (0.0612) & & \\
    [1em]
    Italy & & 0.256\sym{*}& & \\
    & & (0.0647) & & \\
    [1em]
    Luxemburg & & 0.185\sym{*}& & \\
    & & (0.0735) & & \\
    [1em]
    Netherlands & & -0.0518 & & \\
    & & (0.0598) & & \\
    [1em]
    Austria & & -0.0233 & & \\
    & & (0.0607) & & \\
    [1em]
    Portugal & & 0.375\sym{*}& & \\
    & & (0.0647) & & \\
    [1em]
    Sweden & & -0.185\sym{*}& & \\
    & & (0.0591) & & \\
    [1em]
    UK & & -0.348\sym{*}& & \\
    & & (0.0601) & & \\
    [1em]
    Czech & & -0.111\sym{+}& & \\
    & & (0.0595) & & \\
    [1em]
    Estonia & & -0.0701 & & \\
    & & (0.0621) & & \\
    [1em]
    Hungary & & 0.361\sym{*}& & \\
    & & (0.0610) & & \\
    [1em]
    Latvia & & -0.319\sym{*}& & \\
    & & (0.0629) & & \\
    [1em]
    Lithuania & & -0.145\sym{*}& & \\
    & & (0.0680) & & \\
    [1em]
    Malta & & 0.131 & & \\
    & & (0.0842) & & \\
    [1em]
    Poland & & 0.258\sym{*}& & \\
    & & (0.0629) & & \\
    [1em]
    Slovakia & & 0.196\sym{*}& & \\
    & & (0.0607) & & \\
    [1em]
    Slovenia & & -0.219\sym{*}& & \\
    & & (0.0642) & & \\
    [1em]
    Bulgaria & & 0.175\sym{*}& & \\
    & & (0.0640) & & \\
    [1em]
    Romania & & 0.0832 & & \\
    & & (0.0682) & & \\
    [1em]
    dauer\_c & & & 0.00474\sym{*}& 0.00518\sym{*}\\
    & & & (0.000684) & (0.000619) \\
    [1em]
    bnp2009\_c & & & -0.00182\sym{*}& -0.00167\sym{*}\\
    & & & (0.000337) & (0.000269) \\
    [1em]
    arbeit\_c & & & 0.00808\sym{*}& 0.00658\sym{*}\\
    & & & (0.00226) & (0.00193) \\
    [1em]
    euro & & & 0.181\sym{*}& 0.163\sym{*}\\
    & & & (0.0229) & (0.0182) \\
    [1em]
    DDIndex\_c & & & -0.0975\sym{*}& -0.0897\sym{*}\\
    & & & (0.0163) & (0.0146) \\
    [1em]
    postmat\_c & & & 0.00365 & \\
    & & & (0.0209) & \\
    [1em]
    Constant & 0.788\sym{*}& 0.721\sym{*}& 0.676\sym{*}& 0.656\sym{*}\\
    & (0.0161) & (0.0492) & (0.0209) & (0.0177) \\
    \hline
    Observations & 19666 & 19666 & 19666 & 24179 \\
    Adjusted \(R^{2}\) & 0.150 & 0.190 & 0.166 & 0.171 \\
    \hline\hline
    \multicolumn{5}{l}{\footnotesize Standard errors in parentheses}\\
    \multicolumn{5}{l}{\footnotesize \sym{+} \(p<0.10\), \sym{*} \(p<0.05\)}\\
    \end{tabular}
    \end{table}

  2. #2
    Registrierter Benutzer
    Registriert seit
    28.06.2005
    Ort
    Karlsruhe
    Beiträge
    1.407
    Welcher Teil des Begriffs »Minimalbeispiel« ist Dir unklar?

  3. #3
    Registrierter Benutzer
    Registriert seit
    05.08.2008
    Beiträge
    15
    ok sorry, habe die unnötigen packages rausgeworfen. Außerdem hab ich die longtable tabelle reingemacht, die eben nicht klappt, sondern relativ wirr ist!? Ich hoffe so ist es richtig mit dem Minimalbeispiel!?

    \documentclass[a4paper, 12pt]{scrartcl}
    \usepackage{longtable,blindtext,multicol}
    \begin{document}

    \begin{longtable}[c]{p{3cm}p{3cm}p{3cm}p{3cm}p{3cm}}
    \caption{Lineare Regression}\\
    &\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell 2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell 4}\\
    \endfirsthead
    &\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell 2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell 4}\\
    \endhead
    \\ \\ \hline \\
    \textit{Tabelle wird auf der nächsten Seite fortgesetzt} \\
    \endfoot
    \\ \\ \hline \\
    \textit{Ende der Tabelle} \\
    \endlastfoot
    \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
    \begin{tabular}{l*{4}{c}}


    sex & 0.0331\sym{*}& 0.0253 & 0.0283\sym{+}& 0.0288\sym{*}\\
    & (0.0160) & (0.0157) & (0.0159) & (0.0142) \\
    [1em]
    age\_c & -0.0441\sym{*}& -0.0338\sym{*}& -0.0343\sym{*}& -0.0407\sym{*}\\
    & (0.00493) & (0.00497) & (0.00500) & (0.00436) \\
    [1em]
    centreab\_c & -0.0136\sym{*}& -0.0117\sym{*}& -0.00802 & \\
    & (0.00579) & (0.00575) & (0.00579) & \\
    [1em]
    EcoIndex\_c & 0.0174\sym{*}& 0.0292\sym{*}& 0.0279\sym{*}& 0.0289\sym{*}\\
    & (0.00479) & (0.00493) & (0.00490) & (0.00431) \\
    [1em]
    WisIndex\_c & 0.0379\sym{*}& 0.0345\sym{*}& 0.0356\sym{*}& 0.0348\sym{*}\\
    & (0.00209) & (0.00213) & (0.00212) & (0.00181) \\
    [1em]
    KenIndex & 0.291\sym{*}& 0.282\sym{*}& 0.279\sym{*}& 0.269\sym{*}\\
    & (0.0174) & (0.0172) & (0.0174) & (0.0155) \\
    [1em]
    ConIndex\_c & 0.0805\sym{*}& 0.0966\sym{*}& 0.0883\sym{*}& 0.0854\sym{*}\\
    & (0.00286) & (0.00319) & (0.00296) & (0.00262) \\
    [1em]
    NatDem & 0.254\sym{*}& 0.282\sym{*}& 0.301\sym{*}& 0.322\sym{*}\\
    & (0.0166) & (0.0173) & (0.0173) & (0.0153) \\
    [1em]
    Belgium & & 0.358\sym{*}& & \\
    & & (0.0600) & & \\
    [1em]
    Denmark & & -0.207\sym{*}& & \\
    & & (0.0596) & & \\
    [1em]
    GermanyWest & & 0.324\sym{*}& & \\
    & & (0.0605) & & \\
    [1em]
    GermanyEast & & 0.169\sym{*}& & \\
    & & (0.0708) & & \\
    [1em]
    Greece & & 0.132\sym{*}& & \\
    & & (0.0628) & & \\
    [1em]
    Spain & & 0.639\sym{*}& & \\
    & & (0.0620) & & \\
    [1em]
    France & & 0.298\sym{*}& & \\
    & & (0.0602) & & \\
    [1em]
    Finland & & -0.202\sym{*}& & \\
    & & (0.0603) & & \\
    [1em]
    Ireland & & -0.124\sym{*}& & \\
    & & (0.0612) & & \\
    [1em]
    Italy & & 0.256\sym{*}& & \\
    & & (0.0647) & & \\
    [1em]
    Luxemburg & & 0.185\sym{*}& & \\
    & & (0.0735) & & \\
    [1em]
    Netherlands & & -0.0518 & & \\
    & & (0.0598) & & \\
    [1em]
    Austria & & -0.0233 & & \\
    & & (0.0607) & & \\
    [1em]
    Portugal & & 0.375\sym{*}& & \\
    & & (0.0647) & & \\
    [1em]
    Sweden & & -0.185\sym{*}& & \\
    & & (0.0591) & & \\
    [1em]
    UK & & -0.348\sym{*}& & \\
    & & (0.0601) & & \\
    [1em]
    Czech & & -0.111\sym{+}& & \\
    & & (0.0595) & & \\
    [1em]
    Estonia & & -0.0701 & & \\
    & & (0.0621) & & \\
    [1em]
    Hungary & & 0.361\sym{*}& & \\
    & & (0.0610) & & \\
    [1em]
    Latvia & & -0.319\sym{*}& & \\
    & & (0.0629) & & \\
    [1em]
    Lithuania & & -0.145\sym{*}& & \\
    & & (0.0680) & & \\
    [1em]
    Malta & & 0.131 & & \\
    & & (0.0842) & & \\
    [1em]
    Poland & & 0.258\sym{*}& & \\
    & & (0.0629) & & \\
    [1em]
    Slovakia & & 0.196\sym{*}& & \\
    & & (0.0607) & & \\
    [1em]
    Slovenia & & -0.219\sym{*}& & \\
    & & (0.0642) & & \\
    [1em]
    Bulgaria & & 0.175\sym{*}& & \\
    & & (0.0640) & & \\
    [1em]
    Romania & & 0.0832 & & \\
    & & (0.0682) & & \\
    [1em]
    dauer\_c & & & 0.00474\sym{*}& 0.00518\sym{*}\\
    & & & (0.000684) & (0.000619) \\
    [1em]
    bnp2009\_c & & & -0.00182\sym{*}& -0.00167\sym{*}\\
    & & & (0.000337) & (0.000269) \\
    [1em]
    arbeit\_c & & & 0.00808\sym{*}& 0.00658\sym{*}\\
    & & & (0.00226) & (0.00193) \\
    [1em]
    euro & & & 0.181\sym{*}& 0.163\sym{*}\\
    & & & (0.0229) & (0.0182) \\
    [1em]
    DDIndex\_c & & & -0.0975\sym{*}& -0.0897\sym{*}\\
    & & & (0.0163) & (0.0146) \\
    [1em]
    postmat\_c & & & 0.00365 & \\
    & & & (0.0209) & \\
    [1em]
    Constant & 0.788\sym{*}& 0.721\sym{*}& 0.676\sym{*}& 0.656\sym{*}\\
    & (0.0161) & (0.0492) & (0.0209) & (0.0177) \\
    \hline
    Observations & 19666 & 19666 & 19666 & 24179 \\
    Adjusted \(R^{2}\) & 0.150 & 0.190 & 0.166 & 0.171 \\
    \hline\hline
    \multicolumn{5}{l}{\footnotesize Standard errors in parentheses}\\
    \multicolumn{5}{l}{\footnotesize \sym{+} \(p<0.10\), \sym{*} \(p<0.05\)}\\
    \end{tabular}
    \end{longtable}

    \end{document}

  4. #4
    Registrierter Benutzer
    Registriert seit
    28.06.2005
    Ort
    Karlsruhe
    Beiträge
    1.407
    Hallo,

    mir ist Deine \sym-Definition unklar, aber Du hast jedenfalls übersehen, dass man innerhalb von longtable nicht nochmal eine Tabelle definiert!

    Code:
    \documentclass[a4paper, 12pt, ngerman]{scrartcl}
    \usepackage{longtable,blindtext,multicol, babel, array}
    \usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}
    
    \newcommand{\sym}[1]{\relax}
    \begin{document}
    
    \begin{longtable}[c]{p{3cm}p{3cm}p{3cm}p{3cm}p{3cm}}
    \caption{Lineare Regression}\\
    &\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell
      2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell
      4}\\ \endfirsthead
    \caption{Lineare Regression}\\
    &\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell
      2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell 4}\\ \endhead
    %\\ \hline 
    \textit{Tabelle wird auf der nächsten Seite fortgesetzt} \\
    \endfoot
    %\\ \\ \hline \\
    \textit{Ende der Tabelle} \\
    \endlastfoot
    %\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
    
    %\begin{tabular}{l*{4}{c}}
    sex & 0.0331\sym{*}& 0.0253 & 0.0283\sym{+}& 0.0288\sym{*}\\
    & (0.0160) & (0.0157) & (0.0159) & (0.0142) \\
    [1em]
    age\_c & -0.0441\sym{*}& -0.0338\sym{*}& -0.0343\sym{*}& -0.0407\sym{*}\\
    & (0.00493) & (0.00497) & (0.00500) & (0.00436) \\
    [1em]
    centreab\_c & -0.0136\sym{*}& -0.0117\sym{*}& -0.00802 & \\
    & (0.00579) & (0.00575) & (0.00579) & \\
    [1em]
    EcoIndex\_c & 0.0174\sym{*}& 0.0292\sym{*}& 0.0279\sym{*}& 0.0289\sym{*}\\
    & (0.00479) & (0.00493) & (0.00490) & (0.00431) \\
    [1em]
    WisIndex\_c & 0.0379\sym{*}& 0.0345\sym{*}& 0.0356\sym{*}& 0.0348\sym{*}\\
    & (0.00209) & (0.00213) & (0.00212) & (0.00181) \\
    [1em]
    KenIndex & 0.291\sym{*}& 0.282\sym{*}& 0.279\sym{*}& 0.269\sym{*}\\
    & (0.0174) & (0.0172) & (0.0174) & (0.0155) \\
    [1em]
    ConIndex\_c & 0.0805\sym{*}& 0.0966\sym{*}& 0.0883\sym{*}& 0.0854\sym{*}\\
    & (0.00286) & (0.00319) & (0.00296) & (0.00262) \\
    [1em]
    NatDem & 0.254\sym{*}& 0.282\sym{*}& 0.301\sym{*}& 0.322\sym{*}\\
    & (0.0166) & (0.0173) & (0.0173) & (0.0153) \\
    [1em]
    Belgium & & 0.358\sym{*}& & \\
    & & (0.0600) & & \\
    [1em]
    Denmark & & -0.207\sym{*}& & \\
    & & (0.0596) & & \\
    [1em]
    GermanyWest & & 0.324\sym{*}& & \\
    & & (0.0605) & & \\
    [1em]
    GermanyEast & & 0.169\sym{*}& & \\
    & & (0.0708) & & \\
    [1em]
    Greece & & 0.132\sym{*}& & \\
    & & (0.0628) & & \\
    [1em]
    Spain & & 0.639\sym{*}& & \\
    & & (0.0620) & & \\
    [1em]
    France & & 0.298\sym{*}& & \\
    & & (0.0602) & & \\
    [1em]
    Finland & & -0.202\sym{*}& & \\
    & & (0.0603) & & \\
    [1em]
    Ireland & & -0.124\sym{*}& & \\
    & & (0.0612) & & \\
    [1em]
    Italy & & 0.256\sym{*}& & \\
    & & (0.0647) & & \\
    [1em]
    Luxemburg & & 0.185\sym{*}& & \\
    & & (0.0735) & & \\
    [1em]
    Netherlands & & -0.0518 & & \\
    & & (0.0598) & & \\
    [1em]
    Austria & & -0.0233 & & \\
    & & (0.0607) & & \\
    [1em]
    Portugal & & 0.375\sym{*}& & \\
    & & (0.0647) & & \\
    [1em]
    Sweden & & -0.185\sym{*}& & \\
    & & (0.0591) & & \\
    [1em]
    UK & & -0.348\sym{*}& & \\
    & & (0.0601) & & \\
    [1em]
    Czech & & -0.111\sym{+}& & \\
    & & (0.0595) & & \\
    [1em]
    Estonia & & -0.0701 & & \\
    & & (0.0621) & & \\
    [1em]
    Hungary & & 0.361\sym{*}& & \\
    & & (0.0610) & & \\
    [1em]
    Latvia & & -0.319\sym{*}& & \\
    & & (0.0629) & & \\
    [1em]
    Lithuania & & -0.145\sym{*}& & \\
    & & (0.0680) & & \\
    [1em]
    Malta & & 0.131 & & \\
    & & (0.0842) & & \\
    [1em]
    Poland & & 0.258\sym{*}& & \\
    & & (0.0629) & & \\
    [1em]
    Slovakia & & 0.196\sym{*}& & \\
    & & (0.0607) & & \\
    [1em]
    Slovenia & & -0.219\sym{*}& & \\
    & & (0.0642) & & \\
    [1em]
    Bulgaria & & 0.175\sym{*}& & \\
    & & (0.0640) & & \\
    [1em]
    Romania & & 0.0832 & & \\
    & & (0.0682) & & \\
    [1em]
    dauer\_c & & & 0.00474\sym{*}& 0.00518\sym{*}\\
    & & & (0.000684) & (0.000619) \\
    [1em]
    bnp2009\_c & & & -0.00182\sym{*}& -0.00167\sym{*}\\
    & & & (0.000337) & (0.000269) \\
    [1em]
    arbeit\_c & & & 0.00808\sym{*}& 0.00658\sym{*}\\
    & & & (0.00226) & (0.00193) \\
    [1em]
    euro & & & 0.181\sym{*}& 0.163\sym{*}\\
    & & & (0.0229) & (0.0182) \\
    [1em]
    DDIndex\_c & & & -0.0975\sym{*}& -0.0897\sym{*}\\
    & & & (0.0163) & (0.0146) \\
    [1em]
    postmat\_c & & & 0.00365 & \\
    & & & (0.0209) & \\
    [1em]
    Constant & 0.788\sym{*}& 0.721\sym{*}& 0.676\sym{*}& 0.656\sym{*}\\
    & (0.0161) & (0.0492) & (0.0209) & (0.0177) \\
    \hline
    Observations & 19666 & 19666 & 19666 & 24179 \\
    Adjusted \(R^{2}\) & 0.150 & 0.190 & 0.166 & 0.171 \\
    \hline\hline
    \multicolumn{5}{l}{\footnotesize Standard errors in parentheses}\\
    \multicolumn{5}{l}{\footnotesize \sym{+} \(p<0.10\), \sym{*} \(p<0.05\)}\\
    %\end{tabular}
    \end{longtable}
    
    \end{document}
    Und die Code-Umgebung hier kriegst Du, indem Du auf "#" klickst.

    Gruß,
    Alexander

  5. #5
    Registrierter Benutzer
    Registriert seit
    05.08.2008
    Beiträge
    15
    vielen vielen Dank schonmal für die Hilfe! ich bastel jetzt ein bisschen dran rum und hoffe, dass ich sie auch schön hinbekomme!

  6. #6
    Registrierter Benutzer
    Registriert seit
    31.03.2010
    Beiträge
    1.039
    Zitat Zitat von cookie170 Beitrag anzeigen
    Du hast jedenfalls übersehen, dass man innerhalb von longtable nicht nochmal eine Tabelle definiert!
    Nur, damit keine Missverständnisse aufkommen: Man kann innerhalb einer Tabellenzelle einer longtable natürlich durchaus wieder eine tabular verwenden. Nur muss einem klar sein, dass longtable eben innerhalb einer Tabellenzeile keinen Umbruch macht, also diese tabular dann als Teil einer Tabellenzeile der longtable dann komplett auf eine Seite gesetzt wird - selbst wenn sie da gar nicht ganz drauf passt.

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •