Fitting large table to single pagetabu package - gaps in vertical linesFitting a huge table in one pageFitting table to the whole pageHow to get a “thousands” separator in `spreadtab` (wrapping `longtable`)?Fit a table in a single pageFit large table onto pageLong table with varying columns (landscape and page fitting)Fitting large table after using Excel2LatexFitting full table on page in LatexTable not fitting onto page

What kind of Chinook helicopter/airplane hybrid is this?

As a supervisor, what feedback would you expect from a PhD who quits?

Chilling water in copper vessel

Is homosexuality or bisexuality allowed for women?

Why did Robert F. Kennedy loathe Lyndon B. Johnson?

Moving millions of files to a different directory with specfic name patterns

Blocks from @ jafe

Is it okay to use open source code to do an interview task?

Write a function

Curly braces adjustment in tikz?

Why the Cauchy Distribution is so useful?

Is "wissen" the only verb in German to have an irregular present tense?

Users forgotting to regenerate PDF before sending it

How do ballistic trajectories work in a ring world?

Why did Old English lose both thorn and eth?

Why won't the U.S. sign a peace treaty with North Korea?

Wires do not connect in Circuitikz

How do I talk to my wife about unrealistic expectations?

Findminimum of Integral

Interpretation of non-significant results as "trends"

Gory anime with pink haired girl escaping an asylum

Would denouncing cheaters from an exam make me less likely to receive penalties?

Is this really the Saturn V computer only, or are there other systems here as well?

How do I explain that I don't want to maintain old projects?



Fitting large table to single page


tabu package - gaps in vertical linesFitting a huge table in one pageFitting table to the whole pageHow to get a “thousands” separator in `spreadtab` (wrapping `longtable`)?Fit a table in a single pageFit large table onto pageLong table with varying columns (landscape and page fitting)Fitting large table after using Excel2LatexFitting full table on page in LatexTable not fitting onto page






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








5















I am trying to ensure that the below table fits into one page. I am fine if the font is smaller. I have already tried changing the font, but it didn't work well. Here is what I have so far:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
small setlengthtabcolsep4pt
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip

centering
begintabular@lcccccc@
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular

endtable



enddocument


Thanks in advance for any suggestions.










share|improve this question






















  • I have to give credit to @leandriis who was super helpful with the previous posts regarding this table.

    – Job
    Jun 29 at 4:56






  • 1





    With tiny instead of small it fits the page, but are you sure to have it on one page only?

    – CarLaTeX
    Jun 29 at 5:10











  • Thanks @CarLaTeX . That makes the table extremely small, that's true. Is there a way to break it down into two pages where it continues?

    – Job
    Jun 29 at 5:16







  • 1





    @CarLaTeX, I have seen some tables were some parts of it move to the next page. So that would also be an alternative solution.

    – Job
    Jun 29 at 5:18







  • 1





    I'll post an answer with a longtable (if someone else doesn't do it before me)

    – CarLaTeX
    Jun 29 at 5:20

















5















I am trying to ensure that the below table fits into one page. I am fine if the font is smaller. I have already tried changing the font, but it didn't work well. Here is what I have so far:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
small setlengthtabcolsep4pt
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip

centering
begintabular@lcccccc@
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular

endtable



enddocument


Thanks in advance for any suggestions.










share|improve this question






















  • I have to give credit to @leandriis who was super helpful with the previous posts regarding this table.

    – Job
    Jun 29 at 4:56






  • 1





    With tiny instead of small it fits the page, but are you sure to have it on one page only?

    – CarLaTeX
    Jun 29 at 5:10











  • Thanks @CarLaTeX . That makes the table extremely small, that's true. Is there a way to break it down into two pages where it continues?

    – Job
    Jun 29 at 5:16







  • 1





    @CarLaTeX, I have seen some tables were some parts of it move to the next page. So that would also be an alternative solution.

    – Job
    Jun 29 at 5:18







  • 1





    I'll post an answer with a longtable (if someone else doesn't do it before me)

    – CarLaTeX
    Jun 29 at 5:20













5












5








5








I am trying to ensure that the below table fits into one page. I am fine if the font is smaller. I have already tried changing the font, but it didn't work well. Here is what I have so far:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
small setlengthtabcolsep4pt
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip

centering
begintabular@lcccccc@
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular

endtable



enddocument


Thanks in advance for any suggestions.










share|improve this question














I am trying to ensure that the below table fits into one page. I am fine if the font is smaller. I have already tried changing the font, but it didn't work well. Here is what I have so far:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
small setlengthtabcolsep4pt
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip

centering
begintabular@lcccccc@
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular

endtable



enddocument


Thanks in advance for any suggestions.







tables formatting longtable fontsize tabularx






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 29 at 4:55









JobJob

851 silver badge8 bronze badges




851 silver badge8 bronze badges












  • I have to give credit to @leandriis who was super helpful with the previous posts regarding this table.

    – Job
    Jun 29 at 4:56






  • 1





    With tiny instead of small it fits the page, but are you sure to have it on one page only?

    – CarLaTeX
    Jun 29 at 5:10











  • Thanks @CarLaTeX . That makes the table extremely small, that's true. Is there a way to break it down into two pages where it continues?

    – Job
    Jun 29 at 5:16







  • 1





    @CarLaTeX, I have seen some tables were some parts of it move to the next page. So that would also be an alternative solution.

    – Job
    Jun 29 at 5:18







  • 1





    I'll post an answer with a longtable (if someone else doesn't do it before me)

    – CarLaTeX
    Jun 29 at 5:20

















  • I have to give credit to @leandriis who was super helpful with the previous posts regarding this table.

    – Job
    Jun 29 at 4:56






  • 1





    With tiny instead of small it fits the page, but are you sure to have it on one page only?

    – CarLaTeX
    Jun 29 at 5:10











  • Thanks @CarLaTeX . That makes the table extremely small, that's true. Is there a way to break it down into two pages where it continues?

    – Job
    Jun 29 at 5:16







  • 1





    @CarLaTeX, I have seen some tables were some parts of it move to the next page. So that would also be an alternative solution.

    – Job
    Jun 29 at 5:18







  • 1





    I'll post an answer with a longtable (if someone else doesn't do it before me)

    – CarLaTeX
    Jun 29 at 5:20
















I have to give credit to @leandriis who was super helpful with the previous posts regarding this table.

– Job
Jun 29 at 4:56





I have to give credit to @leandriis who was super helpful with the previous posts regarding this table.

– Job
Jun 29 at 4:56




1




1





With tiny instead of small it fits the page, but are you sure to have it on one page only?

– CarLaTeX
Jun 29 at 5:10





With tiny instead of small it fits the page, but are you sure to have it on one page only?

– CarLaTeX
Jun 29 at 5:10













Thanks @CarLaTeX . That makes the table extremely small, that's true. Is there a way to break it down into two pages where it continues?

– Job
Jun 29 at 5:16






Thanks @CarLaTeX . That makes the table extremely small, that's true. Is there a way to break it down into two pages where it continues?

– Job
Jun 29 at 5:16





1




1





@CarLaTeX, I have seen some tables were some parts of it move to the next page. So that would also be an alternative solution.

– Job
Jun 29 at 5:18






@CarLaTeX, I have seen some tables were some parts of it move to the next page. So that would also be an alternative solution.

– Job
Jun 29 at 5:18





1




1





I'll post an answer with a longtable (if someone else doesn't do it before me)

– CarLaTeX
Jun 29 at 5:20





I'll post an answer with a longtable (if someone else doesn't do it before me)

– CarLaTeX
Jun 29 at 5:20










3 Answers
3






active

oldest

votes


















3














Mico was quicker than me, however, this is my solution:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
captionsetupfont=large
usepackagearray
newcolumntypeM[1]>raggedrightm#1
usepackagebooktabs
usepackagemakecell
usepackagelongtable

begindocument
beginlongtable@M8emcccccc@
captionDescription\[-1.5ex]
multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level.
\[8ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endfirsthead
multicolumn7@l@continues from the previous page\
midrule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endhead
midrule
multicolumn7@r@continues on the next page
endfoot
bottomrule
endlastfoot
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
midrule
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\
endlongtable

enddocument


enter image description hereenter image description here






share|improve this answer

























  • Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

    – Job
    Jun 29 at 8:12







  • 1





    @Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

    – CarLaTeX
    Jun 29 at 8:33












  • Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

    – Job
    Jun 29 at 12:26






  • 1





    @Job You're welcome. You're very nice. Thank you for accepting my answer.

    – CarLaTeX
    Jun 29 at 12:27











  • your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

    – Job
    Jun 29 at 12:28


















3














Currently, your table is both too wide and too tall for the page.



  • Unless you're willing to switch to an extremely small font size (which I would not recommend!), you need to enable a page break somewhere in the table. Since table and tabular environments cannot be broken across pages, I suggest you switch to a longtable environment.


  • Moreover, in order to get the table to fit horizontally, I suggest you use a (modified form of the) p column type instead of c or l for the first column. Once you make this adjustment, it's no longer necessary to switch to small for the entire table.


  • In addition, I wouldn't use the c column type for the six data columns: Since much of the data consists of numbers, it would seem very important to align them on their respective decimal markers. Load the dcolumn package and use its D column type to achieve this type of alignment.


  • I would also do away with the addlinespace directives: They don't seem to be all that necessary or helpful, visually/aesthetically speaking.


The following screenshot shows just the first few lines of the table. (Note that I've taken the explanatory paragraph out of the longtable material.) Keep in mind that it's often necessary to compile a longtable two or three times before it looks right.



enter image description here



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption,booktabs
usepackagelongtable,ragged2e,dcolumn
newcolumntypeL[1]>RaggedRighthangindent1empmylen
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % useful shorthand macro
newlengthmylen
settowidthmylenFraction of Profit All, % width of header column
begindocument

The following table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses.

begingroup % localize scope of the next few instructions
setlengthtabcolsep4pt
captionsetupskip=0.333baselineskip,font=normalsize
beginlongtable@ Lmylen *6d2.6 @
captionDescription\

multicolumn7@lfootnotesize * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \[1ex]

toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endfirsthead

multicolumn7@lfootnotesize Table thetable, cont'd\[1ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endhead

midrule
multicolumn7r@footnotesize Cont'd on following page\
endfoot

bottomrule
endlastfoot

Single & 0.195^***& 0.219^***& 0.149^***& 0.324^***& 0.313^***& 0.196^***\
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ %addlinespace
Employed & 0.222^***& 0.231^***& 0.156^***& 0.365^***& 0.359^***& 0.251^***\
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ %addlinespace
1 Place & & & 0.0551^***& & & 0.0628^***\
& & & (0.00606) & & & (0.00791) \ %addlinespace
2 Place & & & 0.0382^***& & & 0.0554^***\
& & & (0.00760) & & & (0.0106) \ %addlinespace
3 Place & & & 0.0266^***& & & 0.0428^***\
& & & (0.00900) & & & (0.0124) \ %addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ %addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ %addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ %addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ %addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ %addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ %addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ %addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ %addlinespace
New Indicator & & & -0.122^***& & & -0.153^***\
& & & (0.00938) & & & (0.0136) \ %addlinespace
Other Indicator & & & -0.0563^***& & & -0.0966^***\
& & & (0.00752) & & & (0.0101) \ %addlinespace
Fraction of Profit All, & & & 0.171^***& & & 0.230^***\
quad City-Level & & & (0.0166) & & & (0.0193) \ %addlinespace
Fraction of Profit All & & & 0.107^***& & & \
& & & (0.0139) & & & \ %addlinespace
Log(Population) & & & 0.304^***& & & 0.342^***\
& & & (0.105) & & & (0.122) \ %addlinespace
Log(GDP per capita) & & & 0.365^***& & & 0.306^***\
& & & (0.0991) & & & (0.106) \ %addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter~FE & & mcX & mcX & & mcX & mcX \ %addlinespace
Year-Month FE & mcX& mcX& mcX& mcX& mcX& mcX\ %addlinespace
City-State FE & mcX & mcX & mcX & & & \ %addlinespace
State FE & & & & mcX& mcX& mcX \ %addlinespace
midrule
Observations & mc1,237,878 & mc1,237,878 & mc1,209,791 & mc262,534 & mc262,534 & mc255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & mc46510 & mc46510 & mc45244 & & & \
Number of States & & & & mc7190 & mc7190 & mc6911\

endlongtable
endgroup

enddocument





share|improve this answer























  • That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

    – Job
    Jun 29 at 8:10











  • I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

    – Job
    Jun 29 at 8:32






  • 1





    @Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

    – Mico
    Jun 29 at 8:42







  • 1





    @Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

    – Mico
    Jun 29 at 8:54












  • Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

    – Job
    Jun 29 at 12:25


















2














I've modified arraystretch and the fontsize, please refer the below:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip
centeringscriptsize%
setlengthtabcolsep4pt%
renewcommandarraystretch0.75%
begintabular*textwidth@extracolsepfilllcccccc@extracolsepfill
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular*

endtable



enddocument





share|improve this answer




















  • 1





    @Job Oops...Please remove the package showframe and then try....

    – MadyYuvi
    Jun 29 at 5:32






  • 2





    I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

    – Mico
    Jun 29 at 5:55







  • 1





    @Mico I agreed, shall I correct this?

    – MadyYuvi
    Jun 29 at 5:57






  • 2





    No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

    – Mico
    Jun 29 at 6:00






  • 2





    @Mico Fine and I'll leave as is....

    – MadyYuvi
    Jun 29 at 6:07













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%2f497900%2ffitting-large-table-to-single-page%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









3














Mico was quicker than me, however, this is my solution:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
captionsetupfont=large
usepackagearray
newcolumntypeM[1]>raggedrightm#1
usepackagebooktabs
usepackagemakecell
usepackagelongtable

begindocument
beginlongtable@M8emcccccc@
captionDescription\[-1.5ex]
multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level.
\[8ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endfirsthead
multicolumn7@l@continues from the previous page\
midrule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endhead
midrule
multicolumn7@r@continues on the next page
endfoot
bottomrule
endlastfoot
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
midrule
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\
endlongtable

enddocument


enter image description hereenter image description here






share|improve this answer

























  • Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

    – Job
    Jun 29 at 8:12







  • 1





    @Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

    – CarLaTeX
    Jun 29 at 8:33












  • Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

    – Job
    Jun 29 at 12:26






  • 1





    @Job You're welcome. You're very nice. Thank you for accepting my answer.

    – CarLaTeX
    Jun 29 at 12:27











  • your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

    – Job
    Jun 29 at 12:28















3














Mico was quicker than me, however, this is my solution:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
captionsetupfont=large
usepackagearray
newcolumntypeM[1]>raggedrightm#1
usepackagebooktabs
usepackagemakecell
usepackagelongtable

begindocument
beginlongtable@M8emcccccc@
captionDescription\[-1.5ex]
multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level.
\[8ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endfirsthead
multicolumn7@l@continues from the previous page\
midrule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endhead
midrule
multicolumn7@r@continues on the next page
endfoot
bottomrule
endlastfoot
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
midrule
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\
endlongtable

enddocument


enter image description hereenter image description here






share|improve this answer

























  • Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

    – Job
    Jun 29 at 8:12







  • 1





    @Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

    – CarLaTeX
    Jun 29 at 8:33












  • Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

    – Job
    Jun 29 at 12:26






  • 1





    @Job You're welcome. You're very nice. Thank you for accepting my answer.

    – CarLaTeX
    Jun 29 at 12:27











  • your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

    – Job
    Jun 29 at 12:28













3












3








3







Mico was quicker than me, however, this is my solution:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
captionsetupfont=large
usepackagearray
newcolumntypeM[1]>raggedrightm#1
usepackagebooktabs
usepackagemakecell
usepackagelongtable

begindocument
beginlongtable@M8emcccccc@
captionDescription\[-1.5ex]
multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level.
\[8ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endfirsthead
multicolumn7@l@continues from the previous page\
midrule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endhead
midrule
multicolumn7@r@continues on the next page
endfoot
bottomrule
endlastfoot
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
midrule
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\
endlongtable

enddocument


enter image description hereenter image description here






share|improve this answer















Mico was quicker than me, however, this is my solution:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
captionsetupfont=large
usepackagearray
newcolumntypeM[1]>raggedrightm#1
usepackagebooktabs
usepackagemakecell
usepackagelongtable

begindocument
beginlongtable@M8emcccccc@
captionDescription\[-1.5ex]
multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level.
\[8ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endfirsthead
multicolumn7@l@continues from the previous page\
midrule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
endhead
midrule
multicolumn7@r@continues on the next page
endfoot
bottomrule
endlastfoot
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
midrule
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\
endlongtable

enddocument


enter image description hereenter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 29 at 8:31

























answered Jun 29 at 6:05









CarLaTeXCarLaTeX

36.9k5 gold badges59 silver badges163 bronze badges




36.9k5 gold badges59 silver badges163 bronze badges












  • Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

    – Job
    Jun 29 at 8:12







  • 1





    @Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

    – CarLaTeX
    Jun 29 at 8:33












  • Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

    – Job
    Jun 29 at 12:26






  • 1





    @Job You're welcome. You're very nice. Thank you for accepting my answer.

    – CarLaTeX
    Jun 29 at 12:27











  • your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

    – Job
    Jun 29 at 12:28

















  • Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

    – Job
    Jun 29 at 8:12







  • 1





    @Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

    – CarLaTeX
    Jun 29 at 8:33












  • Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

    – Job
    Jun 29 at 12:26






  • 1





    @Job You're welcome. You're very nice. Thank you for accepting my answer.

    – CarLaTeX
    Jun 29 at 12:27











  • your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

    – Job
    Jun 29 at 12:28
















Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

– Job
Jun 29 at 8:12






Thanks so much, @CarLaTeX. This is super helpful. Is there any way to define the length of the first column as in Mico's answer? I like that fact that in your answer the Table description is below the Table title. However, the first column length doesn't seem to be changeable.. PS: I must note that one of the variables has a bit of a longer name (i.e., "Share of People from Europe Moved Permanently, State-Level"), so specifying the length would be super helpful.

– Job
Jun 29 at 8:12





1




1





@Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

– CarLaTeX
Jun 29 at 8:33






@Job See my renewed answer, you can set any width you like with M..., but if you set a width > 8em you have to use smaller font size, otherwise you got an Overfull hbox.

– CarLaTeX
Jun 29 at 8:33














Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

– Job
Jun 29 at 12:26





Thank you very much! This does the trick. Your code does exactly what I was looking for. Thanks so much!!!

– Job
Jun 29 at 12:26




1




1





@Job You're welcome. You're very nice. Thank you for accepting my answer.

– CarLaTeX
Jun 29 at 12:27





@Job You're welcome. You're very nice. Thank you for accepting my answer.

– CarLaTeX
Jun 29 at 12:27













your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

– Job
Jun 29 at 12:28





your help honestly saved a lot of time! The fact that your code was super flexible helped me so much. Thanks again for taking your time to help out. I really appreciated it!!

– Job
Jun 29 at 12:28













3














Currently, your table is both too wide and too tall for the page.



  • Unless you're willing to switch to an extremely small font size (which I would not recommend!), you need to enable a page break somewhere in the table. Since table and tabular environments cannot be broken across pages, I suggest you switch to a longtable environment.


  • Moreover, in order to get the table to fit horizontally, I suggest you use a (modified form of the) p column type instead of c or l for the first column. Once you make this adjustment, it's no longer necessary to switch to small for the entire table.


  • In addition, I wouldn't use the c column type for the six data columns: Since much of the data consists of numbers, it would seem very important to align them on their respective decimal markers. Load the dcolumn package and use its D column type to achieve this type of alignment.


  • I would also do away with the addlinespace directives: They don't seem to be all that necessary or helpful, visually/aesthetically speaking.


The following screenshot shows just the first few lines of the table. (Note that I've taken the explanatory paragraph out of the longtable material.) Keep in mind that it's often necessary to compile a longtable two or three times before it looks right.



enter image description here



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption,booktabs
usepackagelongtable,ragged2e,dcolumn
newcolumntypeL[1]>RaggedRighthangindent1empmylen
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % useful shorthand macro
newlengthmylen
settowidthmylenFraction of Profit All, % width of header column
begindocument

The following table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses.

begingroup % localize scope of the next few instructions
setlengthtabcolsep4pt
captionsetupskip=0.333baselineskip,font=normalsize
beginlongtable@ Lmylen *6d2.6 @
captionDescription\

multicolumn7@lfootnotesize * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \[1ex]

toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endfirsthead

multicolumn7@lfootnotesize Table thetable, cont'd\[1ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endhead

midrule
multicolumn7r@footnotesize Cont'd on following page\
endfoot

bottomrule
endlastfoot

Single & 0.195^***& 0.219^***& 0.149^***& 0.324^***& 0.313^***& 0.196^***\
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ %addlinespace
Employed & 0.222^***& 0.231^***& 0.156^***& 0.365^***& 0.359^***& 0.251^***\
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ %addlinespace
1 Place & & & 0.0551^***& & & 0.0628^***\
& & & (0.00606) & & & (0.00791) \ %addlinespace
2 Place & & & 0.0382^***& & & 0.0554^***\
& & & (0.00760) & & & (0.0106) \ %addlinespace
3 Place & & & 0.0266^***& & & 0.0428^***\
& & & (0.00900) & & & (0.0124) \ %addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ %addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ %addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ %addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ %addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ %addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ %addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ %addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ %addlinespace
New Indicator & & & -0.122^***& & & -0.153^***\
& & & (0.00938) & & & (0.0136) \ %addlinespace
Other Indicator & & & -0.0563^***& & & -0.0966^***\
& & & (0.00752) & & & (0.0101) \ %addlinespace
Fraction of Profit All, & & & 0.171^***& & & 0.230^***\
quad City-Level & & & (0.0166) & & & (0.0193) \ %addlinespace
Fraction of Profit All & & & 0.107^***& & & \
& & & (0.0139) & & & \ %addlinespace
Log(Population) & & & 0.304^***& & & 0.342^***\
& & & (0.105) & & & (0.122) \ %addlinespace
Log(GDP per capita) & & & 0.365^***& & & 0.306^***\
& & & (0.0991) & & & (0.106) \ %addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter~FE & & mcX & mcX & & mcX & mcX \ %addlinespace
Year-Month FE & mcX& mcX& mcX& mcX& mcX& mcX\ %addlinespace
City-State FE & mcX & mcX & mcX & & & \ %addlinespace
State FE & & & & mcX& mcX& mcX \ %addlinespace
midrule
Observations & mc1,237,878 & mc1,237,878 & mc1,209,791 & mc262,534 & mc262,534 & mc255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & mc46510 & mc46510 & mc45244 & & & \
Number of States & & & & mc7190 & mc7190 & mc6911\

endlongtable
endgroup

enddocument





share|improve this answer























  • That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

    – Job
    Jun 29 at 8:10











  • I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

    – Job
    Jun 29 at 8:32






  • 1





    @Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

    – Mico
    Jun 29 at 8:42







  • 1





    @Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

    – Mico
    Jun 29 at 8:54












  • Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

    – Job
    Jun 29 at 12:25















3














Currently, your table is both too wide and too tall for the page.



  • Unless you're willing to switch to an extremely small font size (which I would not recommend!), you need to enable a page break somewhere in the table. Since table and tabular environments cannot be broken across pages, I suggest you switch to a longtable environment.


  • Moreover, in order to get the table to fit horizontally, I suggest you use a (modified form of the) p column type instead of c or l for the first column. Once you make this adjustment, it's no longer necessary to switch to small for the entire table.


  • In addition, I wouldn't use the c column type for the six data columns: Since much of the data consists of numbers, it would seem very important to align them on their respective decimal markers. Load the dcolumn package and use its D column type to achieve this type of alignment.


  • I would also do away with the addlinespace directives: They don't seem to be all that necessary or helpful, visually/aesthetically speaking.


The following screenshot shows just the first few lines of the table. (Note that I've taken the explanatory paragraph out of the longtable material.) Keep in mind that it's often necessary to compile a longtable two or three times before it looks right.



enter image description here



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption,booktabs
usepackagelongtable,ragged2e,dcolumn
newcolumntypeL[1]>RaggedRighthangindent1empmylen
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % useful shorthand macro
newlengthmylen
settowidthmylenFraction of Profit All, % width of header column
begindocument

The following table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses.

begingroup % localize scope of the next few instructions
setlengthtabcolsep4pt
captionsetupskip=0.333baselineskip,font=normalsize
beginlongtable@ Lmylen *6d2.6 @
captionDescription\

multicolumn7@lfootnotesize * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \[1ex]

toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endfirsthead

multicolumn7@lfootnotesize Table thetable, cont'd\[1ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endhead

midrule
multicolumn7r@footnotesize Cont'd on following page\
endfoot

bottomrule
endlastfoot

Single & 0.195^***& 0.219^***& 0.149^***& 0.324^***& 0.313^***& 0.196^***\
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ %addlinespace
Employed & 0.222^***& 0.231^***& 0.156^***& 0.365^***& 0.359^***& 0.251^***\
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ %addlinespace
1 Place & & & 0.0551^***& & & 0.0628^***\
& & & (0.00606) & & & (0.00791) \ %addlinespace
2 Place & & & 0.0382^***& & & 0.0554^***\
& & & (0.00760) & & & (0.0106) \ %addlinespace
3 Place & & & 0.0266^***& & & 0.0428^***\
& & & (0.00900) & & & (0.0124) \ %addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ %addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ %addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ %addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ %addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ %addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ %addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ %addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ %addlinespace
New Indicator & & & -0.122^***& & & -0.153^***\
& & & (0.00938) & & & (0.0136) \ %addlinespace
Other Indicator & & & -0.0563^***& & & -0.0966^***\
& & & (0.00752) & & & (0.0101) \ %addlinespace
Fraction of Profit All, & & & 0.171^***& & & 0.230^***\
quad City-Level & & & (0.0166) & & & (0.0193) \ %addlinespace
Fraction of Profit All & & & 0.107^***& & & \
& & & (0.0139) & & & \ %addlinespace
Log(Population) & & & 0.304^***& & & 0.342^***\
& & & (0.105) & & & (0.122) \ %addlinespace
Log(GDP per capita) & & & 0.365^***& & & 0.306^***\
& & & (0.0991) & & & (0.106) \ %addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter~FE & & mcX & mcX & & mcX & mcX \ %addlinespace
Year-Month FE & mcX& mcX& mcX& mcX& mcX& mcX\ %addlinespace
City-State FE & mcX & mcX & mcX & & & \ %addlinespace
State FE & & & & mcX& mcX& mcX \ %addlinespace
midrule
Observations & mc1,237,878 & mc1,237,878 & mc1,209,791 & mc262,534 & mc262,534 & mc255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & mc46510 & mc46510 & mc45244 & & & \
Number of States & & & & mc7190 & mc7190 & mc6911\

endlongtable
endgroup

enddocument





share|improve this answer























  • That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

    – Job
    Jun 29 at 8:10











  • I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

    – Job
    Jun 29 at 8:32






  • 1





    @Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

    – Mico
    Jun 29 at 8:42







  • 1





    @Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

    – Mico
    Jun 29 at 8:54












  • Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

    – Job
    Jun 29 at 12:25













3












3








3







Currently, your table is both too wide and too tall for the page.



  • Unless you're willing to switch to an extremely small font size (which I would not recommend!), you need to enable a page break somewhere in the table. Since table and tabular environments cannot be broken across pages, I suggest you switch to a longtable environment.


  • Moreover, in order to get the table to fit horizontally, I suggest you use a (modified form of the) p column type instead of c or l for the first column. Once you make this adjustment, it's no longer necessary to switch to small for the entire table.


  • In addition, I wouldn't use the c column type for the six data columns: Since much of the data consists of numbers, it would seem very important to align them on their respective decimal markers. Load the dcolumn package and use its D column type to achieve this type of alignment.


  • I would also do away with the addlinespace directives: They don't seem to be all that necessary or helpful, visually/aesthetically speaking.


The following screenshot shows just the first few lines of the table. (Note that I've taken the explanatory paragraph out of the longtable material.) Keep in mind that it's often necessary to compile a longtable two or three times before it looks right.



enter image description here



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption,booktabs
usepackagelongtable,ragged2e,dcolumn
newcolumntypeL[1]>RaggedRighthangindent1empmylen
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % useful shorthand macro
newlengthmylen
settowidthmylenFraction of Profit All, % width of header column
begindocument

The following table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses.

begingroup % localize scope of the next few instructions
setlengthtabcolsep4pt
captionsetupskip=0.333baselineskip,font=normalsize
beginlongtable@ Lmylen *6d2.6 @
captionDescription\

multicolumn7@lfootnotesize * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \[1ex]

toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endfirsthead

multicolumn7@lfootnotesize Table thetable, cont'd\[1ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endhead

midrule
multicolumn7r@footnotesize Cont'd on following page\
endfoot

bottomrule
endlastfoot

Single & 0.195^***& 0.219^***& 0.149^***& 0.324^***& 0.313^***& 0.196^***\
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ %addlinespace
Employed & 0.222^***& 0.231^***& 0.156^***& 0.365^***& 0.359^***& 0.251^***\
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ %addlinespace
1 Place & & & 0.0551^***& & & 0.0628^***\
& & & (0.00606) & & & (0.00791) \ %addlinespace
2 Place & & & 0.0382^***& & & 0.0554^***\
& & & (0.00760) & & & (0.0106) \ %addlinespace
3 Place & & & 0.0266^***& & & 0.0428^***\
& & & (0.00900) & & & (0.0124) \ %addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ %addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ %addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ %addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ %addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ %addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ %addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ %addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ %addlinespace
New Indicator & & & -0.122^***& & & -0.153^***\
& & & (0.00938) & & & (0.0136) \ %addlinespace
Other Indicator & & & -0.0563^***& & & -0.0966^***\
& & & (0.00752) & & & (0.0101) \ %addlinespace
Fraction of Profit All, & & & 0.171^***& & & 0.230^***\
quad City-Level & & & (0.0166) & & & (0.0193) \ %addlinespace
Fraction of Profit All & & & 0.107^***& & & \
& & & (0.0139) & & & \ %addlinespace
Log(Population) & & & 0.304^***& & & 0.342^***\
& & & (0.105) & & & (0.122) \ %addlinespace
Log(GDP per capita) & & & 0.365^***& & & 0.306^***\
& & & (0.0991) & & & (0.106) \ %addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter~FE & & mcX & mcX & & mcX & mcX \ %addlinespace
Year-Month FE & mcX& mcX& mcX& mcX& mcX& mcX\ %addlinespace
City-State FE & mcX & mcX & mcX & & & \ %addlinespace
State FE & & & & mcX& mcX& mcX \ %addlinespace
midrule
Observations & mc1,237,878 & mc1,237,878 & mc1,209,791 & mc262,534 & mc262,534 & mc255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & mc46510 & mc46510 & mc45244 & & & \
Number of States & & & & mc7190 & mc7190 & mc6911\

endlongtable
endgroup

enddocument





share|improve this answer













Currently, your table is both too wide and too tall for the page.



  • Unless you're willing to switch to an extremely small font size (which I would not recommend!), you need to enable a page break somewhere in the table. Since table and tabular environments cannot be broken across pages, I suggest you switch to a longtable environment.


  • Moreover, in order to get the table to fit horizontally, I suggest you use a (modified form of the) p column type instead of c or l for the first column. Once you make this adjustment, it's no longer necessary to switch to small for the entire table.


  • In addition, I wouldn't use the c column type for the six data columns: Since much of the data consists of numbers, it would seem very important to align them on their respective decimal markers. Load the dcolumn package and use its D column type to achieve this type of alignment.


  • I would also do away with the addlinespace directives: They don't seem to be all that necessary or helpful, visually/aesthetically speaking.


The following screenshot shows just the first few lines of the table. (Note that I've taken the explanatory paragraph out of the longtable material.) Keep in mind that it's often necessary to compile a longtable two or three times before it looks right.



enter image description here



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption,booktabs
usepackagelongtable,ragged2e,dcolumn
newcolumntypeL[1]>RaggedRighthangindent1empmylen
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % useful shorthand macro
newlengthmylen
settowidthmylenFraction of Profit All, % width of header column
begindocument

The following table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses.

begingroup % localize scope of the next few instructions
setlengthtabcolsep4pt
captionsetupskip=0.333baselineskip,font=normalsize
beginlongtable@ Lmylen *6d2.6 @
captionDescription\

multicolumn7@lfootnotesize * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \[1ex]

toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endfirsthead

multicolumn7@lfootnotesize Table thetable, cont'd\[1ex]
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule(l)2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(lr)2-4 cmidrule(l)5-7
& mc(1) & mc(2) & mc(3) & mc(4) & mc(5) & mc(6) \
midrule
endhead

midrule
multicolumn7r@footnotesize Cont'd on following page\
endfoot

bottomrule
endlastfoot

Single & 0.195^***& 0.219^***& 0.149^***& 0.324^***& 0.313^***& 0.196^***\
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ %addlinespace
Employed & 0.222^***& 0.231^***& 0.156^***& 0.365^***& 0.359^***& 0.251^***\
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ %addlinespace
1 Place & & & 0.0551^***& & & 0.0628^***\
& & & (0.00606) & & & (0.00791) \ %addlinespace
2 Place & & & 0.0382^***& & & 0.0554^***\
& & & (0.00760) & & & (0.0106) \ %addlinespace
3 Place & & & 0.0266^***& & & 0.0428^***\
& & & (0.00900) & & & (0.0124) \ %addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ %addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ %addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ %addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ %addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ %addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ %addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ %addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ %addlinespace
New Indicator & & & -0.122^***& & & -0.153^***\
& & & (0.00938) & & & (0.0136) \ %addlinespace
Other Indicator & & & -0.0563^***& & & -0.0966^***\
& & & (0.00752) & & & (0.0101) \ %addlinespace
Fraction of Profit All, & & & 0.171^***& & & 0.230^***\
quad City-Level & & & (0.0166) & & & (0.0193) \ %addlinespace
Fraction of Profit All & & & 0.107^***& & & \
& & & (0.0139) & & & \ %addlinespace
Log(Population) & & & 0.304^***& & & 0.342^***\
& & & (0.105) & & & (0.122) \ %addlinespace
Log(GDP per capita) & & & 0.365^***& & & 0.306^***\
& & & (0.0991) & & & (0.106) \ %addlinespace
midrule
Log(GDP per capita) $times$ Year-Quarter~FE & & mcX & mcX & & mcX & mcX \ %addlinespace
Year-Month FE & mcX& mcX& mcX& mcX& mcX& mcX\ %addlinespace
City-State FE & mcX & mcX & mcX & & & \ %addlinespace
State FE & & & & mcX& mcX& mcX \ %addlinespace
midrule
Observations & mc1,237,878 & mc1,237,878 & mc1,209,791 & mc262,534 & mc262,534 & mc255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & mc46510 & mc46510 & mc45244 & & & \
Number of States & & & & mc7190 & mc7190 & mc6911\

endlongtable
endgroup

enddocument






share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 29 at 5:49









MicoMico

296k32 gold badges410 silver badges808 bronze badges




296k32 gold badges410 silver badges808 bronze badges












  • That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

    – Job
    Jun 29 at 8:10











  • I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

    – Job
    Jun 29 at 8:32






  • 1





    @Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

    – Mico
    Jun 29 at 8:42







  • 1





    @Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

    – Mico
    Jun 29 at 8:54












  • Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

    – Job
    Jun 29 at 12:25

















  • That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

    – Job
    Jun 29 at 8:10











  • I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

    – Job
    Jun 29 at 8:32






  • 1





    @Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

    – Mico
    Jun 29 at 8:42







  • 1





    @Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

    – Mico
    Jun 29 at 8:54












  • Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

    – Job
    Jun 29 at 12:25
















That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

– Job
Jun 29 at 8:10





That's a great answer, @Mico. Is there any way to add the table description (The following table report" part) below "Table 1: Description"?

– Job
Jun 29 at 8:10













I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

– Job
Jun 29 at 8:32





I assume adding this part (which is from @CarLaTeX) would solve the issue: multicolumn7@plinewidth@footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. \

– Job
Jun 29 at 8:32




1




1





@Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

– Mico
Jun 29 at 8:42






@Job - A longtable, unlike a table, does not "float" (in the TeX-specific sense of the word). Thus, in my answer, the legend will always be right before the tabular material. Whether one places this legend inside or immediately before the longtable is, to me, mostly a matter of aesthetics. To me, placing the legend outside (but immediately before) the longtable signals to readers of my papers: "Wake up, wake up! Hello! You're about to hit a tabular section of the text. Here's what this coming tabular section is all about." I realize that you may or may not agree with this view.

– Mico
Jun 29 at 8:42





1




1





@Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

– Mico
Jun 29 at 8:54






@Job - The longtable will, in general, be less wide than textwidth. If you place the legend inside the longtable, via the multicolumn7@plinewidth@footnotesize ... device, you may create a weird-looking disparity in widths of the legend paragraph and the subsequent tabular material. It is exactly because I wanted to avoid creating such a visual disparity that I decided to take the legend out of the longtable and place it right before the tabular material. (Obviously, the width of a plain-text paragraph is textwidth.)

– Mico
Jun 29 at 8:54














Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

– Job
Jun 29 at 12:25





Thanks so much, @Mico. I am replicating a paper and want to follow exactly their formatting. Otherwise your suggestion is certainly well taken. Thanks so much for all of your help!

– Job
Jun 29 at 12:25











2














I've modified arraystretch and the fontsize, please refer the below:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip
centeringscriptsize%
setlengthtabcolsep4pt%
renewcommandarraystretch0.75%
begintabular*textwidth@extracolsepfilllcccccc@extracolsepfill
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular*

endtable



enddocument





share|improve this answer




















  • 1





    @Job Oops...Please remove the package showframe and then try....

    – MadyYuvi
    Jun 29 at 5:32






  • 2





    I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

    – Mico
    Jun 29 at 5:55







  • 1





    @Mico I agreed, shall I correct this?

    – MadyYuvi
    Jun 29 at 5:57






  • 2





    No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

    – Mico
    Jun 29 at 6:00






  • 2





    @Mico Fine and I'll leave as is....

    – MadyYuvi
    Jun 29 at 6:07















2














I've modified arraystretch and the fontsize, please refer the below:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip
centeringscriptsize%
setlengthtabcolsep4pt%
renewcommandarraystretch0.75%
begintabular*textwidth@extracolsepfilllcccccc@extracolsepfill
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular*

endtable



enddocument





share|improve this answer




















  • 1





    @Job Oops...Please remove the package showframe and then try....

    – MadyYuvi
    Jun 29 at 5:32






  • 2





    I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

    – Mico
    Jun 29 at 5:55







  • 1





    @Mico I agreed, shall I correct this?

    – MadyYuvi
    Jun 29 at 5:57






  • 2





    No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

    – Mico
    Jun 29 at 6:00






  • 2





    @Mico Fine and I'll leave as is....

    – MadyYuvi
    Jun 29 at 6:07













2












2








2







I've modified arraystretch and the fontsize, please refer the below:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip
centeringscriptsize%
setlengthtabcolsep4pt%
renewcommandarraystretch0.75%
begintabular*textwidth@extracolsepfilllcccccc@extracolsepfill
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular*

endtable



enddocument





share|improve this answer















I've modified arraystretch and the fontsize, please refer the below:



documentclass[final,3p,times,12pt]elsarticle
usepackagecaption
usepackagebooktabs

begindocument

begintable
captionsetupfont=large
captionDescription
footnotesize This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports This table reports. Standard errors are reported in parantheses. * indicates significance at the 10% level, ** at the 5% level, and *** at the 1% level. smallskip
centeringscriptsize%
setlengthtabcolsep4pt%
renewcommandarraystretch0.75%
begintabular*textwidth@extracolsepfilllcccccc@extracolsepfill
toprule
& multicolumn6cDependent Variable: Log(Price)\
cmidrule2-7
& multicolumn3cCity-State Level & multicolumn3cState Level\
cmidrule(r)2-4 cmidrule(l)5-7
& (1) & (2) & (3) & (4) & (5) & (6) \
midrule
& & & & & & \
Single & 0.195*** & 0.219*** & 0.149*** & 0.324*** & 0.313*** & 0.196*** \
& (0.0464) & (0.0395) & (0.0385) & (0.0452) & (0.0408) & (0.0370) \ addlinespace
Employed & 0.222*** & 0.231*** & 0.156*** & 0.365*** & 0.359*** & 0.251*** \
& (0.0249) & (0.0249) & (0.0200) & (0.0317) & (0.0315) & (0.0232) \ addlinespace
1 Place & & & 0.0551*** & & & 0.0628*** \
& & & (0.00606) & & & (0.00791) \ addlinespace
2 Place & & & 0.0382*** & & & 0.0554*** \
& & & (0.00760) & & & (0.0106) \ addlinespace
3 Place & & & 0.0266*** & & & 0.0428*** \
& & & (0.00900) & & & (0.0124) \ addlinespace
4 Place & & & 0.00827 & & & 0.0269* \
& & & (0.0112) & & & (0.0145) \ addlinespace
5 Place & & & -0.00981 & & & 0.0108 \
& & & (0.0126) & & & (0.0169) \ addlinespace
6 Place & & & -0.0268 & & & -0.00126 \
& & & (0.0177) & & & (0.0217) \ addlinespace
7 Place & & & -0.0277 & & & -0.0141 \
& & & (0.0194) & & & (0.0271) \ addlinespace
8 Place & & & 0.00274 & & & 0.0245 \
& & & (0.0248) & & & (0.0363) \ addlinespace
9 Place & & & -0.0102 & & & 0.0125 \
& & & (0.0448) & & & (0.0530) \ addlinespace
10 Place & & & -0.00944 & & & 0.00733 \
& & & (0.0445) & & & (0.0875) \ addlinespace
11 Place & & & 0.0234 & & & 0.0674 \
& & & (0.0359) & & & (0.0653) \ addlinespace
New Indicator & & & -0.122*** & & & -0.153*** \
& & & (0.00938) & & & (0.0136) \ addlinespace
Other Indicator & & & -0.0563*** & & & -0.0966*** \
& & & (0.00752) & & & (0.0101) \ addlinespace
Fraction of Profit & & & 0.171*** & & & 0.230*** \
All, City-Level & & & (0.0166) & & & (0.0193) \ addlinespace
Fraction of of Profit & & & 0.107*** & & & \
All & & & (0.0139) & & & \ addlinespace
Log(Population) & & & 0.304*** & & & 0.342*** \
& & & (0.105) & & & (0.122) \ addlinespace
Log(GDP per capita) & & & 0.365*** & & & 0.306*** \
& & & (0.0991) & & & (0.106) \ addlinespace
hline
Log(GDP per capita) $times$ Year-Quarter FE & & X & X & & X & X \ addlinespace
Year-Month FE & X& X& X& X& X& X\ addlinespace
City-State FE & X & X& X& & & \ addlinespace
State FE & & & & X& X& X \ addlinespace
hline

& & & & & & \ addlinespace
Observations & 1,237,878 & 1,237,878 & 1,209,791 & 262,534 & 262,534 & 255,173 \
R-squared & 0.821 & 0.826 & 0.837 & 0.852 & 0.861 & 0.877 \
Number of City-State pairs & 46510 & 46510 & 45244 & & & \
Number of States & & & & 7190 & 7190 & 6911\ bottomrule
endtabular*

endtable



enddocument






share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 29 at 5:34

























answered Jun 29 at 5:23









MadyYuviMadyYuvi

3,0803 silver badges12 bronze badges




3,0803 silver badges12 bronze badges







  • 1





    @Job Oops...Please remove the package showframe and then try....

    – MadyYuvi
    Jun 29 at 5:32






  • 2





    I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

    – Mico
    Jun 29 at 5:55







  • 1





    @Mico I agreed, shall I correct this?

    – MadyYuvi
    Jun 29 at 5:57






  • 2





    No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

    – Mico
    Jun 29 at 6:00






  • 2





    @Mico Fine and I'll leave as is....

    – MadyYuvi
    Jun 29 at 6:07












  • 1





    @Job Oops...Please remove the package showframe and then try....

    – MadyYuvi
    Jun 29 at 5:32






  • 2





    I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

    – Mico
    Jun 29 at 5:55







  • 1





    @Mico I agreed, shall I correct this?

    – MadyYuvi
    Jun 29 at 5:57






  • 2





    No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

    – Mico
    Jun 29 at 6:00






  • 2





    @Mico Fine and I'll leave as is....

    – MadyYuvi
    Jun 29 at 6:07







1




1





@Job Oops...Please remove the package showframe and then try....

– MadyYuvi
Jun 29 at 5:32





@Job Oops...Please remove the package showframe and then try....

– MadyYuvi
Jun 29 at 5:32




2




2





I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

– Mico
Jun 29 at 5:55






I appreciate the effort to shoehorn the table into a single page. I must say, though, it looks odd to have a table with a large caption, a footnotesize legend, and a scriptsize body.

– Mico
Jun 29 at 5:55





1




1





@Mico I agreed, shall I correct this?

– MadyYuvi
Jun 29 at 5:57





@Mico I agreed, shall I correct this?

– MadyYuvi
Jun 29 at 5:57




2




2





No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

– Mico
Jun 29 at 6:00





No. (Well, maybe switch the font size for the caption from large to small (or footnotesize.) I would just point out explicitly which design choices you imposed. That way, readers can form their own opinions as to what may or may not work for their own tables.

– Mico
Jun 29 at 6:00




2




2





@Mico Fine and I'll leave as is....

– MadyYuvi
Jun 29 at 6:07





@Mico Fine and I'll leave as is....

– MadyYuvi
Jun 29 at 6:07

















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%2f497900%2ffitting-large-table-to-single-page%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

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form