The Dark Balloon

A weblog by Hao Lian.
A journey into the soft of night.
A terrible secret guarded by golems.

§
You had me at math design.

The mathdesign package matches Charter, Utopia, and Garamond with more apropo math fonts, bringing them out of the Computer Modern-imposed oppression of yesteryear. What I love about the package is how it just works and how much I’ve missed it all this time.

[(2008 February 12) .]

Recent comments (HAO, Jammies.) • (Tim, Jammies.) • (Prashanth, Wedding.) • (Hao, Hands.) • (Prashanth, Hands.).

Recent posts (03/18, The Daily Show: Oscar Romero and textbooks.) • (02/03, Butter-related greetings.) • (01/18, Happy Martin Luther King, Jr. day.) • (01/18, Chances, part one.) • (01/02, Jammies.).

§
Back when arms were bronzed with olive oil and chests were chiseled with fury.

Some people post .emac files. Some people post .vimrc files. Real men post their LaTeΧ style files. This is mine. (I’ve added the \documentclass so that you know I am rh33t enough to use the memoir class, which would be more aptly titled “panacea.” That and the first few lines are just for context and would not really exist in a style file. Style file. Style file.)

By the way, I have yet to comprehend how to set margins with the memoir document class. You think a 300+ page manual would give a simple example for one-inch margins on all sides, but no. I guess you just can’t beat the geometry package.

\documentclass[article, oneside, twocolumn]{memoir}
\usepackage{amsmath, amssymb, charter, booktabs, graphicx}
\author{Me}
\title{About me}
\usepackage[margin={0.75in, 1in}]{geometry}

% Header.
\makepagestyle{dance}
\makeoddhead{dance}{Me}{}{\thepage}
\makeheadrule{dance}{\textwidth}{\normalrulethickness}
\pagestyle{dance}

% Figures.
\captionnamefont{\scshape}
\captiontitlefont{\itshape\raggedright}
\captiondelim{. }
\captionstyle[\centering]{\raggedleft}
\indentcaption{1em}

\newcommand{\ecoli}{\emph{E. coli}}
% Forget chapter numbering.
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\maketitle}{%
  \Large \textbf{\thetitle} \par \theauthor \par
}

% Bibliography.
\usepackage[sort&compress, numbers]{natbib}
\setlength{\bibsep}{0pt}
\bibliographystyle{abbrvnat}

\usepackage{color}
\definecolor{BWFBlue}{cmyk}{0.98,0.63,0,0.53}
\definecolor{BWFGreen}{cmyk}{0.10,0,0.67,0.46}
\definecolor{BWFRed}{cmyk}{0,0.9,0.85,0.27}
\usepackage[final, colorlinks=true, linkcolor=BWFBlue,
  citecolor=BWFGreen, urlcolor=BWFRed, pdftitle={\thetitle},
  pdfauthor={\theauthor}, pdfstartview={FitH}]{hyperref}

% booktabs.
\heavyrulewidth=.125em
[(2008 February 11) .]
[(2008 January 10) .]
[(2007 December 31) .]

§
Glaze.

S/F/A/C is an abbreviation of “suppose for a contradiction.” Omega is the set of natural numbers. A set is finite if it is equivalent to omega capped at a certain number; that is, if there exists a 1-1 correspondence (bijection) between it and the capped omega. Bijections are functions that are both surjective and injective.

http://www.flickr.com/photos/essayist/516837575/
[(2007 May 27, 5!) .]