A blog by Rob J Hyndman 

Twitter Gplus RSS

Posts Tagged ‘LaTeX’:


Blog aggregators

Published on 15 May 2012

A very use­ful way of keep­ing up with blogs in a par­tic­u­lar area is to sub­scribe to a blog aggre­ga­tor. These will syn­di­cate posts from a large num­ber of blogs and pro­vide links back to the orig­i­nal sources. So you only need to sub­scribe once to get all the good stuff in that area. There are now sev­eral blog aggre­ga­tors avail­able that might be of inter­est to read­ers here. And this blog is now syn­di­cated on sev­eral other sites includ­ing those listed below.

 
1 Comment  comments 

LaTeX templates

Published on 9 April 2012

Some of the most pop­u­lar pages on this site are my LaTeX tem­plates: for a cur­ricu­lum vitae, a beamer poster, a beamer talk, a Monash Uni­ver­sity work­ing paper and a Monash Uni­ver­sity the­sis. Almost all new LaTeX users begin with tem­plates, so it is sur­pris­ing that there aren’t more good tem­plates around to get peo­ple started. Now there is a great new web­site for LaTeX tem­plates: www​.latex​tem​plates​.com. There are some nice tem­plates for let­ters, lab reports, cal­en­dars, the­ses, assign­ments, essays, and CVs.  The tem­plates are well-​​​​structured with lots of com­ments to make it easy to under­stand how they work, and to make mod­i­fi­ca­tions. Even expe­ri­enced LaTeX­ers will prob­a­bly learn some new tricks and new pack­ages from brows­ing the templates.

 
3 Comments  comments 

XeLaTeX with TeXstudio

Published on 6 March 2012

XeLa­TeX is a replace­ment for pdfLa­TeX that allows you to use the fonts on your com­puter (rather than only those fonts that come with your tex sys­tem). How­ever, TeXs­tu­dio is not set up to use XeLa­TeX yet. For­tu­nately, it is not dif­fi­cult. Go to Options/​​Commands where all the com­mands used by TeXs­tu­dio are spec­i­fied. You prob­a­bly don’t need stan­dard LaTeX these days, so replace the LaTeX com­mand with the fol­low­ing. xela­tex –interaction=nonstopmode %.tex Then click OK. Now the LaTeX but­ton at the top of the screen is mapped to XeLa­TeX rather than stan­dard LaTeX. You can still access pdfLa­TeX via its but­ton for your non-​​​​XeLaTeX files. Before any­one com­ments that you need stan­dard LaTeX for when eps graph­ics are used, see Con­vert­ing eps to pdf.

 
3 Comments  comments 

Some useful extensions for Gmail

Published on 16 December 2011

Gmail can be even more awe­some with a few exten­sions (for either Chrome or Firefox).

 
No Comments  comments 

Using TeXstudio with SumatraPDF

Published on 11 October 2011

Suma­traPDF is my favourite pdf reader and TeXs­tu­dio is my favourite LaTeX edi­tor. Here’s how to get them to work nicely together.

 
4 Comments  comments 

Use Mendeley to manage your references

Published on 4 August 2011

Every researcher col­lects large num­bers of papers, ref­er­ences, and notes, and it is impor­tant to have a good sys­tem to keep them all orga­nized. For many years I had sev­eral thou­sand papers all num­bered and stored in fil­ing cab­i­nets, with a JabRef data­base pro­vid­ing an index to them. These days, it’s much eas­ier to have every­thing stored elec­tron­i­cally, and so I have accu­mu­lated many pdfs (about 1300 so far) of pub­lished arti­cles. But the prob­lem of being able to find some­thing fast is still impor­tant. Mende­ley is a free soft­ware tool for man­ag­ing your ref­er­ence data­base. It actu­ally solves many prob­lems simul­ta­né­ously and is likely to become an impor­tant part of how I work.

 
7 Comments  comments 

I’m switching to TeXstudio

Published on 29 March 2011

I’ve hap­pily used WinEdt for all my LaTeX edit­ing for about 15 years and I’ve encour­aged my whole research team to use it. But I’m tired of prob­lems with WinEdt that take up my time.

 
28 Comments  comments 

A LaTeX template for a CV

Published on 27 November 2010

Every researcher needs a Cur­ricu­lum Vitae (Latin for “course of life”) or CV. You will need it for job appli­ca­tions, for annual per­for­mance appraisal, and just for keep­ing track of your pub­li­ca­tions. A CV typ­i­cally con­tains lists of achieve­ments includ­ing qual­i­fi­ca­tions, pub­li­ca­tions, pre­sen­ta­tions, awards, plus teach­ing expe­ri­ence. I’ve cre­ated a LaTeX style for a CV to make it easy to pro­duce some­thing that looks good and is easy to main­tain. You will need an up-​​​​to-​​​​date imple­men­ta­tion of LaTeX because I’m using the won­der­ful bibla­tex pack­age (more on that in another post) which has only just become avail­able as part of Mik­TeX and TeXLive. The pre­am­ble of your CV should look some­thing like this: \documentclass[a4paper,11pt]{article} \usepackage{cv} \name{Rob J Hyn­d­man} \info{Address: & Depart­ment of Econo­met­rics \& Busi­ness Sta­tis­tics, Monash Uni­ver­sity, VIC 3800, Aus­tralia.\\ Phone: & +61 3 9905 2358\\ Email: & Rob.​Hyndman@​monash.​edu\\ WWW: & rob​jhyn​d​man​.com}   \bibliography{rjhpubs}   \addtocategory{books}{MWH3,ITSM91,ITSM94,expsmooth08} \addtocategory{papers}{BHG91,BH92,YW93,Hyndman94,HDRF95} \addtocategory{papers}{HDR96,HBG96,HF96,GHH97,HW97,LFSH97,GH98} Include your name in the \name com­mand. The \info com­mand con­tains infor­ma­tion to go in the header box on the first page. This is struc­tured as for a tab­u­lar envi­ron­ment. You can include any infor­ma­tion you like in the \info com­mand includ­ing addi­tional rows. Some peo­ple include their date of birth, cit­i­zen­ship, fam­ily details, etc. All your

(More)…

 
51 Comments  comments 

Getting started with XeLaTeX

Published on 24 October 2010

By now, most LaTeX users have prob­a­bly heard of XeLa­TeX, if only because it is an option in the lat­est ver­sions of the stan­dard LaTeX edi­tors such as TeXnic­Cen­ter, WinEdt and TeX­Works. But most LaTeX­ers have prob­a­bly not yet become XeLa­TeX­ers. Why should you? XeLa­TeX is essen­tially a replace­ment for pdfLa­TeX. It was pri­mar­ily devel­oped to enable bet­ter font han­dling, espe­cially non-​​​​Roman scripts. If you want to write in Tel­ugu, then XeLa­TeX is going to make your life much eas­ier. For Eng­lish writ­ers, the main ben­e­fit of XeLa­TeX is the abil­ity to use the fonts on your com­puter, just as you can with other soft­ware. If you’ve grown to love using Geor­gia in MS-​​​​Word and always wanted to write a LaTeX doc­u­ment in Geor­gia, now you can. Here is a very sim­ple exam­ple: \documentclass{article} \usepackage{fontspec,lipsum} \defaultfontfeatures{Ligatures=TeX} \usepackage[small,sf,bf]{titlesec}   \setromanfont{Georgia} \setsansfont{Tahoma}   \begin{document} \section{Introduction}   \lipsum[1]   \section{Nonsense}   \lipsum[2–4] \end{document} Note the fol­low­ing fea­tures: The fontspec pack­age is almost always nec­es­sary with XeLa­TeX and con­tains com­mands to load the required fonts. You usu­ally need the com­mand \defaultfontfeatures{Ligatures=TeX}. This is so the new fonts behave in the way we’ve come to expect with LaTeX, such as allow­ing an em-​​​​dash to be writ­ten as —. The

(More)…

 
7 Comments  comments 

Animated plots in R and LaTeX

Published on 13 October 2010

I like to use ani­mated plots in my talks on func­tional time series, partly because it is the only way to really see what is going on with changes in the shapes of curves over time, and also because audi­ences love them! Here is how it is done.

 
16 Comments  comments