von likelihood » Mo 11. Mär 2013, 20:10
Liebe Ulrike,
ich habe den Code aus dem Link, den du geposted hast, einmal eingebaut. Leider tut sich da nichts. Das Problem besteht immer noch.
Der Code ist jetzt wie folgt:
\documentclass{article}
\usepackage{lscape}
\usepackage{longtable}
\usepackage[singlelinecheck=off]{caption}
\begin{document}
\begin{landscape}
\setlength\LTcapwidth{\textwidth}
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\begin{center}
{\small \begin{longtable}{@{\extracolsep{\fill}}|*{15}{lccccccc}}
\hline
& \multicolumn{7}{c}{Income} \\
Regressors & (1) & (2) & (3) & (4) & (5) & (6) & (7) \\
\hline
\endfirsthead
\multicolumn{8}{c}{\textit{Continued from previous page}} \\
\hline
& \multicolumn{7}{c}{Income} \\
Regressors & (1) & (2) & (3) & (4) & (5) & (6) & (7) \\
\hline
\endhead
\multicolumn{8}{c}{\textit{Continued on next page}} \\
\endfoot
\endlastfoot
Employment*Year & -0.15 & -0.15 & -0.17 & -0.12 & -0.18 & -0.21* & -0.04 \\
& (0.10) & (0.12) & (0.19) & (0.14) & (0.13) & (0.13) & (0.15) \\
Employment*Month & -0.04 & -0.00 & -0.14 & -0.13 & 0.07 & -0.16 & 0.21 \\
& (0.30) & (0.34) & (0.54) & (0.43) & (0.40) & (0.41) & (0.37) \\
\hline
Number of Observations & 110,301 & 85,829 & 24,472 & 50,285 & 60,016 & 83,894 & 26,407 \\
Number of Individuals & 13,136 & 10,956 & 2,180 & 6,345 & 6,791 & 10,001 & 3,135 \\
R2 & 0.03 & 0.04 & 0.03 & 0.03 & 0.04 & 0.04 & 0.03 \\
Adjusted R2 & 0.03 & 0.03 & 0.03 & 0.03 & 0.04 & 0.04 & 0.03 \\
\hline
\hline
\multicolumn{8}{c}{(1) Full Sample, (2) Old-Age Sub-Sample, (3) Young-Age Sub-Sample, (4) Female Sub-Sample, (5) Male Sub-Sample} \\
\multicolumn{8}{c}{(6) High-Income Sub-Sample, (7) Low-Income Sub-Sample} \\
\multicolumn{8}{c}{\textit{Standard errors in parantheses}} \\
\multicolumn{8}{c}{\textit{*** p\textless0.01, ** p\textless0.05, * p\textless0.1}} \\
\multicolumn{8}{l}{} \\
\multicolumn{8}{p{\linewidth}}{\textit{Note:} All regression equations include the demographic and human capital characteristics, as well as economic conditions and household characteristics of parents as controls. Moreover, they include the regressors of interest. All figures are rounded to two decimal places.} \\
\multicolumn{8}{l}{\textit{Source:} Own calculations} \\
\end{longtable}}
\end{center}
\end{landscape}
\end{document}
Ich muss allerdings auch zugeben, dass ich die Note aus Mangel an Wissen über Alternativen direkt in die Tabelle schreibe.
Wenn ich nach "latex longtable caption below" googele, finde ich viele Ergebnisse, die mit table und threeparttable arbeiten, aber nichts Direkts zu longtable. Wie würde man das denn professionell mit Tabellenunterschriften machen, wenn man diese nicht direkt in die Tabelle schreibt?
Viele Grüße aus Berlin,
Chris
Liebe Ulrike,
ich habe den Code aus dem Link, den du geposted hast, einmal eingebaut. Leider tut sich da nichts. Das Problem besteht immer noch.
Der Code ist jetzt wie folgt:
[code]
\documentclass{article}
\usepackage{lscape}
\usepackage{longtable}
\usepackage[singlelinecheck=off]{caption}
\begin{document}
\begin{landscape}
\setlength\LTcapwidth{\textwidth}
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\begin{center}
{\small \begin{longtable}{@{\extracolsep{\fill}}|*{15}{lccccccc}}
\hline
& \multicolumn{7}{c}{Income} \\
Regressors & (1) & (2) & (3) & (4) & (5) & (6) & (7) \\
\hline
\endfirsthead
\multicolumn{8}{c}{\textit{Continued from previous page}} \\
\hline
& \multicolumn{7}{c}{Income} \\
Regressors & (1) & (2) & (3) & (4) & (5) & (6) & (7) \\
\hline
\endhead
\multicolumn{8}{c}{\textit{Continued on next page}} \\
\endfoot
\endlastfoot
Employment*Year & -0.15 & -0.15 & -0.17 & -0.12 & -0.18 & -0.21* & -0.04 \\
& (0.10) & (0.12) & (0.19) & (0.14) & (0.13) & (0.13) & (0.15) \\
Employment*Month & -0.04 & -0.00 & -0.14 & -0.13 & 0.07 & -0.16 & 0.21 \\
& (0.30) & (0.34) & (0.54) & (0.43) & (0.40) & (0.41) & (0.37) \\
\hline
Number of Observations & 110,301 & 85,829 & 24,472 & 50,285 & 60,016 & 83,894 & 26,407 \\
Number of Individuals & 13,136 & 10,956 & 2,180 & 6,345 & 6,791 & 10,001 & 3,135 \\
R2 & 0.03 & 0.04 & 0.03 & 0.03 & 0.04 & 0.04 & 0.03 \\
Adjusted R2 & 0.03 & 0.03 & 0.03 & 0.03 & 0.04 & 0.04 & 0.03 \\
\hline
\hline
\multicolumn{8}{c}{(1) Full Sample, (2) Old-Age Sub-Sample, (3) Young-Age Sub-Sample, (4) Female Sub-Sample, (5) Male Sub-Sample} \\
\multicolumn{8}{c}{(6) High-Income Sub-Sample, (7) Low-Income Sub-Sample} \\
\multicolumn{8}{c}{\textit{Standard errors in parantheses}} \\
\multicolumn{8}{c}{\textit{*** p\textless0.01, ** p\textless0.05, * p\textless0.1}} \\
\multicolumn{8}{l}{} \\
\multicolumn{8}{p{\linewidth}}{\textit{Note:} All regression equations include the demographic and human capital characteristics, as well as economic conditions and household characteristics of parents as controls. Moreover, they include the regressors of interest. All figures are rounded to two decimal places.} \\
\multicolumn{8}{l}{\textit{Source:} Own calculations} \\
\end{longtable}}
\end{center}
\end{landscape}
\end{document}
[/code]
Ich muss allerdings auch zugeben, dass ich die Note aus Mangel an Wissen über Alternativen direkt in die Tabelle schreibe.
Wenn ich nach "latex longtable caption below" googele, finde ich viele Ergebnisse, die mit table und threeparttable arbeiten, aber nichts Direkts zu longtable. Wie würde man das denn professionell mit Tabellenunterschriften machen, wenn man diese nicht direkt in die Tabelle schreibt?
Viele Grüße aus Berlin,
Chris