[R] A LaTeX question -- Hope people won't mind

Nicolas Delhomme nicolas.delhomme at plantphys.umu.se
Mon Aug 20 22:28:53 CEST 2012


Here you go:

\caption[Results for Random Forest Model Using Scoring Data]{Results for Random Forest Model Using Scoring Data (N = 700)}

but all you really need to know about latex is there: http://en.wikibooks.org/wiki/LaTeX.

Nico


On 20 Aug 2012, at 22:13, Paul Miller wrote:

> Hello All,
> 
> Hope people won't mind my posting a LaTeX question here. I know a lot of people who use R are also using LaTeX. I'm in a bit of a rush to complete a document and am having trouble with one aspect of the formatting.
> 
> I'm creating a list of tables using: 
> 
> \listoftables
> 
> I also have some table captions that contain the number of patients in an anlysis like:
> 
> \caption{Results for Random Forest Model Using Scoring Data (N = 700)}
> 
> The tables look great. Trouble is that LaTeX inserts the "(N = 700)" into the text in the List of Tables at the beginning of the document. I'd prefer that it not do so.
> 
> Is there some simple way to fix this?
> 
> Thanks,
> 
> Paul
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list