[R] long caption titles for tables

Frank E Harrell Jr f.harrell at vanderbilt.edu
Tue Apr 11 14:54:14 CEST 2006


Brian Quinif wrote:
> I am using using the latex() function in the Hmisc package.  I want to
> create some table captions that are relatively long and need to take
> up more than one line.
> 
> When I do this, the LaTeX output has the majority of the text on one
> line with the remainder spilling over into the second line as if it
> were a normal sentence.

That is standard typography.

Frank

> 
> How can I get a long caption such as "Estimated HOPE Effects on
> Typical First-Year Students, 1990/1995 Robust Std. Errors in
> Parentheses" to appear as
> 
> Estimated HOPE Effects on
> Typical First-Year Students, 1990/1995
> Robust Std. Errors in Parentheses
> 
> where that would be centered above the table?
> 
> Thanks,
> 
> BQ
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list