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. 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
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