Skip to navigation

Archive for the 'LaTeX' Category

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} environment inside the {landscape} environment: In the […]

Local texmf for LaTeX packages in /home/

Wednesday, October 3rd, 2007

I told you this blog is my outsourced memory :)
I can put packages in my home directory at ~/texmf/tex/latex/, and into subdirectories of that dir. Then, say:
texhash
This will complain that it can’t update the system-wide texmf info, but no prob if no changes were made to that. So I moved sciposter.cls there instead of having […]

Dia: exporting to eps with fonts that scale well

Tuesday, October 2nd, 2007

I use Dia to produce diagrams that I then include in LaTeX documents. I export them to .eps (encapsulated postscript) file format. If your diagram contains fonts and they look ugly (ragged) in the resulting LaTeX document, you picked the wrong export format. Make sure you pick “Encapsulated Postscript (using PostScript … fonts) (*eps)”. Or, […]