A blog by Rob J Hyndman 

Twitter Gplus RSS

Posts Tagged ‘LaTeX’:

biblatex for statisticians

Published on 22 August 2014

I am now using bibla­tex for all my bib­li­o­graphic work as it seems to have devel­oped enough to be sta­ble and reli­able. The big advan­tage of bibla­tex is that it is easy to for­mat the bib­li­og­ra­phy to con­form to spe­cific jour­nal or pub­lisher styles. It is also pos­si­ble to have struc­tured bib­li­ogra­phies (e.g., divided into sec­tions: books, papers, R pack­ages, etc.)

No Comments  comments 

Creating a handout from beamer slides

Published on 11 June 2014

I’m about to head off on a speak­ing tour to Europe (more on that in another post) and one of my hosts has asked for my pow­er­point slides so they can print them. They have made two false assump­tions: (1) that I use pow­er­point; (2) that my slides are sta­tic so they can be printed. Instead, I pro­duced a cut-​​​​down ver­sion of my beamer slides, leav­ing out some of the ani­ma­tions and other fea­tures that will not print eas­ily. Then I pro­duced a pdf file with sev­eral slides per page.

1 Comment  comments 

Generating tables in LaTeX

Published on 15 April 2014

Typ­ing tables in LaTeX can get messy, but there are some good tools to sim­plify the process. One I dis­cov­ered this week is tables​gen​er​a​tor​.com, a web-​​​​based tool for gen­er­at­ing LaTeX tables. It also allows the table to saved in other for­mats includ­ing HTML and Mark­down. The inter­face is sim­ple, but it does most things. For com­pli­cated tables, some addi­tional for­mat­ting may be necessary.

2 Comments  comments 

Getting a LaTeX system set up

Published on 4 April 2014

Today I was teach­ing the hon­ours stu­dents in econo­met­rics and eco­nom­ics about LaTeX. Here are some brief instruc­tions on how to set up a LaTeX sys­tem on dif­fer­ent oper­at­ing systems.

2 Comments  comments 

Online collaborative writing

Published on 28 January 2014

Every­one who has writ­ten a paper with another author will know it can be tricky mak­ing sure you don’t end up with two ver­sions that need to be merged. The good news is that the days of send­ing updated drafts by email back­wards and for­wards is finally over (hav­ing lasted all of 25 years — I can barely imag­ine writ­ing papers before email).

7 Comments  comments 

OTexts​.org is launched

Published on 27 September 2013

The pub­lish­ing plat­form I set up for my fore­cast­ing book has now been extended to cover more books and greater func­tion­al­ity. Check it out at www​.otexts​.org.

6 Comments  comments 

Removing white space around R figures

Published on 22 February 2013

When I want to insert fig­ures gen­er­ated in R into a LaTeX doc­u­ment, it looks bet­ter if I first remove the white space around the fig­ure. Unfor­tu­nately, R does not make this easy as the graphs are gen­er­ated to look good on a screen, not in a doc­u­ment. There are two things that can be done to fix this problem.

7 Comments  comments 

SimpleR tips, tricks and tools

Published on 21 November 2012

I gave this talk last night to the Mel­bourne Users of R Network.

10 Comments  comments 

Makefiles for R/​LaTeX projects

Published on 31 October 2012

Updated: 21 Novem­ber 2012 Make is a mar­vel­lous tool used by pro­gram­mers to build soft­ware, but it can be used for much more than that. I use make when­ever I have a large project involv­ing R files and LaTeX files, which means I use it for almost all of the papers I write, and almost of the con­sult­ing reports I produce.

17 Comments  comments 

LaTeX loops

Published on 23 October 2012

Today I was writ­ing a report which included 20 fig­ures, with the names demandplot1.pdf, demandplot2.pdf, …, demandplot20.pdf, and all with sim­i­lar cap­tions. Clearly a loop was required. After all, LaTeX is a pro­gram­ming lan­guage, so we should be able to take advan­tage of its capabilities.

2 Comments  comments