Caption in landscape table, need help?Can anyone help me to adjust the following asterisks?tabu package - gaps in vertical linesTable - APA6 class - rotating (with caption and table notes)How to caption a longtable imported from a file by inputfile and use a smaller font?Paragraph between longtable title and main table?How to get a footer line in a longtableHow to get a “thousands” separator in `spreadtab` (wrapping `longtable`)?How to change the orientation of a Landscape Table in pdf filePlace long sidewaystable at the end of document(using endfloat with both sidewaystable/landscape and longtable)How to set longtable width to text width so that the text in cell wraps around automatically?Issues with footnotes using wrapping parbox with longtable, threeparttable and tablenotes

Using Python in a Bash Script

How can flights operated by the same company have such different prices when marketed by another?

Applying for mortgage when living together but only one will be on the mortgage

Difference between HCD and CID collision induced dissociations?

Adjective for when skills are not improving and I'm depressed about it

Is this mechanically safe?

How to structure presentation to avoid getting questions that will be answered later in the presentation?

Is Norway in the Single Market?

How do I safety check that there is no light in Darkroom / Darkbag?

Why do MS SQL Server SEQUENCEs not have an ORDER parameter like Oracle?

How does Asimov's second law deal with contradictory orders from different people?

Security measures that could plausibly last 150+ years?

Can I shorten this filter, that finds disk sizes over 100G?

Password management for kids - what's a good way to start?

Is there anyway to harden soft braised carrots?

Is the EU really banning "toxic propellants" in 2020? How is that going to work?

Can the additional attack from a Samurai's Rapid Strike have advantage?

Were there any unmanned expeditions to the moon that returned to Earth prior to Apollo?

Should 2FA be enabled on service accounts?

Should I put my name first or last in the team members list?

Why is “deal 6 damage” a legit phrase?

A coworker mumbles to herself when working. How can I ask her to stop?

Guidelines for writing a chord progression

Is it really a problem to declare that a visitor to the UK is my "girlfriend", in terms of her successfully getting a Standard Visitor visa?



Caption in landscape table, need help?


Can anyone help me to adjust the following asterisks?tabu package - gaps in vertical linesTable - APA6 class - rotating (with caption and table notes)How to caption a longtable imported from a file by inputfile and use a smaller font?Paragraph between longtable title and main table?How to get a footer line in a longtableHow to get a “thousands” separator in `spreadtab` (wrapping `longtable`)?How to change the orientation of a Landscape Table in pdf filePlace long sidewaystable at the end of document(using endfloat with both sidewaystable/landscape and longtable)How to set longtable width to text width so that the text in cell wraps around automatically?Issues with footnotes using wrapping parbox with longtable, threeparttable and tablenotes






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















Today is my second day to learn making table in latex. I am facing the following difficulty.



I have a landscape table looks like the following



enter image description here



I would my table looks like the one in the Journal of Finance, I demonstrate one example,



enter image description here



So there are two things I need some helps with.



  1. I want my table to span multiple pages, I tried longtable, but it does not really do what I want. Can anyone help me with that ??


  2. For the caption, I would like the Table 1: also in bold and large,as the one I showed in the published paper. And I want my caption span the textwidth, but I do not know-how.


  3. Which font the published paper used? If anyone can recognise it, can you change my font/font size to the one in the paper?


Thank you very much ! I am really struggling here. The following is my code:



documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagefootnote
usepackage[font=scriptsize]caption
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape,longtable,caption,lscape
begindocument
newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthLTleft-40pt
setlengthLTright-40pt
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
begintable[htbp]
centering
beginminipagetextwidth
captiontextbflargeThe Results of Future Abnormal Return\ This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
endminipage
begintabularll*8r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
Seller (NPV)&& -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \ & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
Seller (NPR) & & -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
Mom12=5 & & -0.002 & *** & -0.005 & *** & -0.005 & *** & -0.015 & *** & 0.000 & & 0.000 & & 0.003 & *** & 0.001 & \
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
Mom12=1 & & 0.002 & *** & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & *** & 0.005 & *** & 0.014 & *** & 0.038 & *** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
Mom24=5 & & -0.002 & *** & -0.008 & *** & -0.010 & *** & -0.021 & *** & -0.001 & & -0.004 & *** & -0.002 & ** & -0.003 & ** \
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
Mom24=1 & & 0.005 & *** & 0.004 & *** & 0.001 & & 0.001 & & 0.007 & *** & 0.011 & *** & 0.014 & *** & 0.030 & *** \
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
Overall & & 0.001 & *** & -0.004 & *** & -0.006 & *** & -0.010 & *** & 0.003 & *** & 0.002 & *** & 0.005 & *** & 0.014 & *** \
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endtabular
labeltab:addlabel
endtable
endlandscape
enddocument


Reference: Fama, E.F. & French, K.R. 2008, "Dissecting Anomalies", The Journal of Finance, vol. 63, no. 4, pp. 1653-1678










share|improve this question


























  • Your table is not only too tall for the landscape page but also too wide. Also, why are some of the asterisks in superscript while some aren't?

    – leandriis
    Jul 22 at 20:42











  • @leandriis Hi,leandriis. Thank you for your reply. Because today is my 2nd day to learn Latex, I have been spending hours online to "source" for a solution. So I wanted to do it by "trial-and-error" method. I might have loaded some useless stuff. Do not be bothered by asterisks, they are serving their purposes. It is significance level in short

    – veryBigman
    Jul 22 at 20:45

















4















Today is my second day to learn making table in latex. I am facing the following difficulty.



I have a landscape table looks like the following



enter image description here



I would my table looks like the one in the Journal of Finance, I demonstrate one example,



enter image description here



So there are two things I need some helps with.



  1. I want my table to span multiple pages, I tried longtable, but it does not really do what I want. Can anyone help me with that ??


  2. For the caption, I would like the Table 1: also in bold and large,as the one I showed in the published paper. And I want my caption span the textwidth, but I do not know-how.


  3. Which font the published paper used? If anyone can recognise it, can you change my font/font size to the one in the paper?


Thank you very much ! I am really struggling here. The following is my code:



documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagefootnote
usepackage[font=scriptsize]caption
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape,longtable,caption,lscape
begindocument
newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthLTleft-40pt
setlengthLTright-40pt
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
begintable[htbp]
centering
beginminipagetextwidth
captiontextbflargeThe Results of Future Abnormal Return\ This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
endminipage
begintabularll*8r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
Seller (NPV)&& -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \ & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
Seller (NPR) & & -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
Mom12=5 & & -0.002 & *** & -0.005 & *** & -0.005 & *** & -0.015 & *** & 0.000 & & 0.000 & & 0.003 & *** & 0.001 & \
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
Mom12=1 & & 0.002 & *** & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & *** & 0.005 & *** & 0.014 & *** & 0.038 & *** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
Mom24=5 & & -0.002 & *** & -0.008 & *** & -0.010 & *** & -0.021 & *** & -0.001 & & -0.004 & *** & -0.002 & ** & -0.003 & ** \
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
Mom24=1 & & 0.005 & *** & 0.004 & *** & 0.001 & & 0.001 & & 0.007 & *** & 0.011 & *** & 0.014 & *** & 0.030 & *** \
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
Overall & & 0.001 & *** & -0.004 & *** & -0.006 & *** & -0.010 & *** & 0.003 & *** & 0.002 & *** & 0.005 & *** & 0.014 & *** \
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endtabular
labeltab:addlabel
endtable
endlandscape
enddocument


Reference: Fama, E.F. & French, K.R. 2008, "Dissecting Anomalies", The Journal of Finance, vol. 63, no. 4, pp. 1653-1678










share|improve this question


























  • Your table is not only too tall for the landscape page but also too wide. Also, why are some of the asterisks in superscript while some aren't?

    – leandriis
    Jul 22 at 20:42











  • @leandriis Hi,leandriis. Thank you for your reply. Because today is my 2nd day to learn Latex, I have been spending hours online to "source" for a solution. So I wanted to do it by "trial-and-error" method. I might have loaded some useless stuff. Do not be bothered by asterisks, they are serving their purposes. It is significance level in short

    – veryBigman
    Jul 22 at 20:45













4












4








4








Today is my second day to learn making table in latex. I am facing the following difficulty.



I have a landscape table looks like the following



enter image description here



I would my table looks like the one in the Journal of Finance, I demonstrate one example,



enter image description here



So there are two things I need some helps with.



  1. I want my table to span multiple pages, I tried longtable, but it does not really do what I want. Can anyone help me with that ??


  2. For the caption, I would like the Table 1: also in bold and large,as the one I showed in the published paper. And I want my caption span the textwidth, but I do not know-how.


  3. Which font the published paper used? If anyone can recognise it, can you change my font/font size to the one in the paper?


Thank you very much ! I am really struggling here. The following is my code:



documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagefootnote
usepackage[font=scriptsize]caption
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape,longtable,caption,lscape
begindocument
newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthLTleft-40pt
setlengthLTright-40pt
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
begintable[htbp]
centering
beginminipagetextwidth
captiontextbflargeThe Results of Future Abnormal Return\ This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
endminipage
begintabularll*8r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
Seller (NPV)&& -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \ & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
Seller (NPR) & & -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
Mom12=5 & & -0.002 & *** & -0.005 & *** & -0.005 & *** & -0.015 & *** & 0.000 & & 0.000 & & 0.003 & *** & 0.001 & \
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
Mom12=1 & & 0.002 & *** & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & *** & 0.005 & *** & 0.014 & *** & 0.038 & *** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
Mom24=5 & & -0.002 & *** & -0.008 & *** & -0.010 & *** & -0.021 & *** & -0.001 & & -0.004 & *** & -0.002 & ** & -0.003 & ** \
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
Mom24=1 & & 0.005 & *** & 0.004 & *** & 0.001 & & 0.001 & & 0.007 & *** & 0.011 & *** & 0.014 & *** & 0.030 & *** \
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
Overall & & 0.001 & *** & -0.004 & *** & -0.006 & *** & -0.010 & *** & 0.003 & *** & 0.002 & *** & 0.005 & *** & 0.014 & *** \
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endtabular
labeltab:addlabel
endtable
endlandscape
enddocument


Reference: Fama, E.F. & French, K.R. 2008, "Dissecting Anomalies", The Journal of Finance, vol. 63, no. 4, pp. 1653-1678










share|improve this question
















Today is my second day to learn making table in latex. I am facing the following difficulty.



I have a landscape table looks like the following



enter image description here



I would my table looks like the one in the Journal of Finance, I demonstrate one example,



enter image description here



So there are two things I need some helps with.



  1. I want my table to span multiple pages, I tried longtable, but it does not really do what I want. Can anyone help me with that ??


  2. For the caption, I would like the Table 1: also in bold and large,as the one I showed in the published paper. And I want my caption span the textwidth, but I do not know-how.


  3. Which font the published paper used? If anyone can recognise it, can you change my font/font size to the one in the paper?


Thank you very much ! I am really struggling here. The following is my code:



documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagefootnote
usepackage[font=scriptsize]caption
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape,longtable,caption,lscape
begindocument
newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthLTleft-40pt
setlengthLTright-40pt
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
begintable[htbp]
centering
beginminipagetextwidth
captiontextbflargeThe Results of Future Abnormal Return\ This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
endminipage
begintabularll*8r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
Seller (NPV)&& -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \ & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
Seller (NPR) & & -0.007 & *** & -0.015 & *** & -0.020 & *** & -0.026 & *** & -0.003 & *** & -0.007 & *** & -0.009 & *** & -0.007 & *** \
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
Mom12=5 & & -0.002 & *** & -0.005 & *** & -0.005 & *** & -0.015 & *** & 0.000 & & 0.000 & & 0.003 & *** & 0.001 & \
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
Mom12=1 & & 0.002 & *** & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & *** & 0.005 & *** & 0.014 & *** & 0.038 & *** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
Mom24=5 & & -0.002 & *** & -0.008 & *** & -0.010 & *** & -0.021 & *** & -0.001 & & -0.004 & *** & -0.002 & ** & -0.003 & ** \
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
Mom24=1 & & 0.005 & *** & 0.004 & *** & 0.001 & & 0.001 & & 0.007 & *** & 0.011 & *** & 0.014 & *** & 0.030 & *** \
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
Overall & & 0.001 & *** & -0.004 & *** & -0.006 & *** & -0.010 & *** & 0.003 & *** & 0.002 & *** & 0.005 & *** & 0.014 & *** \
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endtabular
labeltab:addlabel
endtable
endlandscape
enddocument


Reference: Fama, E.F. & French, K.R. 2008, "Dissecting Anomalies", The Journal of Finance, vol. 63, no. 4, pp. 1653-1678







tables captions longtable






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 22 at 21:00









leandriis

17.6k1 gold badge11 silver badges37 bronze badges




17.6k1 gold badge11 silver badges37 bronze badges










asked Jul 22 at 20:15









veryBigmanveryBigman

858 bronze badges




858 bronze badges















  • Your table is not only too tall for the landscape page but also too wide. Also, why are some of the asterisks in superscript while some aren't?

    – leandriis
    Jul 22 at 20:42











  • @leandriis Hi,leandriis. Thank you for your reply. Because today is my 2nd day to learn Latex, I have been spending hours online to "source" for a solution. So I wanted to do it by "trial-and-error" method. I might have loaded some useless stuff. Do not be bothered by asterisks, they are serving their purposes. It is significance level in short

    – veryBigman
    Jul 22 at 20:45

















  • Your table is not only too tall for the landscape page but also too wide. Also, why are some of the asterisks in superscript while some aren't?

    – leandriis
    Jul 22 at 20:42











  • @leandriis Hi,leandriis. Thank you for your reply. Because today is my 2nd day to learn Latex, I have been spending hours online to "source" for a solution. So I wanted to do it by "trial-and-error" method. I might have loaded some useless stuff. Do not be bothered by asterisks, they are serving their purposes. It is significance level in short

    – veryBigman
    Jul 22 at 20:45
















Your table is not only too tall for the landscape page but also too wide. Also, why are some of the asterisks in superscript while some aren't?

– leandriis
Jul 22 at 20:42





Your table is not only too tall for the landscape page but also too wide. Also, why are some of the asterisks in superscript while some aren't?

– leandriis
Jul 22 at 20:42













@leandriis Hi,leandriis. Thank you for your reply. Because today is my 2nd day to learn Latex, I have been spending hours online to "source" for a solution. So I wanted to do it by "trial-and-error" method. I might have loaded some useless stuff. Do not be bothered by asterisks, they are serving their purposes. It is significance level in short

– veryBigman
Jul 22 at 20:45





@leandriis Hi,leandriis. Thank you for your reply. Because today is my 2nd day to learn Latex, I have been spending hours online to "source" for a solution. So I wanted to do it by "trial-and-error" method. I might have loaded some useless stuff. Do not be bothered by asterisks, they are serving their purposes. It is significance level in short

– veryBigman
Jul 22 at 20:45










3 Answers
3






active

oldest

votes


















7














Here is my suggestion using the longtable package:



documentclass[11pt,a4paper]article
usepackagebooktabs
usepackage[singlelinecheck=false, font=large, bf]caption
usepackagearray,lscape,longtable


begindocument
beginlandscape

setlengthtabcolsep5pt

beginlongtablell*8r@>$l<$
captionThe Results of Future Abnormal Returnlabeltab:addlabel\
multicolumn18@plinewidth@This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endfirsthead
captiontextbflargeThe Results of Future Abnormal Return - Continued \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\*
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Seller (NPV)&& -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \* & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \*
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \ addlinespace
Seller (NPR) & & -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \ addlinespace
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \*
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \ addlinespace
Mom12=5 & & -0.002 & ^*** & -0.005 & ^*** & -0.005 & ^*** & -0.015 & ^*** & 0.000 & & 0.000 & & 0.003 & ^*** & 0.001 & \*
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \*
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \ addlinespace
Mom12=1 & & 0.002 & ^*** & -0.002 & * & -0.001 & & 0.005 & ^** & 0.003 & ^*** & 0.005 & ^*** & 0.014 & ^*** & 0.038 & ^*** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \*
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \ addlinespace
Mom24=5 & & -0.002 & ^*** & -0.008 & ^*** & -0.010 & ^*** & -0.021 & ^*** & -0.001 & & -0.004 & ^*** & -0.002 & ^** & -0.003 & ^** \*
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \*
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \ addlinespace
Mom24=1 & & 0.005 & ^*** & 0.004 & ^*** & 0.001 & & 0.001 & & 0.007 & ^*** & 0.011 & ^*** & 0.014 & ^*** & 0.030 & ^*** \*
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \*
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \ addlinespace
Overall & & 0.001 & ^*** & -0.004 & ^*** & -0.006 & ^*** & -0.010 & ^*** & 0.003 & ^*** & 0.002 & ^*** & 0.005 & ^*** & 0.014 & ^*** \*
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \*
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endlongtable
endlandscape
enddocument


Personally, I'd suggest the usage of either dcolumn or siunitx to align the numbers in the table columns. I have not changed that in the above example.



enter image description here






share|improve this answer



























  • Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

    – veryBigman
    Jul 22 at 21:21












  • @veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

    – leandriis
    Jul 22 at 21:34











  • Thanks for the reference ! I appreciate your help!

    – veryBigman
    Jul 22 at 21:57


















7














Some off-topic refinement of your table ...



With correct use of longtable, S columns type defined in the siunitx package for numbers (and use only 9 columns, not 18 in your MWE), using your new command sym for designating numbers in table with * (on more consistent way), added "Continue on the next page" at bottom of table parts (except the last one), ...



documentclass[11pt,a4paper]article
usepackagemathtools
%usepackageamsmath load and superset with mathtool
usepackagefootnote
usepackage[font=bf,small]caption
% packages related to tables
usepackagebooktabs,
makecell,
% dcolumn,
longtable
%newcolumntyped[1]D..#1
usepackagesiunitx
defsym#1ensuremath^mathrlap#1
usepackagegraphicx,
rotating,
pdflscape

begindocument
beginlandscape
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
setlengthtabcolsep4pt

beginlongtable@ l*8 S[table-format=-3.5,
input-symbols=(-),
parse-numbers=false]
@
captionThe Results of Future Abnormal Return
labeltab:addlabel \

multicolumn9@ plinewidth @
This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endfirsthead
captionThe Results of Future Abnormal Return \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endhead
midrule
multicolumn9rfootnotesizeitshape
Continue on the next page
endfoot
bottomrule
endlastfoot
% table body
Purchaser (NPV)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.01sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.58) & (26.98) & (23.34) & (16.84)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,982 & 129,738 & 128,316 & 124,121
& 130,982 & 129,738 & 128,316 & 124,121 \
Purchaser (NPR)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.017sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.57) & (26.99) & (23.37) & (16.89)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,904 & 129,660 & 128,239 & 124,051
& 130,982 & 129,738 & 128,316 & 124,121 \
Seller (NPV)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \ & (-27.13) & (-35.89) & (-34.16) & (-31.93)
& (-13.05) & (-17.63) & (-15.62) & (-8.71) \
Count
& 300,988 & 297,590 & 291,807 & 278,807
& 300,988 & 297,590 & 291,807 & 278,807 \
Seller (NPR)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \
& (-27.16) & (-35.94) & (-34.19) & (-31.97)
& (-13.08) & (-17.68) & (-15.65) & (-8.76) \
Count
& 300,902 & 297,505 & 291,722 & 278,726
& 300,902 & 297,505 & 291,722 & 278,726 \
Mom12=5
& -0.002sym*** & -0.005sym*** & -0.005sym*** & -0.015sym***
& 0.000 & 0.000 & 0.003sym*** & 0.001 \
& (-3.54) & (-6.53) & (-4.65) & (-10.33)
& (0.88) & (-0.31) & (2.42) & (0.67) \
Count
& 102,749 & 101,378 & 99,148 & 94,324
& 102,749 & 101,378 & 99,148 & 94,324 \
Mom12=1
& 0.002sym*** & -0.002sym* & -0.001 & 0.005sym**
& 0.003sym*** & 0.005sym*** & 0.014sym*** & 0.038sym*** \
& (2.43) & (-1.55) & (-0.44) & (2.19)
& (4.17) & (3.67) & (7.59) & (14.87) \
Count
& 57,001 & 56,326 & 55,230 & 52,905
& 57,001 & 56,326 & 55,230 & 52,905 \
Mom24=5
& -0.002sym*** & -0.008sym*** & -0.010sym*** & -0.021sym***
& -0.001 & -0.004sym*** & -0.002sym** & -0.003sym** \
& (-4.52) & (-10.34) & (-9.60) & (-14.28)
& (-1.11) & (-4.67) & (-2.30) & (-2.08) \
Count
& 100,870 & 99,492 & 97,333 & 92,652
& 100,870 & 99,492 & 97,333 & 92,652 \
Mom24=1
& 0.005sym*** & 0.004sym*** & 0.001 & 0.001
& 0.007sym*** & 0.011sym*** & 0.014sym*** & 0.030sym*** \
& (5.64) & (2.84) & (0.55) & (0.52)
& (7.74) & (8.20) & (7.47) & (10.83) \
Count
& 48,490 & 47,999 & 47,176 & 45,153
& 48,490 & 47,999 & 47,176 & 45,153 \
Overall
& 0.001sym*** & -0.004sym*** & -0.006sym*** & -0.010sym***
& 0.003sym*** & 0.002sym*** & 0.005sym*** & 0.014sym*** \
& (2.32) & (-11.57) & (-12.01) & (-14.03)
& (11.82) & (6.10) & (10.12) & (18.43) \
Count
& 432,005 & 427,360 & 420,155 & 402,960
& 432,005 & 427,360 & 420,155 & 402,960 \
endlongtable
endlandscape
enddocument


enter image description here



enter image description here



note: it suffices to load each package only ones ...






share|improve this answer



























  • Thanks! I will learn from it as much as i can. Thanks for your tine

    – veryBigman
    Jul 22 at 21:56











  • you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

    – Zarko
    Jul 22 at 22:00



















5














Here is a variant with some improvements in the table layout, like a spacing between groups of rows, and using the xltabularenvironment, which brings the functionalities of longtable to tabularx. I also defined a more compact ‘three stars’ symbol (iiiast).



 documentclass[11pt,a4paper]article
usepackagegeometry
usepackagemathtools
usepackagebooktabs
usepackage[labelfont=footnotesize, bf,textfont =large, bf, labelsep=newline, justification=centering]caption
usepackagemakecell, graphicx, rotating, dcolumn, lscape
usepackagexltabular
newcommandiiiast,***

begindocument

newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
setlengthtabcolsep3pt
setlengthdefaultaddspace2ex
beginxltabularlinewidth @X@*8>$r<$@>$l<$@
captionThe Results of Future Abnormal Return \[3ex] parboxlinewidthnormalfontfootnotesize This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
labeltab:addlabel \
toprule
endfirsthead
multicolumn17cbfseriesfootnotesizetablename,thetable textnormal (continued) \[1ex]
toprule
& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
& multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
bottomrule
multicolumn17r@ footnotesize(to be continued)
endfoot
bottomrule
endlastfoot
Purchaser rlap(NPV)
&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Purchaser rlap(NPR) &0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Seller (NPV) & -0.007 & *** & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
addlinespace
Seller (NPR) & -0.007 & iiiast & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
addlinespace
Mom12=5 & -0.002 & iiiast & -0.005 & iiiast & -0.005 & iiiast & -0.015 & iiiast & 0.000 & & 0.000 & & 0.003 & iiiast & 0.001 & \
& (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) \
Count & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
addlinespace
Mom12=1 & 0.002 & iiiast & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & iiiast & 0.005 & iiiast & 0.014 & iiiast & 0.038 & iiiast \
& (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
addlinespace
Mom24=5 & -0.002 & iiiast & -0.008 & iiiast & -0.010 & iiiast & -0.021 & iiiast & -0.001 & & -0.004 & iiiast & -0.002 & ** & -0.003 & ** \
& (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
addlinespace
Mom24=1 & 0.005 & iiiast & 0.004 & iiiast & 0.001 & & 0.001 & & 0.007 & iiiast & 0.011 & iiiast & 0.014 & iiiast & 0.030 & iiiast \
& (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
addlinespace
Overall & 0.001 & iiiast & -0.004 & iiiast & -0.006 & iiiast & -0.010 & iiiast & 0.003 & iiiast & 0.002 & iiiast & 0.005 & iiiast & 0.014 & iiiast \
& (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &
endxltabular
endlandscape

enddocument


enter image description here






share|improve this answer



























  • Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

    – veryBigman
    Jul 23 at 5:45











  • I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

    – veryBigman
    Jul 23 at 5:55













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f501011%2fcaption-in-landscape-table-need-help%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














Here is my suggestion using the longtable package:



documentclass[11pt,a4paper]article
usepackagebooktabs
usepackage[singlelinecheck=false, font=large, bf]caption
usepackagearray,lscape,longtable


begindocument
beginlandscape

setlengthtabcolsep5pt

beginlongtablell*8r@>$l<$
captionThe Results of Future Abnormal Returnlabeltab:addlabel\
multicolumn18@plinewidth@This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endfirsthead
captiontextbflargeThe Results of Future Abnormal Return - Continued \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\*
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Seller (NPV)&& -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \* & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \*
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \ addlinespace
Seller (NPR) & & -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \ addlinespace
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \*
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \ addlinespace
Mom12=5 & & -0.002 & ^*** & -0.005 & ^*** & -0.005 & ^*** & -0.015 & ^*** & 0.000 & & 0.000 & & 0.003 & ^*** & 0.001 & \*
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \*
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \ addlinespace
Mom12=1 & & 0.002 & ^*** & -0.002 & * & -0.001 & & 0.005 & ^** & 0.003 & ^*** & 0.005 & ^*** & 0.014 & ^*** & 0.038 & ^*** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \*
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \ addlinespace
Mom24=5 & & -0.002 & ^*** & -0.008 & ^*** & -0.010 & ^*** & -0.021 & ^*** & -0.001 & & -0.004 & ^*** & -0.002 & ^** & -0.003 & ^** \*
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \*
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \ addlinespace
Mom24=1 & & 0.005 & ^*** & 0.004 & ^*** & 0.001 & & 0.001 & & 0.007 & ^*** & 0.011 & ^*** & 0.014 & ^*** & 0.030 & ^*** \*
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \*
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \ addlinespace
Overall & & 0.001 & ^*** & -0.004 & ^*** & -0.006 & ^*** & -0.010 & ^*** & 0.003 & ^*** & 0.002 & ^*** & 0.005 & ^*** & 0.014 & ^*** \*
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \*
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endlongtable
endlandscape
enddocument


Personally, I'd suggest the usage of either dcolumn or siunitx to align the numbers in the table columns. I have not changed that in the above example.



enter image description here






share|improve this answer



























  • Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

    – veryBigman
    Jul 22 at 21:21












  • @veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

    – leandriis
    Jul 22 at 21:34











  • Thanks for the reference ! I appreciate your help!

    – veryBigman
    Jul 22 at 21:57















7














Here is my suggestion using the longtable package:



documentclass[11pt,a4paper]article
usepackagebooktabs
usepackage[singlelinecheck=false, font=large, bf]caption
usepackagearray,lscape,longtable


begindocument
beginlandscape

setlengthtabcolsep5pt

beginlongtablell*8r@>$l<$
captionThe Results of Future Abnormal Returnlabeltab:addlabel\
multicolumn18@plinewidth@This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endfirsthead
captiontextbflargeThe Results of Future Abnormal Return - Continued \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\*
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Seller (NPV)&& -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \* & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \*
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \ addlinespace
Seller (NPR) & & -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \ addlinespace
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \*
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \ addlinespace
Mom12=5 & & -0.002 & ^*** & -0.005 & ^*** & -0.005 & ^*** & -0.015 & ^*** & 0.000 & & 0.000 & & 0.003 & ^*** & 0.001 & \*
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \*
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \ addlinespace
Mom12=1 & & 0.002 & ^*** & -0.002 & * & -0.001 & & 0.005 & ^** & 0.003 & ^*** & 0.005 & ^*** & 0.014 & ^*** & 0.038 & ^*** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \*
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \ addlinespace
Mom24=5 & & -0.002 & ^*** & -0.008 & ^*** & -0.010 & ^*** & -0.021 & ^*** & -0.001 & & -0.004 & ^*** & -0.002 & ^** & -0.003 & ^** \*
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \*
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \ addlinespace
Mom24=1 & & 0.005 & ^*** & 0.004 & ^*** & 0.001 & & 0.001 & & 0.007 & ^*** & 0.011 & ^*** & 0.014 & ^*** & 0.030 & ^*** \*
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \*
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \ addlinespace
Overall & & 0.001 & ^*** & -0.004 & ^*** & -0.006 & ^*** & -0.010 & ^*** & 0.003 & ^*** & 0.002 & ^*** & 0.005 & ^*** & 0.014 & ^*** \*
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \*
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endlongtable
endlandscape
enddocument


Personally, I'd suggest the usage of either dcolumn or siunitx to align the numbers in the table columns. I have not changed that in the above example.



enter image description here






share|improve this answer



























  • Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

    – veryBigman
    Jul 22 at 21:21












  • @veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

    – leandriis
    Jul 22 at 21:34











  • Thanks for the reference ! I appreciate your help!

    – veryBigman
    Jul 22 at 21:57













7












7








7







Here is my suggestion using the longtable package:



documentclass[11pt,a4paper]article
usepackagebooktabs
usepackage[singlelinecheck=false, font=large, bf]caption
usepackagearray,lscape,longtable


begindocument
beginlandscape

setlengthtabcolsep5pt

beginlongtablell*8r@>$l<$
captionThe Results of Future Abnormal Returnlabeltab:addlabel\
multicolumn18@plinewidth@This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endfirsthead
captiontextbflargeThe Results of Future Abnormal Return - Continued \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\*
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Seller (NPV)&& -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \* & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \*
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \ addlinespace
Seller (NPR) & & -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \ addlinespace
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \*
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \ addlinespace
Mom12=5 & & -0.002 & ^*** & -0.005 & ^*** & -0.005 & ^*** & -0.015 & ^*** & 0.000 & & 0.000 & & 0.003 & ^*** & 0.001 & \*
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \*
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \ addlinespace
Mom12=1 & & 0.002 & ^*** & -0.002 & * & -0.001 & & 0.005 & ^** & 0.003 & ^*** & 0.005 & ^*** & 0.014 & ^*** & 0.038 & ^*** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \*
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \ addlinespace
Mom24=5 & & -0.002 & ^*** & -0.008 & ^*** & -0.010 & ^*** & -0.021 & ^*** & -0.001 & & -0.004 & ^*** & -0.002 & ^** & -0.003 & ^** \*
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \*
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \ addlinespace
Mom24=1 & & 0.005 & ^*** & 0.004 & ^*** & 0.001 & & 0.001 & & 0.007 & ^*** & 0.011 & ^*** & 0.014 & ^*** & 0.030 & ^*** \*
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \*
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \ addlinespace
Overall & & 0.001 & ^*** & -0.004 & ^*** & -0.006 & ^*** & -0.010 & ^*** & 0.003 & ^*** & 0.002 & ^*** & 0.005 & ^*** & 0.014 & ^*** \*
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \*
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endlongtable
endlandscape
enddocument


Personally, I'd suggest the usage of either dcolumn or siunitx to align the numbers in the table columns. I have not changed that in the above example.



enter image description here






share|improve this answer















Here is my suggestion using the longtable package:



documentclass[11pt,a4paper]article
usepackagebooktabs
usepackage[singlelinecheck=false, font=large, bf]caption
usepackagearray,lscape,longtable


begindocument
beginlandscape

setlengthtabcolsep5pt

beginlongtablell*8r@>$l<$
captionThe Results of Future Abnormal Returnlabeltab:addlabel\
multicolumn18@plinewidth@This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endfirsthead
captiontextbflargeThe Results of Future Abnormal Return - Continued \
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\*
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\*
Count &&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\ addlinespace
Seller (NPV)&& -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \* & & (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \*
Count & & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \ addlinespace
Seller (NPR) & & -0.007 & ^*** & -0.015 & ^*** & -0.020 & ^*** & -0.026 & ^*** & -0.003 & ^*** & -0.007 & ^*** & -0.009 & ^*** & -0.007 & ^*** \ addlinespace
& & (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \*
Count & & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \ addlinespace
Mom12=5 & & -0.002 & ^*** & -0.005 & ^*** & -0.005 & ^*** & -0.015 & ^*** & 0.000 & & 0.000 & & 0.003 & ^*** & 0.001 & \*
& & (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) & \*
Count & & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \ addlinespace
Mom12=1 & & 0.002 & ^*** & -0.002 & * & -0.001 & & 0.005 & ^** & 0.003 & ^*** & 0.005 & ^*** & 0.014 & ^*** & 0.038 & ^*** \
& & (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \*
Count & & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \ addlinespace
Mom24=5 & & -0.002 & ^*** & -0.008 & ^*** & -0.010 & ^*** & -0.021 & ^*** & -0.001 & & -0.004 & ^*** & -0.002 & ^** & -0.003 & ^** \*
& & (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \*
Count & & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \ addlinespace
Mom24=1 & & 0.005 & ^*** & 0.004 & ^*** & 0.001 & & 0.001 & & 0.007 & ^*** & 0.011 & ^*** & 0.014 & ^*** & 0.030 & ^*** \*
& & (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \*
Count & & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \ addlinespace
Overall & & 0.001 & ^*** & -0.004 & ^*** & -0.006 & ^*** & -0.010 & ^*** & 0.003 & ^*** & 0.002 & ^*** & 0.005 & ^*** & 0.014 & ^*** \*
& & (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \*
Count & & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &\ bottomrule
endlongtable
endlandscape
enddocument


Personally, I'd suggest the usage of either dcolumn or siunitx to align the numbers in the table columns. I have not changed that in the above example.



enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 22 at 21:06

























answered Jul 22 at 21:00









leandriisleandriis

17.6k1 gold badge11 silver badges37 bronze badges




17.6k1 gold badge11 silver badges37 bronze badges















  • Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

    – veryBigman
    Jul 22 at 21:21












  • @veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

    – leandriis
    Jul 22 at 21:34











  • Thanks for the reference ! I appreciate your help!

    – veryBigman
    Jul 22 at 21:57

















  • Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

    – veryBigman
    Jul 22 at 21:21












  • @veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

    – leandriis
    Jul 22 at 21:34











  • Thanks for the reference ! I appreciate your help!

    – veryBigman
    Jul 22 at 21:57
















Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

– veryBigman
Jul 22 at 21:21






Yes Yes, this is exactly what I am looking for. Thank you very much! And, if it is not too much trouble, can you demonstrate the usage of dcolumn in my case and not modify the code you have posted (post a separate code). !!!! Thanks again

– veryBigman
Jul 22 at 21:21














@veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

– leandriis
Jul 22 at 21:34





@veryBigman: For an example on how to use the dcolumn package, you might want to have a look at Mico's answer to your previous question.

– leandriis
Jul 22 at 21:34













Thanks for the reference ! I appreciate your help!

– veryBigman
Jul 22 at 21:57





Thanks for the reference ! I appreciate your help!

– veryBigman
Jul 22 at 21:57













7














Some off-topic refinement of your table ...



With correct use of longtable, S columns type defined in the siunitx package for numbers (and use only 9 columns, not 18 in your MWE), using your new command sym for designating numbers in table with * (on more consistent way), added "Continue on the next page" at bottom of table parts (except the last one), ...



documentclass[11pt,a4paper]article
usepackagemathtools
%usepackageamsmath load and superset with mathtool
usepackagefootnote
usepackage[font=bf,small]caption
% packages related to tables
usepackagebooktabs,
makecell,
% dcolumn,
longtable
%newcolumntyped[1]D..#1
usepackagesiunitx
defsym#1ensuremath^mathrlap#1
usepackagegraphicx,
rotating,
pdflscape

begindocument
beginlandscape
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
setlengthtabcolsep4pt

beginlongtable@ l*8 S[table-format=-3.5,
input-symbols=(-),
parse-numbers=false]
@
captionThe Results of Future Abnormal Return
labeltab:addlabel \

multicolumn9@ plinewidth @
This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endfirsthead
captionThe Results of Future Abnormal Return \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endhead
midrule
multicolumn9rfootnotesizeitshape
Continue on the next page
endfoot
bottomrule
endlastfoot
% table body
Purchaser (NPV)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.01sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.58) & (26.98) & (23.34) & (16.84)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,982 & 129,738 & 128,316 & 124,121
& 130,982 & 129,738 & 128,316 & 124,121 \
Purchaser (NPR)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.017sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.57) & (26.99) & (23.37) & (16.89)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,904 & 129,660 & 128,239 & 124,051
& 130,982 & 129,738 & 128,316 & 124,121 \
Seller (NPV)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \ & (-27.13) & (-35.89) & (-34.16) & (-31.93)
& (-13.05) & (-17.63) & (-15.62) & (-8.71) \
Count
& 300,988 & 297,590 & 291,807 & 278,807
& 300,988 & 297,590 & 291,807 & 278,807 \
Seller (NPR)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \
& (-27.16) & (-35.94) & (-34.19) & (-31.97)
& (-13.08) & (-17.68) & (-15.65) & (-8.76) \
Count
& 300,902 & 297,505 & 291,722 & 278,726
& 300,902 & 297,505 & 291,722 & 278,726 \
Mom12=5
& -0.002sym*** & -0.005sym*** & -0.005sym*** & -0.015sym***
& 0.000 & 0.000 & 0.003sym*** & 0.001 \
& (-3.54) & (-6.53) & (-4.65) & (-10.33)
& (0.88) & (-0.31) & (2.42) & (0.67) \
Count
& 102,749 & 101,378 & 99,148 & 94,324
& 102,749 & 101,378 & 99,148 & 94,324 \
Mom12=1
& 0.002sym*** & -0.002sym* & -0.001 & 0.005sym**
& 0.003sym*** & 0.005sym*** & 0.014sym*** & 0.038sym*** \
& (2.43) & (-1.55) & (-0.44) & (2.19)
& (4.17) & (3.67) & (7.59) & (14.87) \
Count
& 57,001 & 56,326 & 55,230 & 52,905
& 57,001 & 56,326 & 55,230 & 52,905 \
Mom24=5
& -0.002sym*** & -0.008sym*** & -0.010sym*** & -0.021sym***
& -0.001 & -0.004sym*** & -0.002sym** & -0.003sym** \
& (-4.52) & (-10.34) & (-9.60) & (-14.28)
& (-1.11) & (-4.67) & (-2.30) & (-2.08) \
Count
& 100,870 & 99,492 & 97,333 & 92,652
& 100,870 & 99,492 & 97,333 & 92,652 \
Mom24=1
& 0.005sym*** & 0.004sym*** & 0.001 & 0.001
& 0.007sym*** & 0.011sym*** & 0.014sym*** & 0.030sym*** \
& (5.64) & (2.84) & (0.55) & (0.52)
& (7.74) & (8.20) & (7.47) & (10.83) \
Count
& 48,490 & 47,999 & 47,176 & 45,153
& 48,490 & 47,999 & 47,176 & 45,153 \
Overall
& 0.001sym*** & -0.004sym*** & -0.006sym*** & -0.010sym***
& 0.003sym*** & 0.002sym*** & 0.005sym*** & 0.014sym*** \
& (2.32) & (-11.57) & (-12.01) & (-14.03)
& (11.82) & (6.10) & (10.12) & (18.43) \
Count
& 432,005 & 427,360 & 420,155 & 402,960
& 432,005 & 427,360 & 420,155 & 402,960 \
endlongtable
endlandscape
enddocument


enter image description here



enter image description here



note: it suffices to load each package only ones ...






share|improve this answer



























  • Thanks! I will learn from it as much as i can. Thanks for your tine

    – veryBigman
    Jul 22 at 21:56











  • you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

    – Zarko
    Jul 22 at 22:00
















7














Some off-topic refinement of your table ...



With correct use of longtable, S columns type defined in the siunitx package for numbers (and use only 9 columns, not 18 in your MWE), using your new command sym for designating numbers in table with * (on more consistent way), added "Continue on the next page" at bottom of table parts (except the last one), ...



documentclass[11pt,a4paper]article
usepackagemathtools
%usepackageamsmath load and superset with mathtool
usepackagefootnote
usepackage[font=bf,small]caption
% packages related to tables
usepackagebooktabs,
makecell,
% dcolumn,
longtable
%newcolumntyped[1]D..#1
usepackagesiunitx
defsym#1ensuremath^mathrlap#1
usepackagegraphicx,
rotating,
pdflscape

begindocument
beginlandscape
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
setlengthtabcolsep4pt

beginlongtable@ l*8 S[table-format=-3.5,
input-symbols=(-),
parse-numbers=false]
@
captionThe Results of Future Abnormal Return
labeltab:addlabel \

multicolumn9@ plinewidth @
This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endfirsthead
captionThe Results of Future Abnormal Return \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endhead
midrule
multicolumn9rfootnotesizeitshape
Continue on the next page
endfoot
bottomrule
endlastfoot
% table body
Purchaser (NPV)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.01sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.58) & (26.98) & (23.34) & (16.84)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,982 & 129,738 & 128,316 & 124,121
& 130,982 & 129,738 & 128,316 & 124,121 \
Purchaser (NPR)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.017sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.57) & (26.99) & (23.37) & (16.89)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,904 & 129,660 & 128,239 & 124,051
& 130,982 & 129,738 & 128,316 & 124,121 \
Seller (NPV)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \ & (-27.13) & (-35.89) & (-34.16) & (-31.93)
& (-13.05) & (-17.63) & (-15.62) & (-8.71) \
Count
& 300,988 & 297,590 & 291,807 & 278,807
& 300,988 & 297,590 & 291,807 & 278,807 \
Seller (NPR)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \
& (-27.16) & (-35.94) & (-34.19) & (-31.97)
& (-13.08) & (-17.68) & (-15.65) & (-8.76) \
Count
& 300,902 & 297,505 & 291,722 & 278,726
& 300,902 & 297,505 & 291,722 & 278,726 \
Mom12=5
& -0.002sym*** & -0.005sym*** & -0.005sym*** & -0.015sym***
& 0.000 & 0.000 & 0.003sym*** & 0.001 \
& (-3.54) & (-6.53) & (-4.65) & (-10.33)
& (0.88) & (-0.31) & (2.42) & (0.67) \
Count
& 102,749 & 101,378 & 99,148 & 94,324
& 102,749 & 101,378 & 99,148 & 94,324 \
Mom12=1
& 0.002sym*** & -0.002sym* & -0.001 & 0.005sym**
& 0.003sym*** & 0.005sym*** & 0.014sym*** & 0.038sym*** \
& (2.43) & (-1.55) & (-0.44) & (2.19)
& (4.17) & (3.67) & (7.59) & (14.87) \
Count
& 57,001 & 56,326 & 55,230 & 52,905
& 57,001 & 56,326 & 55,230 & 52,905 \
Mom24=5
& -0.002sym*** & -0.008sym*** & -0.010sym*** & -0.021sym***
& -0.001 & -0.004sym*** & -0.002sym** & -0.003sym** \
& (-4.52) & (-10.34) & (-9.60) & (-14.28)
& (-1.11) & (-4.67) & (-2.30) & (-2.08) \
Count
& 100,870 & 99,492 & 97,333 & 92,652
& 100,870 & 99,492 & 97,333 & 92,652 \
Mom24=1
& 0.005sym*** & 0.004sym*** & 0.001 & 0.001
& 0.007sym*** & 0.011sym*** & 0.014sym*** & 0.030sym*** \
& (5.64) & (2.84) & (0.55) & (0.52)
& (7.74) & (8.20) & (7.47) & (10.83) \
Count
& 48,490 & 47,999 & 47,176 & 45,153
& 48,490 & 47,999 & 47,176 & 45,153 \
Overall
& 0.001sym*** & -0.004sym*** & -0.006sym*** & -0.010sym***
& 0.003sym*** & 0.002sym*** & 0.005sym*** & 0.014sym*** \
& (2.32) & (-11.57) & (-12.01) & (-14.03)
& (11.82) & (6.10) & (10.12) & (18.43) \
Count
& 432,005 & 427,360 & 420,155 & 402,960
& 432,005 & 427,360 & 420,155 & 402,960 \
endlongtable
endlandscape
enddocument


enter image description here



enter image description here



note: it suffices to load each package only ones ...






share|improve this answer



























  • Thanks! I will learn from it as much as i can. Thanks for your tine

    – veryBigman
    Jul 22 at 21:56











  • you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

    – Zarko
    Jul 22 at 22:00














7












7








7







Some off-topic refinement of your table ...



With correct use of longtable, S columns type defined in the siunitx package for numbers (and use only 9 columns, not 18 in your MWE), using your new command sym for designating numbers in table with * (on more consistent way), added "Continue on the next page" at bottom of table parts (except the last one), ...



documentclass[11pt,a4paper]article
usepackagemathtools
%usepackageamsmath load and superset with mathtool
usepackagefootnote
usepackage[font=bf,small]caption
% packages related to tables
usepackagebooktabs,
makecell,
% dcolumn,
longtable
%newcolumntyped[1]D..#1
usepackagesiunitx
defsym#1ensuremath^mathrlap#1
usepackagegraphicx,
rotating,
pdflscape

begindocument
beginlandscape
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
setlengthtabcolsep4pt

beginlongtable@ l*8 S[table-format=-3.5,
input-symbols=(-),
parse-numbers=false]
@
captionThe Results of Future Abnormal Return
labeltab:addlabel \

multicolumn9@ plinewidth @
This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endfirsthead
captionThe Results of Future Abnormal Return \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endhead
midrule
multicolumn9rfootnotesizeitshape
Continue on the next page
endfoot
bottomrule
endlastfoot
% table body
Purchaser (NPV)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.01sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.58) & (26.98) & (23.34) & (16.84)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,982 & 129,738 & 128,316 & 124,121
& 130,982 & 129,738 & 128,316 & 124,121 \
Purchaser (NPR)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.017sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.57) & (26.99) & (23.37) & (16.89)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,904 & 129,660 & 128,239 & 124,051
& 130,982 & 129,738 & 128,316 & 124,121 \
Seller (NPV)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \ & (-27.13) & (-35.89) & (-34.16) & (-31.93)
& (-13.05) & (-17.63) & (-15.62) & (-8.71) \
Count
& 300,988 & 297,590 & 291,807 & 278,807
& 300,988 & 297,590 & 291,807 & 278,807 \
Seller (NPR)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \
& (-27.16) & (-35.94) & (-34.19) & (-31.97)
& (-13.08) & (-17.68) & (-15.65) & (-8.76) \
Count
& 300,902 & 297,505 & 291,722 & 278,726
& 300,902 & 297,505 & 291,722 & 278,726 \
Mom12=5
& -0.002sym*** & -0.005sym*** & -0.005sym*** & -0.015sym***
& 0.000 & 0.000 & 0.003sym*** & 0.001 \
& (-3.54) & (-6.53) & (-4.65) & (-10.33)
& (0.88) & (-0.31) & (2.42) & (0.67) \
Count
& 102,749 & 101,378 & 99,148 & 94,324
& 102,749 & 101,378 & 99,148 & 94,324 \
Mom12=1
& 0.002sym*** & -0.002sym* & -0.001 & 0.005sym**
& 0.003sym*** & 0.005sym*** & 0.014sym*** & 0.038sym*** \
& (2.43) & (-1.55) & (-0.44) & (2.19)
& (4.17) & (3.67) & (7.59) & (14.87) \
Count
& 57,001 & 56,326 & 55,230 & 52,905
& 57,001 & 56,326 & 55,230 & 52,905 \
Mom24=5
& -0.002sym*** & -0.008sym*** & -0.010sym*** & -0.021sym***
& -0.001 & -0.004sym*** & -0.002sym** & -0.003sym** \
& (-4.52) & (-10.34) & (-9.60) & (-14.28)
& (-1.11) & (-4.67) & (-2.30) & (-2.08) \
Count
& 100,870 & 99,492 & 97,333 & 92,652
& 100,870 & 99,492 & 97,333 & 92,652 \
Mom24=1
& 0.005sym*** & 0.004sym*** & 0.001 & 0.001
& 0.007sym*** & 0.011sym*** & 0.014sym*** & 0.030sym*** \
& (5.64) & (2.84) & (0.55) & (0.52)
& (7.74) & (8.20) & (7.47) & (10.83) \
Count
& 48,490 & 47,999 & 47,176 & 45,153
& 48,490 & 47,999 & 47,176 & 45,153 \
Overall
& 0.001sym*** & -0.004sym*** & -0.006sym*** & -0.010sym***
& 0.003sym*** & 0.002sym*** & 0.005sym*** & 0.014sym*** \
& (2.32) & (-11.57) & (-12.01) & (-14.03)
& (11.82) & (6.10) & (10.12) & (18.43) \
Count
& 432,005 & 427,360 & 420,155 & 402,960
& 432,005 & 427,360 & 420,155 & 402,960 \
endlongtable
endlandscape
enddocument


enter image description here



enter image description here



note: it suffices to load each package only ones ...






share|improve this answer















Some off-topic refinement of your table ...



With correct use of longtable, S columns type defined in the siunitx package for numbers (and use only 9 columns, not 18 in your MWE), using your new command sym for designating numbers in table with * (on more consistent way), added "Continue on the next page" at bottom of table parts (except the last one), ...



documentclass[11pt,a4paper]article
usepackagemathtools
%usepackageamsmath load and superset with mathtool
usepackagefootnote
usepackage[font=bf,small]caption
% packages related to tables
usepackagebooktabs,
makecell,
% dcolumn,
longtable
%newcolumntyped[1]D..#1
usepackagesiunitx
defsym#1ensuremath^mathrlap#1
usepackagegraphicx,
rotating,
pdflscape

begindocument
beginlandscape
setlengthLTcapwidthlinewidth
setlengthextrarowheight1.5pt
setlengthtabcolsep4pt

beginlongtable@ l*8 S[table-format=-3.5,
input-symbols=(-),
parse-numbers=false]
@
captionThe Results of Future Abnormal Return
labeltab:addlabel \

multicolumn9@ plinewidth @
This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endfirsthead
captionThe Results of Future Abnormal Return \
toprule
& EW1M & EW3M & EW6M & EW12M & VW1M & VW3M & VW6M & VW12M \
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \
midrule
endhead
midrule
multicolumn9rfootnotesizeitshape
Continue on the next page
endfoot
bottomrule
endlastfoot
% table body
Purchaser (NPV)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.01sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.58) & (26.98) & (23.34) & (16.84)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,982 & 129,738 & 128,316 & 124,121
& 130,982 & 129,738 & 128,316 & 124,121 \
Purchaser (NPR)
& 0.019sym*** & 0.021sym*** & 0.025sym*** & 0.025sym***
& 0.017sym*** & 0.025sym*** & 0.038sym*** & 0.060sym*** \
& (36.57) & (26.99) & (23.37) & (16.89)
& (34.03) & (31.64) & (34.72) & (38.85) \
Count
& 130,904 & 129,660 & 128,239 & 124,051
& 130,982 & 129,738 & 128,316 & 124,121 \
Seller (NPV)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \ & (-27.13) & (-35.89) & (-34.16) & (-31.93)
& (-13.05) & (-17.63) & (-15.62) & (-8.71) \
Count
& 300,988 & 297,590 & 291,807 & 278,807
& 300,988 & 297,590 & 291,807 & 278,807 \
Seller (NPR)
& -0.007sym*** & -0.015sym*** & -0.020sym*** & -0.026sym***
& -0.003sym*** & -0.007sym*** & -0.009sym*** & -0.007sym*** \
& (-27.16) & (-35.94) & (-34.19) & (-31.97)
& (-13.08) & (-17.68) & (-15.65) & (-8.76) \
Count
& 300,902 & 297,505 & 291,722 & 278,726
& 300,902 & 297,505 & 291,722 & 278,726 \
Mom12=5
& -0.002sym*** & -0.005sym*** & -0.005sym*** & -0.015sym***
& 0.000 & 0.000 & 0.003sym*** & 0.001 \
& (-3.54) & (-6.53) & (-4.65) & (-10.33)
& (0.88) & (-0.31) & (2.42) & (0.67) \
Count
& 102,749 & 101,378 & 99,148 & 94,324
& 102,749 & 101,378 & 99,148 & 94,324 \
Mom12=1
& 0.002sym*** & -0.002sym* & -0.001 & 0.005sym**
& 0.003sym*** & 0.005sym*** & 0.014sym*** & 0.038sym*** \
& (2.43) & (-1.55) & (-0.44) & (2.19)
& (4.17) & (3.67) & (7.59) & (14.87) \
Count
& 57,001 & 56,326 & 55,230 & 52,905
& 57,001 & 56,326 & 55,230 & 52,905 \
Mom24=5
& -0.002sym*** & -0.008sym*** & -0.010sym*** & -0.021sym***
& -0.001 & -0.004sym*** & -0.002sym** & -0.003sym** \
& (-4.52) & (-10.34) & (-9.60) & (-14.28)
& (-1.11) & (-4.67) & (-2.30) & (-2.08) \
Count
& 100,870 & 99,492 & 97,333 & 92,652
& 100,870 & 99,492 & 97,333 & 92,652 \
Mom24=1
& 0.005sym*** & 0.004sym*** & 0.001 & 0.001
& 0.007sym*** & 0.011sym*** & 0.014sym*** & 0.030sym*** \
& (5.64) & (2.84) & (0.55) & (0.52)
& (7.74) & (8.20) & (7.47) & (10.83) \
Count
& 48,490 & 47,999 & 47,176 & 45,153
& 48,490 & 47,999 & 47,176 & 45,153 \
Overall
& 0.001sym*** & -0.004sym*** & -0.006sym*** & -0.010sym***
& 0.003sym*** & 0.002sym*** & 0.005sym*** & 0.014sym*** \
& (2.32) & (-11.57) & (-12.01) & (-14.03)
& (11.82) & (6.10) & (10.12) & (18.43) \
Count
& 432,005 & 427,360 & 420,155 & 402,960
& 432,005 & 427,360 & 420,155 & 402,960 \
endlongtable
endlandscape
enddocument


enter image description here



enter image description here



note: it suffices to load each package only ones ...







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 29 at 15:14

























answered Jul 22 at 21:55









ZarkoZarko

141k8 gold badges78 silver badges190 bronze badges




141k8 gold badges78 silver badges190 bronze badges















  • Thanks! I will learn from it as much as i can. Thanks for your tine

    – veryBigman
    Jul 22 at 21:56











  • you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

    – Zarko
    Jul 22 at 22:00


















  • Thanks! I will learn from it as much as i can. Thanks for your tine

    – veryBigman
    Jul 22 at 21:56











  • you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

    – Zarko
    Jul 22 at 22:00

















Thanks! I will learn from it as much as i can. Thanks for your tine

– veryBigman
Jul 22 at 21:56





Thanks! I will learn from it as much as i can. Thanks for your tine

– veryBigman
Jul 22 at 21:56













you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

– Zarko
Jul 22 at 22:00






you are welcome. see edited answer! and instead saying "thanks", you can up-vote answer :-)

– Zarko
Jul 22 at 22:00












5














Here is a variant with some improvements in the table layout, like a spacing between groups of rows, and using the xltabularenvironment, which brings the functionalities of longtable to tabularx. I also defined a more compact ‘three stars’ symbol (iiiast).



 documentclass[11pt,a4paper]article
usepackagegeometry
usepackagemathtools
usepackagebooktabs
usepackage[labelfont=footnotesize, bf,textfont =large, bf, labelsep=newline, justification=centering]caption
usepackagemakecell, graphicx, rotating, dcolumn, lscape
usepackagexltabular
newcommandiiiast,***

begindocument

newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
setlengthtabcolsep3pt
setlengthdefaultaddspace2ex
beginxltabularlinewidth @X@*8>$r<$@>$l<$@
captionThe Results of Future Abnormal Return \[3ex] parboxlinewidthnormalfontfootnotesize This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
labeltab:addlabel \
toprule
endfirsthead
multicolumn17cbfseriesfootnotesizetablename,thetable textnormal (continued) \[1ex]
toprule
& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
& multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
bottomrule
multicolumn17r@ footnotesize(to be continued)
endfoot
bottomrule
endlastfoot
Purchaser rlap(NPV)
&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Purchaser rlap(NPR) &0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Seller (NPV) & -0.007 & *** & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
addlinespace
Seller (NPR) & -0.007 & iiiast & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
addlinespace
Mom12=5 & -0.002 & iiiast & -0.005 & iiiast & -0.005 & iiiast & -0.015 & iiiast & 0.000 & & 0.000 & & 0.003 & iiiast & 0.001 & \
& (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) \
Count & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
addlinespace
Mom12=1 & 0.002 & iiiast & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & iiiast & 0.005 & iiiast & 0.014 & iiiast & 0.038 & iiiast \
& (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
addlinespace
Mom24=5 & -0.002 & iiiast & -0.008 & iiiast & -0.010 & iiiast & -0.021 & iiiast & -0.001 & & -0.004 & iiiast & -0.002 & ** & -0.003 & ** \
& (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
addlinespace
Mom24=1 & 0.005 & iiiast & 0.004 & iiiast & 0.001 & & 0.001 & & 0.007 & iiiast & 0.011 & iiiast & 0.014 & iiiast & 0.030 & iiiast \
& (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
addlinespace
Overall & 0.001 & iiiast & -0.004 & iiiast & -0.006 & iiiast & -0.010 & iiiast & 0.003 & iiiast & 0.002 & iiiast & 0.005 & iiiast & 0.014 & iiiast \
& (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &
endxltabular
endlandscape

enddocument


enter image description here






share|improve this answer



























  • Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

    – veryBigman
    Jul 23 at 5:45











  • I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

    – veryBigman
    Jul 23 at 5:55















5














Here is a variant with some improvements in the table layout, like a spacing between groups of rows, and using the xltabularenvironment, which brings the functionalities of longtable to tabularx. I also defined a more compact ‘three stars’ symbol (iiiast).



 documentclass[11pt,a4paper]article
usepackagegeometry
usepackagemathtools
usepackagebooktabs
usepackage[labelfont=footnotesize, bf,textfont =large, bf, labelsep=newline, justification=centering]caption
usepackagemakecell, graphicx, rotating, dcolumn, lscape
usepackagexltabular
newcommandiiiast,***

begindocument

newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
setlengthtabcolsep3pt
setlengthdefaultaddspace2ex
beginxltabularlinewidth @X@*8>$r<$@>$l<$@
captionThe Results of Future Abnormal Return \[3ex] parboxlinewidthnormalfontfootnotesize This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
labeltab:addlabel \
toprule
endfirsthead
multicolumn17cbfseriesfootnotesizetablename,thetable textnormal (continued) \[1ex]
toprule
& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
& multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
bottomrule
multicolumn17r@ footnotesize(to be continued)
endfoot
bottomrule
endlastfoot
Purchaser rlap(NPV)
&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Purchaser rlap(NPR) &0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Seller (NPV) & -0.007 & *** & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
addlinespace
Seller (NPR) & -0.007 & iiiast & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
addlinespace
Mom12=5 & -0.002 & iiiast & -0.005 & iiiast & -0.005 & iiiast & -0.015 & iiiast & 0.000 & & 0.000 & & 0.003 & iiiast & 0.001 & \
& (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) \
Count & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
addlinespace
Mom12=1 & 0.002 & iiiast & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & iiiast & 0.005 & iiiast & 0.014 & iiiast & 0.038 & iiiast \
& (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
addlinespace
Mom24=5 & -0.002 & iiiast & -0.008 & iiiast & -0.010 & iiiast & -0.021 & iiiast & -0.001 & & -0.004 & iiiast & -0.002 & ** & -0.003 & ** \
& (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
addlinespace
Mom24=1 & 0.005 & iiiast & 0.004 & iiiast & 0.001 & & 0.001 & & 0.007 & iiiast & 0.011 & iiiast & 0.014 & iiiast & 0.030 & iiiast \
& (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
addlinespace
Overall & 0.001 & iiiast & -0.004 & iiiast & -0.006 & iiiast & -0.010 & iiiast & 0.003 & iiiast & 0.002 & iiiast & 0.005 & iiiast & 0.014 & iiiast \
& (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &
endxltabular
endlandscape

enddocument


enter image description here






share|improve this answer



























  • Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

    – veryBigman
    Jul 23 at 5:45











  • I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

    – veryBigman
    Jul 23 at 5:55













5












5








5







Here is a variant with some improvements in the table layout, like a spacing between groups of rows, and using the xltabularenvironment, which brings the functionalities of longtable to tabularx. I also defined a more compact ‘three stars’ symbol (iiiast).



 documentclass[11pt,a4paper]article
usepackagegeometry
usepackagemathtools
usepackagebooktabs
usepackage[labelfont=footnotesize, bf,textfont =large, bf, labelsep=newline, justification=centering]caption
usepackagemakecell, graphicx, rotating, dcolumn, lscape
usepackagexltabular
newcommandiiiast,***

begindocument

newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
setlengthtabcolsep3pt
setlengthdefaultaddspace2ex
beginxltabularlinewidth @X@*8>$r<$@>$l<$@
captionThe Results of Future Abnormal Return \[3ex] parboxlinewidthnormalfontfootnotesize This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
labeltab:addlabel \
toprule
endfirsthead
multicolumn17cbfseriesfootnotesizetablename,thetable textnormal (continued) \[1ex]
toprule
& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
& multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
bottomrule
multicolumn17r@ footnotesize(to be continued)
endfoot
bottomrule
endlastfoot
Purchaser rlap(NPV)
&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Purchaser rlap(NPR) &0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Seller (NPV) & -0.007 & *** & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
addlinespace
Seller (NPR) & -0.007 & iiiast & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
addlinespace
Mom12=5 & -0.002 & iiiast & -0.005 & iiiast & -0.005 & iiiast & -0.015 & iiiast & 0.000 & & 0.000 & & 0.003 & iiiast & 0.001 & \
& (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) \
Count & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
addlinespace
Mom12=1 & 0.002 & iiiast & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & iiiast & 0.005 & iiiast & 0.014 & iiiast & 0.038 & iiiast \
& (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
addlinespace
Mom24=5 & -0.002 & iiiast & -0.008 & iiiast & -0.010 & iiiast & -0.021 & iiiast & -0.001 & & -0.004 & iiiast & -0.002 & ** & -0.003 & ** \
& (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
addlinespace
Mom24=1 & 0.005 & iiiast & 0.004 & iiiast & 0.001 & & 0.001 & & 0.007 & iiiast & 0.011 & iiiast & 0.014 & iiiast & 0.030 & iiiast \
& (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
addlinespace
Overall & 0.001 & iiiast & -0.004 & iiiast & -0.006 & iiiast & -0.010 & iiiast & 0.003 & iiiast & 0.002 & iiiast & 0.005 & iiiast & 0.014 & iiiast \
& (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &
endxltabular
endlandscape

enddocument


enter image description here






share|improve this answer















Here is a variant with some improvements in the table layout, like a spacing between groups of rows, and using the xltabularenvironment, which brings the functionalities of longtable to tabularx. I also defined a more compact ‘three stars’ symbol (iiiast).



 documentclass[11pt,a4paper]article
usepackagegeometry
usepackagemathtools
usepackagebooktabs
usepackage[labelfont=footnotesize, bf,textfont =large, bf, labelsep=newline, justification=centering]caption
usepackagemakecell, graphicx, rotating, dcolumn, lscape
usepackagexltabular
newcommandiiiast,***

begindocument

newcolumntyped[1]D..#1
captionsetupfont=footnotesize
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
setlengthtabcolsep3pt
setlengthdefaultaddspace2ex
beginxltabularlinewidth @X@*8>$r<$@>$l<$@
captionThe Results of Future Abnormal Return \[3ex] parboxlinewidthnormalfontfootnotesize This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the This table reports the
labeltab:addlabel \
toprule
endfirsthead
multicolumn17cbfseriesfootnotesizetablename,thetable textnormal (continued) \[1ex]
toprule
& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
& multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
endhead
bottomrule
multicolumn17r@ footnotesize(to be continued)
endfoot
bottomrule
endlastfoot
Purchaser rlap(NPV)
&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Purchaser rlap(NPR) &0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^*** \
&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85) \
Count &130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121 \
addlinespace
Seller (NPV) & -0.007 & *** & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.13) & & (-35.89) & & (-34.16) & & (-31.93) & & (-13.05) & & (-17.63) & & (-15.62) & & (-8.71) & \
Count & 300,988 & & 297,590 & & 291,807 & & 278,807 & & 300,988 & & 297,590 & & 291,807 & & 278,807 & \
addlinespace
Seller (NPR) & -0.007 & iiiast & -0.015 & iiiast & -0.020 & iiiast & -0.026 & iiiast & -0.003 & iiiast & -0.007 & iiiast & -0.009 & iiiast & -0.007 & iiiast \
& (-27.16) & & (-35.94) & & (-34.19) & & (-31.97) & & (-13.08) & & (-17.68) & & (-15.65) & & (-8.76) & \
Count & 300,902 & & 297,505 & & 291,722 & & 278,726 & & 300,902 & & 297,505 & & 291,722 & & 278,726 & \
addlinespace
Mom12=5 & -0.002 & iiiast & -0.005 & iiiast & -0.005 & iiiast & -0.015 & iiiast & 0.000 & & 0.000 & & 0.003 & iiiast & 0.001 & \
& (-3.54) & & (-6.53) & & (-4.65) & & (-10.33) & & (0.88) & & (-0.31) & & (2.42) & & (0.67) \
Count & 102,749 & & 101,378 & & 99,148 & & 94,324 & & 102,749 & & 101,378 & & 99,148 & & 94,324 & \
addlinespace
Mom12=1 & 0.002 & iiiast & -0.002 & * & -0.001 & & 0.005 & ** & 0.003 & iiiast & 0.005 & iiiast & 0.014 & iiiast & 0.038 & iiiast \
& (2.43) & & (-1.55) & & (-0.44) & & (2.19) & & (4.17) & & (3.67) & & (7.59) & & (14.87) & \
Count & 57,001 & & 56,326 & & 55,230 & & 52,905 & & 57,001 & & 56,326 & & 55,230 & & 52,905 & \
addlinespace
Mom24=5 & -0.002 & iiiast & -0.008 & iiiast & -0.010 & iiiast & -0.021 & iiiast & -0.001 & & -0.004 & iiiast & -0.002 & ** & -0.003 & ** \
& (-4.52) & & (-10.34) & & (-9.60) & & (-14.28) & & (-1.11) & & (-4.67) & & (-2.30) & & (-2.08) & \
Count & 100,870 & & 99,492 & & 97,333 & & 92,652 & & 100,870 & & 99,492 & & 97,333 & & 92,652 & \
addlinespace
Mom24=1 & 0.005 & iiiast & 0.004 & iiiast & 0.001 & & 0.001 & & 0.007 & iiiast & 0.011 & iiiast & 0.014 & iiiast & 0.030 & iiiast \
& (5.64) & & (2.84) & & (0.55) & & (0.52) & & (7.74) & & (8.20) & & (7.47) & & (10.83) & \
Count & 48,490 & & 47,999 & & 47,176 & & 45,153 & & 48,490 & & 47,999 & & 47,176 & & 45,153 & \
addlinespace
Overall & 0.001 & iiiast & -0.004 & iiiast & -0.006 & iiiast & -0.010 & iiiast & 0.003 & iiiast & 0.002 & iiiast & 0.005 & iiiast & 0.014 & iiiast \
& (2.32) & & (-11.57) & & (-12.01) & & (-14.03) & & (11.82) & & (6.10) & & (10.12) & & (18.43) & \
Count & 432,005 & & 427,360 & & 420,155 & & 402,960 & & 432,005 & & 427,360 & & 420,155 & & 402,960 &
endxltabular
endlandscape

enddocument


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 23 at 20:46

























answered Jul 22 at 22:59









BernardBernard

186k7 gold badges84 silver badges220 bronze badges




186k7 gold badges84 silver badges220 bronze badges















  • Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

    – veryBigman
    Jul 23 at 5:45











  • I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

    – veryBigman
    Jul 23 at 5:55

















  • Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

    – veryBigman
    Jul 23 at 5:45











  • I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

    – veryBigman
    Jul 23 at 5:55
















Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

– veryBigman
Jul 23 at 5:45





Thanks for your reply Bernard. I went to bed yesterday. I am learning your method right now.

– veryBigman
Jul 23 at 5:45













I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

– veryBigman
Jul 23 at 5:55





I learnt so much from your answer, this is very helpful! Let me express my gratitude again.

– veryBigman
Jul 23 at 5:55

















draft saved

draft discarded
















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f501011%2fcaption-in-landscape-table-need-help%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림