## xkcd color list for LaTeX users…

After reading the (very) fun post about colors name at xkcd, I decided to create a small package to add the color list to my LaTeX documents…

After circumventing a small bug in xcolor, and ten lines of python, I have managed to create a small package that I am sharing here.

To use it, simply load with \usepackage{xkcdcols} and you’ll have all the color from the xkcd page with names like xkcdTeal (note the capitalization)  and xkcdDarkPastelGreen, like in this snippet:

\documentclass{article}
\usepackage{xkcdcols} %
\begin{document}
\textcolor{xkcdDust}{OneColor}
\textcolor{xkcdDarkPastelGreen}{AnotherColor}
\end{document}

And now you can have

\textcolor{xkcdBabyPoop}{This is not yummy at all}

or

\textcolor{xkcdGreenyGrey}{What a nice color name\ldots}

all over the place!

Compressed file following…

## A new nice trick for the Linux keyboard: greek letters

I do not know you, but me (as an engineer) use Greek letters like α, β, γ and so on quite often. I did a small change to my linux keyboard layout: the new part in the keyboard symbols files now is

partial alphanumeric_keys xkb_symbols “standard_tlde” { include “es(basic)” key <TLDE> { [ grave, asciitilde, […]

## Eclipse

I suppose that everyone and their cat has eclipse shots this days… but I think this is a bit different:

I was shooting the March 20, 2015 eclipse (in Madrid) through a tree, and as a test I tried to focus on the tree silhouette instead — and that was the result. The normal, […]

## Managing PPAs in Ubuntu: a couple of useful scripts.

PPAs are really a great thing in Ubuntu: they allow you to have quite recent programs without upgrading all your system; most Ubuntu users use them extensively.

They have just one problematic side — the havoc that can happen on an upgrade. You see, when you upgrade your system, PPAs are disabled, but the program […]

## Quick fix xfig bug

Ok, so I am a computer dinosaur. I still use xfig for much of my drawings, although I recon it is a program from the old century…

Unfortunately, after the recent upgrade to Ubuntu 14.04, a nasty bug surfaced in xfig: a crash whenever you try to draw point-dashed lines.

## The perfect lens kit…

…does not exist, of course. But I think I have found mine; at least for my balance (as an amateur) among portability, flexibility and quality.

I am an amateur photographer; I do not sell photos (apart from some wet dream), and my needs are to produce photos for my family in the form of a […]

## How to modify a keyboard layout in Linux

Or: how to define a programmer-friendl(er) Spanish keyboard. …and you can add Greek, too!

A bit of history

There was a time when the computers all had the same keyboard — basically, the US one. You really do not need any more; the set of characters that could be represented where, after all, just the […]

## Shepherding at (very) small scale

I recently bought a (wireless) flashgun, a Nissin Di622 mark II for my Sony. And tried the Vivitar 100F3.5 Macro with a method I read from Robin Wong: I used the flashgun hand-held and the camera on the other hand. Firstly. Then I put the camera on a tripod, but with the flash still hand-held, […]

## Macro lenses are expensive… all of them?

I have recently bought a new lens, on ebay, for around 100€, the famous Vivitar 100F3.5 Macro

They are quite right when they say it’s plasticky, noisy, and light; but I have to say that it autofocuses quite well on my Sony Alpha A55. And the performance… look for yourself. Click for bigger size.

With […]

## Recreating bokeh (just an idea)

Bokeh is that nice off-focus effect that good lenses can give you on portraits or photos of details, helping centering your attention on your subject and not on the background of the photo.

Unfortunately, “nice” bokeh is well-tied to “nice” (==expensive) lenses. And sometime simply you just have a photo shot with too much depth […]