February 2010

You are currently browsing the monthly archive for February 2010.

I’m working on a publication that includes a lot of temperatures, and I want conversions of those temperatures to be automatically inserted into the text in a consistent manner and without having to convert them by hand. Michael Mehlich’s excellent fp-package provides some useful functionality for accomplishing this.

\usepackage{fp}

I’ve defined a tempc and tempf command that accept a single value and output a nicely formatted conversion. Using “\tempf{67} is nice, but\tempc{-4.5} is cold.” produces the output below. Note that the text inside the brackets is set a bit smaller. Conversions from Fahrenheit to Celsius always get one digit after the decimal point. This example uses text figures (The vertical positions of the numerals vary to make them more readable on a line.) as opposed to line figures.

LaTeX Temperature Conversion Example

LaTeX Temperature Conversion Example

Here’s the code:

% Temperatures...
\newcommand{\tempc}[1]{\FPmul{\x}{#1}{1.8}\FPadd{\x}{\x}{32}\FPround{\x}{\x}{0}
#1\textcelsius\ [{\small\x\textdegree F}]}
\newcommand{\tempf}[1]{\FPsub{\x}{#1}{32}\FPmul{\x}{\x}{.5555555}\FPround{\x}{\x}{1}
#1\textdegree F [{\small\x\textcelsius{}}]}

Share

Here’s a Scalable Vector Graphics (SVG) drawing of a 24-tooth saw blade. I needed a simple circular saw blade clipart image for a logo I’m working on, but I couldn’t find a usable one online so I created my own.

Enjoy!

Download here
Creative Commons License

Share

Great Bread

This is the blog for a great bread-making technique. We’ve made it countless times and it has been a big help in meeting our culinary resolution to bake all our bread this year. http://www.artisanbreadinfive.com/

Share

This is the 7th set from a collection of 180 or so photographs taken during the 1910-1911 deployment of S.M.S. Gneisenau to the Far East. S.M.S. Gneisenau was an armored cruiser of the Kaiserliche Marine, or German Imperial Navy. For the main catalog page of this archive, including the ports and dates visited, see SMS Gneisenau Far East Photo Collection, 1910-1911.

Warning: One photo in this set (“Leichenverbrennung in Indien”) depicts human death and cremation.

Note: The photo captioned “Engl Kreuzer ‘Minotaur’ & Yacht ‘Alecrite’ for Woosung” was originally and incorrectly captioned, “Engl Kreuzer ‘New Castle’ & Yacht ‘Alecrite’ for Woosung”. Thanks for catching this, Urs.

Share

Here are a few more:

  • What happens when a ghost haunts a theater? The actors get stage fright.
  • What is a cannibal’s favorite type of TV show? A celebrity roast.
  • Who was Snow White’s brother? Egg White. Get the yolk?
  • What do you call a bunch of dancing pebbles? The Rockettes.
  • What is a Mummy’s favorite kind of music? RAGtime music! or wRAP!!!
  • When should you use milk to irrigate your fields? When you are growing creamed corn.
  • What do you get from a pampered cow? Spoiled milk.
  • What do sea monsters eat for lunch? Fish and ships.
  • Did you hear about the kid who traded his hotdog for a hamburger?? He was participating in a SWAP MEAT!!!!
  • Why did the Indian wear a wig? To keep his wigwam.
Share

This is the 6th set from a collection of 180 or so photographs taken during the 1910-1911 deployment of S.M.S. Gneisenau to the Far East. S.M.S. Gneisenau was an armored cruiser of the Kaiserliche Marine, or German Imperial Navy. For the main catalog page of this archive, including the ports and dates visited, see SMS Gneisenau Far East Photo Collection, 1910-1911.

Warning: One photo in this set (“Leichenverbrennung in Indien”) depicts human death and cremation.

Share

More comment spam jokes… My five year old likes them. :)

  • What is the biggest ant? An elephant.
  • Did you hear about the dentist who married a manicurist? They fight tooth and nail!
  • What do cats like to eat for breakfast? Mice Krispies.
  • Did you hear about the kid who traded his hotdog for a hamburger?? He was participating in a SWAP MEAT!!!!
  • Did you hear about the farmer who was found guilty of selling rotten fruit? He was judged by his pears!
  • What happens when a ghost haunts a theater? The actors get stage fright.
  • What would you get if you crossed a potato and a frog? A potatoad.
  • Why do bicycles fall over? Because they are two-tired.
  • Where does a one-armed man shop? At a second hand store.
Share