Skip to navigation

Archive for the 'LaTeX' Category

Small hyperref error solved

Monday, November 9th, 2009

For the record. I got an error running hyperref: Paragraph ended before \Hy@setref@link was complete This was due to having a regulare closing parenthesis directly after the curly bracket that closed a \ref, like this: (see section \ref{section-1}). Putting in a space between the closing curly bracket and parenthesis solved the problem: … section-1} )

Emacs with ESS and AucTeX on Windows

Monday, September 14th, 2009

I will have to use MS Windows for my new job, at least some of the time. I’ll put related posts in a new “MS Windows” category. If you use R, you most likely want ESS (Emacs Speaks Statistics) for your GNU Emacs. If you use LaTeX, you will also want AucTeX. I highly recommend […]

MikTeX package manager for Linux

Sunday, June 15th, 2008

One of the few things I really missed when I switched from Windows to Linux was MikTeX, since it makes installation of LaTeX packages very easy, where Linux makes you jump through hoops. So I’m delighted that MikTeX brings this functionality to Linux, trough MikTeX Tools. Since this is not available through aptitude, you have to […]

Using the LaTeX landscape package for a plot/ figure in Sweave

Tuesday, April 15th, 2008

I’ve started using Sweave and immediately ran into a problem. I had a wide figure to include (actually, a plot that combined several plots in R using the layout command). I had used the lscape package in LaTeX and the corresponding landscape environment for that page, and before, it worked fine, but with Sweave, the […]

LaTeX: Figure captions in landscape dvi

Monday, March 10th, 2008

I want to include horizontally (landscape) oriented pages in a LaTeX document; to do that I use \usepackage{lscape}. Then: Some normal text \begin{landscape} Some text that should be oriented horizontally. A page break automatically gets put in before and after. \end{landscape} Revert back to portrait orientation. This works fine, except when I include a {figure} […]