Superimpose symbols in LaTeX, plus a cartoon about fortune cookies.

This post is just a reminder to me of how my colleague Aidan Heerdegen solved a LaTeX problem for me that was bugging me relentlessly.  For those for whom this is utterly irrelevant, which will be everybody except me, I have stuck a comic at the end of this post. I suggest you go there directly…

If not…

They’ll tell you you can use \llap and \rlap.  But one man knows the truth, one man knows that what you need to do is this (meddle with the kerning):

(in preamble)


(in body)


“Why?” I hear you cry in strangulated tones.  Well, I have a graph a student made in Excel.  It uses a symbol that looks like this:


Which is to say it looks like an X with an I through the middle (san serif of course).  I need to refer to this in a LaTeX document and could not for the life of me figure out a nice way to do it that would work inside a figure caption.  I figured out a messy way, but Aidan has figured out a neat way and I don’t want to forget it.

The messy way, by the way, is to use the optional table of contents entry in the \caption[]{} environment so that it does not try to put the special symbols into the ToC.  Then you can use something like:


Now the comic:



Tags: , , ,

About Darren

I'm a scientist by training, based in Australia.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: