Everyone who has written a paper with another author will know it can be tricky making sure you don’t end up with two versions that need to be merged. The good news is that the days of sending updated drafts by email backwards and forwards is finally over (having lasted all of 25 years — I can barely imagine writing papers before email).
Posts Tagged ‘LaTeX’:
The publishing platform I set up for my forecasting book has now been extended to cover more books and greater functionality. Check it out at www.otexts.org.
When I want to insert figures generated in R into a LaTeX document, it looks better if I first remove the white space around the figure. Unfortunately, R does not make this easy as the graphs are generated to look good on a screen, not in a document. There are two things that can be done to fix this problem.
I gave this talk last night to the Melbourne Users of R Network.
Updated: 21 November 2012 Make is a marvellous tool used by programmers to build software, but it can be used for much more than that. I use make whenever I have a large project involving R files and LaTeX files, which means I use it for almost all of the papers I write, and almost of the consulting reports I produce.
Today I was writing a report which included 20 figures, with the names demandplot1.pdf, demandplot2.pdf, …, demandplot20.pdf, and all with similar captions. Clearly a loop was required. After all, LaTeX is a programming language, so we should be able to take advantage of its capabilities.
Beamer is far and away the most popular software for presentations amongst researchers in mathematics and statistics. Most conference and seminar talks I attend these days use beamer. Unfortunately, they all look much the same. I think people find beamer themes too hard to modify easily, so a small number of templates get shared around. Even the otherwise wonderful LaTeX Templates site has no beamer examples. The beamer user guide explains how to make changes but it is not for the faint-hearted (although it is a fantastic resource once you have some expertise). So I thought it might be useful to produce a very simple beamer template that is easy to extend and modify.
A very useful way of keeping up with blogs in a particular area is to subscribe to a blog aggregator. These will syndicate posts from a large number of blogs and provide links back to the original sources. So you only need to subscribe once to get all the good stuff in that area. There are now several blog aggregators available that might be of interest to readers here. And this blog is now syndicated on several other sites including those listed below.
Some of the most popular pages on this site are my LaTeX templates: for a curriculum vitae, a beamer poster, a beamer talk, a Monash University working paper and a Monash University thesis. Almost all new LaTeX users begin with templates, so it is surprising that there aren’t more good templates around to get people started. Now there is a great new website for LaTeX templates: www.latextemplates.com. There are some nice templates for letters, lab reports, calendars, theses, assignments, essays, and CVs. The templates are well-structured with lots of comments to make it easy to understand how they work, and to make modifications. Even experienced LaTeXers will probably learn some new tricks and new packages from browsing the templates.
XeLaTeX is a replacement for pdfLaTeX that allows you to use the fonts on your computer (rather than only those fonts that come with your tex system). However, TeXstudio is not set up to use XeLaTeX yet. Fortunately, it is not difficult. Go to Options/Commands where all the commands used by TeXstudio are specified. You probably don’t need standard LaTeX these days, so replace the LaTeX command with the following. xelatex –interaction=nonstopmode %.tex Then click OK. Now the LaTeX button at the top of the screen is mapped to XeLaTeX rather than standard LaTeX. You can still access pdfLaTeX via its button for your non-XeLaTeX files. Before anyone comments that you need standard LaTeX for when eps graphics are used, see Converting eps to pdf.