<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-3204918892069564245</id><updated>2009-11-07T10:56:32.496-05:00</updated><title type='text'>Secondary Qualities</title><subtitle type='html'>The blog of Charles Pence.  For more non-blog content, head to &lt;a href="http://www.charlespence.net/"&gt;my website&lt;/a&gt;.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://secondaryqualities.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-7496748339683095087</id><published>2009-11-06T18:51:00.000-05:00</published><updated>2009-11-06T18:51:55.013-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='humor'/><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='evolution'/><title type='text'>Well, as long as that's clear</title><content type='html'>I mean, I was worried that intelligent design was just creationism in disguise. &amp;nbsp;But now we don't have to worry about it, because &lt;a href="http://blog.jmlynch.org/2009/11/06/it-has-nothing-to-do-with-religion-honest/"&gt;Bill Dembski rationally, intellectually defends intelligent design…from a bible&lt;/a&gt;. &amp;nbsp;Wait…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-7496748339683095087?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/7496748339683095087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/7496748339683095087'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/11/well-as-long-as-thats-clear.html' title='Well, as long as that&apos;s clear'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-6107802763282927346</id><published>2009-11-05T14:56:00.000-05:00</published><updated>2009-11-05T14:56:05.943-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='website'/><title type='text'>TeX articles moved to the blog</title><content type='html'>As you can see, I've packed up the LaTeX articles from the "Technology" section of my website and moved them over here to my blog. &amp;nbsp;Two main reasons – first, they don't really fit the rest of my professional website (they're more &lt;i&gt;like&lt;/i&gt;&amp;nbsp;blog content, if you will), and secondly, I'm about to redesign my professional website, and I don't want to make room for them.&lt;br /&gt;&lt;br /&gt;So those three articles will be available for posterity here. &amp;nbsp;I'll be writing a few more in the coming weeks and months – I'm slowly being converted over to XeLaTeX, with its slick handling of OpenType fonts, and I'll probably write something up about it, since it smoothes over what's probably the single most annoying feature of old-fashioned PDFLaTeX.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-6107802763282927346?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/6107802763282927346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/6107802763282927346'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/11/tex-articles-moved-to-blog.html' title='TeX articles moved to the blog'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-5205085538282380661</id><published>2009-11-05T14:53:00.000-05:00</published><updated>2009-11-05T14:53:11.956-05:00</updated><title type='text'>Advanced LaTeX Typesetting</title><content type='html'>So, this is essentially the saga of how I typeset my Princeton undergraduate senior thesis. Several people have expressed interest in seeing how it was done, so I figured I’d write up my collected wisdom as an article here. I’ll present this material as an annotated version of the document preamble.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;\documentclass[10pt,twoside]{book}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;I decided to use the book class here, as I needed chapter divisions. Article would have worked just as well. The 10pt specifier really isn’t used, but it’s what I started with, so I left it in.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% This implements margin kerning and font expansion to tweak the&lt;br /&gt;% visual layout just a touch&lt;br /&gt;\usepackage[activate={true,nocompatibility},final]{microtype}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is a package that implements a few really ingenious extensions in PDFLaTeX. If you’re using that to produce your output PDFs (and you should be), this will implement margin kerning (allowing certain letters to stick outside the margin to trick the eye into perceiving a straight margin) and microtypographic font size changes (making a few individual letters larger and smaller by fractions of a point in order to make the “color” of the page more uniform overall). Also used for letterspacing (but see the caveat below).&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Page size&lt;br /&gt;\usepackage[pdftex]{geometry}&lt;br /&gt;\geometry{scale=1,paperwidth=6in,paperheight=9in,&lt;br /&gt;bindingoffset=0in,top=.6667in,inner=1in,width=4in,height=6.8in}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is a simple call to the geometry package to set the page size. I chose to typeset the book in 6x9 inch format, and use what is an approximately golden-rule proportioned main text block.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Font packages: Sabon for text, Euler for math, include the RSFS&lt;br /&gt;% font for the \mathscr environment, and drop caps.  Add a command&lt;br /&gt;% to enable lining figures.  Also, Fourier ornaments.&lt;br /&gt;\usepackage[LY1]{fontenc}&lt;br /&gt;\renewcommand{\rmdefault}{psb}&lt;br /&gt;\usepackage[LY1]{eulervm}&lt;br /&gt;\renewcommand{\rmdefault}{psbj}&lt;br /&gt;\usepackage{mathrsfs,lettrine}&lt;br /&gt;\newcommand{\textpl}{\usefont{LY1}{psb}{m}{n}}&lt;br /&gt;\DeclareMathSizes{11}{11}{6}{4}&lt;br /&gt;\usepackage{fourier-orns}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is the selection of my fonts. I purchased&amp;nbsp;&lt;a href="http://www.adobe.com/type/browser/P/P_1392.html"&gt;Adobe Sabon&lt;/a&gt;, and followed something like this&amp;nbsp;&lt;a href="http://www.math.mun.ca/~dapike/opentypefonts.shtml"&gt;OpenType font installation guide&lt;/a&gt;&amp;nbsp;for converting the fonts into PostScript. The first command enables the LY1 font encoding, and the second temporarily sets the default font to the proportional-number (full-height numbers) version of the font. Then, the Euler math font package is loaded, as it balances well with Sabon. The proportional font package is loaded before this so the Euler math packages takes the full-height numbers from that font for use in math mode. Then, the proper old-style figure font is selected.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;UPDATE 5/12/09:&lt;/em&gt;&amp;nbsp;If you’re using Sabon, and particularly the Sabon OpenType fonts that I mention above, I can now very highly recommend&amp;nbsp;&lt;a href="http://www.gaehrken.de/fonts/index.html"&gt;Michael Gaehrken’s page&lt;/a&gt;&amp;nbsp;with really nice packages for both Sabon itself and a really fine-looking Sabon math mode.&lt;br /&gt;&lt;br /&gt;Several things could make this process a little different. First, if you don’t use the Euler math font package (others include the&amp;nbsp;&lt;a href="http://www.ctan.org/tex-archive/help/Catalogue/entries/mathdesign.html"&gt;Mathdesign&lt;/a&gt;&amp;nbsp;package that has Utopia, Garamond, and Charter math, or the Minion Pro math package), your math package might provide its own numbers. Alternately, you might want to see if you like the Euler numbers themselves, by adding the “euler-digits” option to the eulervm package. Regardless, if you don’t need the digits from your text font, you don’t need to set twice—just set it to “psbj” (or the appropriate code for your font) after ading the fontenc package.&lt;br /&gt;&lt;br /&gt;Also, one reported source of problems when creating a new set of TeX fonts is an incomplete .fd file. In my TeX installation, the .fd files are located in tex/latex/sabon under the local TeX tree. The .fd file should contain many lines of the form “”, with psb perhaps substituted for your own font family. The two options after “psb” (the “m” and “n” above) are the various font weights and shapes, respectively. Unless you have a&amp;nbsp;&lt;em&gt;very&lt;/em&gt;&amp;nbsp;complete font package (like the phenomenally extensive, beautiful, and pricey&amp;nbsp;&lt;a href="http://www.linotype.com/53159/sabonnext-family.html"&gt;Sabon Next&lt;/a&gt;), you will probably only have fonts for the varieties “m/n”, “m/sc”, “m/it”, “b/n”, and “b/it”. This, however, is not enough to satisfy TeX. You’ll need to have aliases such that all the following varieties are available:&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;m/n&lt;br /&gt;m/sc&lt;br /&gt;m/it&lt;br /&gt;b/n&lt;br /&gt;b/it&lt;br /&gt;m/sl&lt;br /&gt;b/sl&lt;br /&gt;bx/n&lt;br /&gt;bx/it&lt;br /&gt;bx/sl&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;The shape “sl” above is “slanted,” which I’ve generally aliased to “it”, and the “bx” weight is “bold extended width,” which I’ve aliased to “b”. An individual alias line should look something like:&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;\DeclareFontShape{LY1}{psb}{b}{it}{ &amp;lt;-&amp;gt;ssub * psb/b/n}{}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;In this line, I’ve aliased psb/b/it (bold italics) to psb/b/n, since the version of Sabon I purchased doesn’t contain a bold-italic variant. Make sure your font has all the appropriate varieties defined, and you should save yourself much headache later.&lt;br /&gt;&lt;br /&gt;Finally, we load a few generic packages (mathrsfs for the calligraphic font and lettrine for large initial capitals), and define a command for when we want to temporarily switch to proportional figures. The DeclareMathSizes command increases the size of sub- and superscripts, which seemed a touch too small throughout the work. Finally, fourier-orns includes a nice selection of ornaments, one of which appears on the title page.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Letterspacing&lt;br /&gt;\newcommand{\spacecaps}[1]{\textls[200]{\MakeUppercase{#1}}}&lt;br /&gt;\newcommand{\spacesc}[1]{\textls[50]{\textsc{\MakeLowercase{#1}}}}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This sets up commands that will letterspace both capitals and small caps, something that should be done for all extended runs of all caps and small caps in a work.&amp;nbsp;&lt;em&gt;NOTE!&lt;/em&gt;&amp;nbsp;The textls command is provided by the microtype package, and uses letterspacing implemented in the core of PDFLaTeX. However, this requires a VERY NEW version of PDFLaTeX—you will either need to compile a new binary from&amp;nbsp;&lt;a href="http://www.tug.org/applications/pdftex/"&gt;the PDFTeX source&lt;/a&gt;, or download at least version 2007 of&amp;nbsp;&lt;a href="http://www.tug.org/texlive/"&gt;TeX Live&lt;/a&gt;. Otherwise, you can try to use the older and significantly more liable to break “soul” package. I warn you, though, that downloading the latest PDFLaTeX build will save MUCH consternation.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Paragraph indentation&lt;br /&gt;\parindent=11pt&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Set the paragraph indent to 1em.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% AMS math classes&lt;br /&gt;\usepackage{amsmath,amssymb}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Not sure if I ever used anything in these packages, but I include them in every document I write.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Nice tables, and the ability to set them sideways&lt;br /&gt;\usepackage{tabularx,booktabs,rotating}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;The tabularx package allows natural table column sizing, and the&amp;nbsp;&lt;a href="http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"&gt;booktabs package documentation&lt;/a&gt;&amp;nbsp;should be required reading for anyone who ever typesets a table. The rotating package allows one to set a table sideways, and it also automatically knows to rotate a table to the “outside” of a two-sided work like a book.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Format the ToC&lt;br /&gt;\usepackage[titles]{tocloft}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is a great package for controlling the formatting of the table of contents. See its usage below.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Figures and graphics&lt;br /&gt;\usepackage[captionskip=11pt]{subfig}&lt;br /&gt;\usepackage{graphicx}&lt;br /&gt;\usepackage[all]{xy}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;I use the subfig package for subfigures, and the standard graphicx package for graphics. The XY-pic package is great for making small on-the-fly line drawings using nothing but TeX source.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Proper title formatting&lt;br /&gt;\usepackage[rm,tiny,raggedright]{titlesec}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is the package that allows one to easily change the formatting of section titles. The more detailed configuration for that formatting is below, but the default options here set titles to text-size by default, turn off bold-face, and set ragged-right.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Footnote config&lt;br /&gt;\usepackage[norule,splitrule,multiple]{footmisc}&lt;br /&gt;\makeatletter&lt;br /&gt;\renewcommand\@makefnmark{\@textsuperscript{\@textsuperscript{\@thefnmark}}}&lt;br /&gt;\renewcommand\@makefntext[1]{%&lt;br /&gt;     \parindent 1em%&lt;br /&gt;    \noindent&lt;br /&gt;    \hb@xt@1.3em{\hss\normalfont\@thefnmark.} #1}&lt;br /&gt;\def\splitfootnoterule{\kern-3\p@ \hrule width 1in \kern2.6\p@}&lt;br /&gt;\makeatother&lt;br /&gt;\renewcommand\footnotesize{\fontsize{8}{10} \selectfont}&lt;br /&gt;\renewcommand{\thefootnote}{\textpl{\arabic{footnote}}}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This block configures the typesetting of footnotes. First, we load the footmisc package, whose sole purpose is to make the horizontal rule above footnotes behave properly—the rule should only appear above a footnote that has been continued from a previous page, unlike the normal TeX method of placing a rule before every block of footnotes. The redefinition of makes footnote numbers smaller (by making them double-superscript). The redefinition of changes the body of the footnote itself to actually display as “1. Text” instead of “&lt;superscript 1=""&gt;Text”. The “splitfootnoterule” command sets the width of the footnote rule. The “footnotesize” sets a proper size for footnotes, and the “thefootnote” command causes the footnote numbers to be set in proportional (not old-style) figures.&lt;/superscript&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Bibliography and its configuration&lt;br /&gt;\usepackage[round,comma,authoryear,sort&amp;amp;compress]{natbib}&lt;br /&gt;\makeatletter&lt;br /&gt;\let\@internalcite\cite&lt;br /&gt;\def\cite{\citep}&lt;br /&gt;\def\shortcite{\citeyearpar}&lt;br /&gt;\makeatother&lt;br /&gt;\renewcommand{\bibsection}{\chapter*{Bibliography}&lt;br /&gt;  \addcontentsline{toc}{chapter}{\numberline {}Bibliography}}&lt;br /&gt;\setlength{\bibhang}{0.25in}&lt;br /&gt;\setlength{\bibsep}{13pt}&lt;br /&gt;\bibpunct{(}{)}{;}{a}{}{,}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;The natbib command sets up the first part of the bibliography formatting. I wanted to use author-date citations, and allow the ability to remove the author’s name from the citation and print only the year. The command is redefined to print (Author 2007) and the command will produce just (2007). That effect is produced by the natbib package options, the redefinition of the cite commands, and the bibpunct command. Finally, the bibsection redefinition does a complicated method to make the bibliography properly appear in the table of contents, and the bibhang and bibsep commands are cosmetic formatting options.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% So I can change dash type at will later if I so desire&lt;br /&gt;\newcommand{\h}{ -- }&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;On the advice of&amp;nbsp;&lt;a href="http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881792063/a"&gt;Robert Bringhurst&lt;/a&gt;&amp;nbsp;[editorial comment: READ THIS BOOK], I decided early on to give up the long em dash in place of the spaced en dash. I wanted the ability to change my mind later, so I defined the command. It’s no longer than typing the dash in by hand to simply type in the command itself, so I decided to leave it in.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Headers&lt;br /&gt;\usepackage{fancyhdr}&lt;br /&gt;\fancypagestyle{empty}{&lt;br /&gt;\renewcommand{\headrulewidth}{0pt}&lt;br /&gt;\renewcommand{\footrulewidth}{0pt}&lt;br /&gt;\fancyhf{}}&lt;br /&gt;\fancypagestyle{plain}{&lt;br /&gt;\renewcommand{\headrulewidth}{0pt}&lt;br /&gt;\renewcommand{\footrulewidth}{0pt}&lt;br /&gt;\fancyhf{}}&lt;br /&gt;\fancypagestyle{main}{&lt;br /&gt;\renewcommand{\headrulewidth}{0pt}&lt;br /&gt;\renewcommand{\footrulewidth}{0pt}&lt;br /&gt;\fancyhf{}&lt;br /&gt;\fancyfoot[LE,RO]{\thepage}}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;The fancy headers package just sets up normal book-style headers, with no gigantic rules.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Whenever I call cleardoublepage (or, chapter starts call&lt;br /&gt;% cleardoublepage), I want the cleared facing page to have no headers&lt;br /&gt;% or footers.&lt;br /&gt;\makeatletter&lt;br /&gt;\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else&lt;br /&gt;  \hbox{}&lt;br /&gt;  \thispagestyle{empty}&lt;br /&gt;  \newpage&lt;br /&gt;  \if@twocolumn\hbox{}\newpage\fi\fi\fi}&lt;br /&gt;\makeatother&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;See the comment. Whenever is forced to insert a blank page, I don’t want that page to have headers, footers, page numbers, and so on.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Section formatting, et. al.&lt;br /&gt;\titleformat{\chapter}[display]&lt;br /&gt;  {\fontsize{11}{13} \selectfont}&lt;br /&gt;  {\spacecaps{CHAPTER {\textpl{\thechapter}}}}&lt;br /&gt;  {1em}&lt;br /&gt;  {\spacecaps}&lt;br /&gt;  [\vspace{13pt} \hrule]&lt;br /&gt;\titlespacing*{\chapter}{0pt}{13pt}{13pt}&lt;br /&gt;\titleformat{\section}[hang]&lt;br /&gt;  {\fontsize{11}{13} \selectfont}&lt;br /&gt;  {\thesection}&lt;br /&gt;  {1em}&lt;br /&gt;  {\spacesc}&lt;br /&gt;\titlespacing*{\section}{0pt}{13pt}{13pt}&lt;br /&gt;\titleformat{\subsection}[hang]&lt;br /&gt;  {\fontsize{11}{13} \selectfont \itshape}&lt;br /&gt;  {\thesubsection}&lt;br /&gt;  {1em}&lt;br /&gt;  {}&lt;br /&gt;\titlespacing*{\subsection}{0pt}{6pt}{7pt}&lt;br /&gt;\newcommand{\parasep}{\begin{center}*\hspace{6em}*\hspace{6em}*\end{center}}&lt;br /&gt;\newcommand{\runinhead}[1]{\textit{#1.}\hspace{1em}}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Here’s the section title formatting. Chapter titles are two lines, one saying “CHAPTER N”, letterspaced all caps, and the next with the title of the chapter, letterspaced all caps, with 13pt leading before and 13pt leading after. Section headers are formatted letterspaced small caps, with the section number without a period (i.e. “1 SECTION”), 13pt leading before and after. Subsections are italic u&amp;amp;lc with 6pt leading before and 7pt after. I define a “parasep” command to insert a three-asterisk text separator, and a “run-in header” command to put a run-in paragraph header.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;% Table of contents formatting&lt;br /&gt;\setcounter{tocdepth}{0}&lt;br /&gt;\renewcommand{\cftdotsep}{\cftnodots}&lt;br /&gt;\renewcommand{\cftchapfont}{}&lt;br /&gt;\setlength{\cftchapnumwidth}{2.25em}&lt;br /&gt;\renewcommand{\cftchapleader}{\quad}&lt;br /&gt;\renewcommand{\cftchappresnum}{\itshape}&lt;br /&gt;\renewcommand{\cftchapaftersnum}{}&lt;br /&gt;\renewcommand{\cftchappagefont}{\normalfont}&lt;br /&gt;\renewcommand{\cftchapafterpnum}{\cftparfillskip}&lt;br /&gt;\setlength{\cftbeforechapskip}{13pt}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is my set of commands for tocloft to configure the table of contents. I only include chapters (that’s the tocdepth command), remove the dots as separators, and I do&amp;nbsp;&lt;em&gt;NOT&lt;/em&gt;&amp;nbsp;right-align the page numbers. See the PDF file for how it turns out.&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;\begin{document}&lt;br /&gt;&lt;br /&gt;% No extra spacing after periods&lt;br /&gt;\frenchspacing&lt;br /&gt;% Font sizing&lt;br /&gt;\fontsize{11}{13}&lt;br /&gt;\selectfont&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is the only code that needs to come after the beginning of the proper document. Set the “frenchspacing” command to disable extra spacing after periods at the end of sentences. This is an old, antequated typesetting convention, and shouldn’t be used in modern documents. Then we set the actual font size, and away we go!&lt;br /&gt;&lt;br /&gt;The only other thing that one might find interesting is the custom bibliography style I produced for this. It’s based loosely on the Journal of Symbolic Logic bibliography format, and I updated it to set a three-em dash on repeated authors, and standardize things a little better across quite a few document types. Again, see the thesis PDF for how it looks in the end.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.charlespence.net/blog-files/cpence.bst"&gt;Download the BST file.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-5205085538282380661?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/5205085538282380661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/5205085538282380661'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/11/advanced-latex-typesetting.html' title='Advanced LaTeX Typesetting'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-887740215135991334</id><published>2009-11-05T14:48:00.001-05:00</published><updated>2009-11-05T14:49:39.060-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><title type='text'>LaTeX and Tableaux</title><content type='html'>&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;For my PHI 340 at Princeton, I found myself needing to typeset lots of tableaux-style proofs in the style of our textbook,&amp;nbsp;&lt;em&gt;Possibilities and Paradox, An Introduction to Modal and Many-Valued Logic&lt;/em&gt;&amp;nbsp;by Beall and van Fraassen. The same sorts of tableaux proofs appear in Tomassi’s&amp;nbsp;&lt;em&gt;Logic&lt;/em&gt;. &amp;nbsp;Here's a tutorial teaching you how to typeset them in LaTeX, using a couple of freely-available packages.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;First of all, it’s assumed that the reader is already familiar with the LaTeX typesetting system and its various and sundry intricacies. It’s a fairly difficult thing to learn, but once you’ve got it, it’s incredibly useful. For those looking to get started, I just happen to have a tutorial &lt;a href="http://secondaryqualities.blogspot.com/2009/11/introduction-to-latex.html"&gt;published on this very blog&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Qtree, the tree-making package I’m using in this document, is part of TeX Live. If you aren’t using TeX Live, however, you’ll need to download qtree&amp;nbsp;&lt;a href="http://www.ling.upenn.edu/advice/latex/qtree/"&gt;from the author’s site&lt;/a&gt;. For *nix users, drop this file into your texmf tree, usually located at&amp;nbsp;&lt;code&gt;/usr/share/texmf&lt;/code&gt;, in the&amp;nbsp;&lt;code&gt;tex/latex/qtree&lt;/code&gt;&amp;nbsp;folder, and do whatever you need to do to make your TeX distribution update its filename cache. For MiKTeX on Windows, assuming you took the default install location of the texmf folder (&lt;code&gt;c:\texmf&lt;/code&gt;), make a new directory at&amp;nbsp;&lt;code&gt;c:\texmf\tex\latex\qtree&lt;/code&gt;&amp;nbsp;and drop qtree.sty there. Then, go to Start -&amp;gt; Programs -&amp;gt; MiKTeX -&amp;gt; MiKTeX Options and click “Refresh Now” under “File name database” on the first screen.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;With that out of the way, we’re ready to actually start creating some documents. The qtree syntax takes a bit of getting used to at first, but all in all, the structure of the LaTeX document pretty effectively mirrors the final structure of the tree.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;To begin, create a basic LaTeX document in your normal manner. I’d recommend 12pt in the document type, or you’ll run into some readability problems.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;In case you’ve never typeset any sort of formal logic in LaTeX before, here’s the full set of logical connectives and symbols that you should be concerned with:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;" xml:space="preserve"&gt;&lt;code&gt;$\neg$ : unary not (the "hook" variety)&lt;br /&gt;$\mathord{\sim}$ : unary not (the "tilde" variety)&lt;br /&gt;$\square$ : modal "box"&lt;br /&gt;$\lozenge$ : modal "diamond"&lt;br /&gt;$\lor$ : wedge&lt;br /&gt;$\land$ : caret&lt;br /&gt;$\supset$ : horseshoe&lt;br /&gt;$\equiv$ : tribar&lt;br /&gt;&lt;br /&gt;$\otimes$ : circled X (closed tree branch)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;em&gt;UPDATE 2/4/08:&lt;/em&gt;&amp;nbsp;I’ve added a formatted symbol (using the custom math symbol commands) thanks to Kevin Klement that provides a proper “tilde” unary-not symbol, in addition to the “hook” unary-not symbol that was already listed. Thanks!&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Two more notes I almost forgot: to get this full set of symbols, you’ll need to be sure to include the amssymb, latexsym, and amsmath packages. Also, qtree uses PostScript specials, which means PDFLaTeX refuses to process such documents. You’ll need to do standard LaTeX and then run dvi2pdf or ps2pdf to get PDF files (both those programs should come with any reasonably decent TeX implementation).&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;With the preliminaries now fully out of the way, let’s start creating some trees. First a big, relatively daunting example from my latest problem set:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;a href="http://www.charlespence.net/blog-files/tab-image1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.charlespence.net/blog-files/tab-image1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Which is generated by the following block of LaTeX:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;" xml:space="preserve"&gt;&lt;code&gt;\vspace{\baselineskip}&lt;br /&gt;\Tree&lt;br /&gt;[.{\framebox{$\neg(\lozenge(p \lor q) \supset (\lozenge p \lor \lozenge q)), w_0$}}&lt;br /&gt;[.{\framebox{$\lozenge(p \lor q), w_0$} \\&lt;br /&gt;\framebox{$\neg(\lozenge p \lor \lozenge q), w_0$}}&lt;br /&gt;[.{$w_0 R w_1$ \\&lt;br /&gt;\framebox{$p \lor q, w_1$}}&lt;br /&gt;[.{\framebox{$\neg \lozenge p, w_0$} \\&lt;br /&gt;\framebox{$\neg \lozenge q, w_0$}}&lt;br /&gt;[.{$\square \neg p, w_0$ \\&lt;br /&gt;$\square \neg q, w_0$}&lt;br /&gt;[.{$\neg p, w_1$ \\&lt;br /&gt;$\neg q, w_1$}&lt;br /&gt;[.{$p, w_1$} [.$\otimes$ ] ]&lt;br /&gt;[.{$q, w_1$} [.$\otimes$ ] ]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;\vspace{\baselineskip}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;As I said above, this is meant to look relatively daunting. The actual construction of trees such as this is relatively simple. Let’s walk through writing the tree given as an example on p. 40 of BvF, which tests the following argument: is the following set satisfiable (in a language with no restrictions on the world-relationship R)?&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;a href="http://www.charlespence.net/blog-files/tab-eqnset.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.charlespence.net/blog-files/tab-eqnset.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;So, to begin, we start by writing the following code, which sets out our premises on the trunk of the tree:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;a href="http://www.charlespence.net/blog-files/tab-image2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.charlespence.net/blog-files/tab-image2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;" xml:space="preserve"&gt;&lt;code&gt;\Tree&lt;br /&gt;[ .{$(p \supset q)$ \\&lt;br /&gt;$(r \lor \neg q)$ \\&lt;br /&gt;$\neg r$ \\&lt;br /&gt;$\neg p$}&lt;br /&gt;]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;A few things to be careful of here: Note that the entire contents of a tree node must be surrounded by curly braces (a convention not entirely unfamiliar to LaTeX users), and also note the period before the starting curly brace. The best way to continue the explanation is by example. Now, following standard tableaux rules for CPL, we box the first formula and create the two branches at the lowest level of the tree:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;a href="http://www.charlespence.net/blog-files/tab-image3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.charlespence.net/blog-files/tab-image3.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;" xml:space="preserve"&gt;&lt;code&gt;\Tree&lt;br /&gt;[ .{\framebox{$(p \supset q)$} \\&lt;br /&gt;$(r \lor \neg q)$ \\&lt;br /&gt;$\neg r$ \\&lt;br /&gt;$\neg p$}&lt;br /&gt;[.{$\neg p$}&lt;br /&gt;]&lt;br /&gt;[.{$q$}&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Notice that we simply start two new branches after the closing brace of the contents of the current node. Both of these branches look exactly the same as the trunk, beginning with a period and with their contents surrounded by curly braces. Also note the&amp;nbsp;&lt;code&gt;\framebox&lt;/code&gt;&amp;nbsp;command to box the first formula, and the fact that even in nodes with only one formula, I go ahead and return/indent the closing bracket of the node, which makes it easier to add subnodes later on. Now, box the second formula, and add those new branches to the two lowest levels of the tree in exactly the same manner as before:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;a href="http://www.charlespence.net/blog-files/tab-image4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.charlespence.net/blog-files/tab-image4.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;" xml:space="preserve"&gt;&lt;code&gt;\Tree&lt;br /&gt;[.{\framebox{$(p \supset q)$} \\&lt;br /&gt;\framebox{$(r \lor \neg q)$} \\&lt;br /&gt;$\neg r$ \\&lt;br /&gt;$\neg p$}&lt;br /&gt;[.{$\neg p$}&lt;br /&gt;[.{$r$}&lt;br /&gt;]&lt;br /&gt;[.{$\neg q$}&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;[.{$q$}&lt;br /&gt;[.{$r$}&lt;br /&gt;]&lt;br /&gt;[.{$\neg q$}&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Of course, at this point, branches one, three, and four are closed off, with branch two remaining open (and thus this set is satisfiable). The tree is finished like so:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;a href="http://www.charlespence.net/blog-files/tab-image5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.charlespence.net/blog-files/tab-image5.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;" xml:space="preserve"&gt;&lt;code&gt;\Tree&lt;br /&gt;[.{\framebox{$(p \supset q)$} \\&lt;br /&gt;\framebox{$(r \lor \neg q)$} \\&lt;br /&gt;$\neg r$ \\&lt;br /&gt;$\neg p$}&lt;br /&gt;[.{$\neg p$}&lt;br /&gt;[.{$r$}&lt;br /&gt;[.$\otimes$ ]&lt;br /&gt;]&lt;br /&gt;[.{$\neg q$}&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;[.{$q$}&lt;br /&gt;[.{$r$}&lt;br /&gt;[.$\otimes$ ]&lt;br /&gt;]&lt;br /&gt;[.{$\neg q$}&lt;br /&gt;[.$\otimes$ ]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Not too terribly hard, no? For the sake of examples, I’m going to provide the TeX files both for a basic introduction that is essetially a LaTeX form of this document.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://www.charlespence.net/blog-files/qtree-examples.tex"&gt;TeX source&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://www.charlespence.net/blog-files/qtree-examples.pdf"&gt;PDF output&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;If you have any questions, feel free to e-mail me. Happy typesetting!&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-887740215135991334?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/887740215135991334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/887740215135991334'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/11/latex-and-tableaux.html' title='LaTeX and Tableaux'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-8051241118011775441</id><published>2009-11-05T14:38:00.001-05:00</published><updated>2009-11-06T20:19:51.798-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>An Introduction to LaTeX</title><content type='html'>So you want to typeset a document with lots of math, and you don’t want it to look like&amp;nbsp;&lt;code&gt;x + y^2 = 4z&lt;/code&gt;. No, you actually want it to look like your textbook. Well, you’re in luck. In all likelihood, the program the authors of your textbook used to write it is a handy little tool called LaTeX (‘LAY-tech’). There’s all sorts of history here involving LaTeX’s author (Knuth), the programming of TeX, the book that is the TeX source code (yes, the entire source code to TeX is actually a book that you can buy), but that’s for another time and place. Or some kind of computer science lecture or something. You just want to draw pretty integrals, right? Right. So let’s get to it.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Before we start, a brief note. This isn’t necessarily the easiest thing to do in the world, nor is TeX the easiest thing to learn. However, if you don’t have too solid of computer skills, this is a great time to start learning— especially if you’re going to be in the sciences or in math, you’ll have to use computers in a relatively advanced manner, all the time. So, even if you have to struggle through this, it’ll be good for you. No, really. Like eating your vegetables.&lt;br /&gt;&lt;br /&gt;To get LaTeX, go to the&amp;nbsp;&lt;a href="http://www.tug.org/texlive/" style="color: #4f5d4b; font-weight: bold; text-decoration: underline;"&gt;TeX Live&lt;/a&gt;&amp;nbsp;website if you have Windows, the&amp;nbsp;&lt;a href="http://www.tug.org/mactex/" style="color: #4f5d4b; font-weight: bold; text-decoration: underline;"&gt;MacTeX&lt;/a&gt;&amp;nbsp;website for a Macintosh (running OS X), and either the TeX Live website or your package manager if you’re running Linux. Get the full TeX Live package, and install it (warning: this is a large download and a long install).&lt;br /&gt;&lt;br /&gt;Now you need a good editor in which to write TeX documents. If you’re on Windows, you have to go fetch one—I like&amp;nbsp;&lt;a href="http://www.winedt.com/" style="color: #4f5d4b; font-weight: bold; text-decoration: underline;"&gt;WinEdt&lt;/a&gt;, and people have recommended&amp;nbsp;&lt;a href="http://www.texniccenter.org/" style="color: #4f5d4b; font-weight: bold; text-decoration: underline;"&gt;TeXnicCenter&lt;/a&gt;. On Mac, you got TeXShop for free with your TeX installation, which works pretty nicely. On Linux, you probably already have a favorite text editor (Emacs has really nice TeX support, as does vim), and you probably know how to use the terminal, so you’re set.&lt;br /&gt;&lt;br /&gt;So, with that, let’s write our very first TeX document. Fire up your editor and fill a new document with the following:&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;\documentclass[letterpaper,12pt]{article}&lt;br /&gt;&lt;br /&gt;\usepackage[left=1in,right=1in,top=1.25in,bottom=1.25in]{geometry}&lt;br /&gt;\usepackage[T1]{fontenc}&lt;br /&gt;\usepackage{amsmath,amsthm}&lt;br /&gt;\usepackage{amsfonts}&lt;br /&gt;\usepackage{amssymb}&lt;br /&gt;&lt;br /&gt;\newtheorem{thm}{Theorem}&lt;br /&gt;\newtheorem{prp}{Proposition}&lt;br /&gt;\newtheorem{lem}{Lemma}&lt;br /&gt;&lt;br /&gt;\title{How to Take Over the World in 30 Days}&lt;br /&gt;\author{Dr. Claw}&lt;br /&gt;&lt;br /&gt;\begin{document}&lt;br /&gt;\maketitle&lt;br /&gt;&lt;br /&gt;\section{Getting Started}&lt;br /&gt;&lt;br /&gt;Firstly, you need a world-domination plan. These may be&lt;br /&gt;purchased at your local bookstore, or the very creative&lt;br /&gt;can come up with one on their own.&lt;br /&gt;&lt;br /&gt;\end{document}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Save this file as paper.tex (I‘d recommend having a different folder somewhere on your computer for&amp;nbsp;&lt;em&gt;each&lt;/em&gt;&amp;nbsp;TeX document you make, because TeX will produce a lot of output files). Now, compile the document. [WinEdt: click the brown-dog-thing with a red curly-cue behind it; Mac: click the ’Typeset’ button; Linux: go to the command-line and type&amp;nbsp;&lt;code&gt;pdflatex paper.tex&lt;/code&gt;.] This will magically create a PDF file out of the above document. [WinEdt and TeXShop will open it for you automatically, Linux users run&amp;nbsp;&lt;code&gt;xpdf paper.tex&lt;/code&gt;.] Astute readers will immediately recognize the font here as that in which every single PDF set of lecture notes for every math class is written. Several things about the template we’ve already got. The first line tells LaTeX that you’re writing an article, which is the right kind of document for most academic papers, and sets the font size and paper size. The next block of five lines loads up packages, which, in TeX parlance, are add-ons that do different things. The first sets page margins, the second is a technical upgrade for nicer fonts, and the last three load useful math packages. The&amp;nbsp;&lt;code&gt;\newtheorem&lt;/code&gt;&amp;nbsp;lines create things we’ll use later to write Theorems, Propositions, and Lemmas (shock). The title and author lines are processed by the&amp;nbsp;&lt;code&gt;\maketitle&lt;/code&gt;&amp;nbsp;command below to produce the title block on the first page, so set them accordingly. The&amp;nbsp;&lt;code&gt;\begin{document}&lt;/code&gt;&amp;nbsp;and&lt;code&gt;\end{document}&lt;/code&gt;&amp;nbsp;are the first and last lines of the actual paper. Right after&amp;nbsp;&lt;code&gt;\begin{document}&lt;/code&gt;&amp;nbsp;should always be&amp;nbsp;&lt;code&gt;\maketitle&lt;/code&gt;, so TeX can write your title block/title page in your document. Now, we get to actually writing LaTeX.&lt;br /&gt;&lt;br /&gt;First off, your document is divided into sections by the&amp;nbsp;&lt;code&gt;\section&lt;/code&gt;&amp;nbsp;command. We’ve defined one section right off. You can define as many as you want—try copying and pasting the section command/paragraph and changing the section header. You’ll note that TeX numbers them automatically and formats them specially, all without you actually having to tell it how to do that formatting. Starting to see the beauty of the system? Good. Now, straight text in LaTeX is pretty easy. First of all, you can’t add white space between lines or paragraphs just by pressing return. Try typing the following lines to get a feel for how the paragraphs work in TeX:&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt; This&lt;br /&gt; is&lt;br /&gt; all&lt;br /&gt; on&lt;br /&gt; one&lt;br /&gt; paragraph&lt;br /&gt;&lt;br /&gt; This is all on a new paragraph.&lt;br /&gt;&lt;br /&gt; This too is a new paragraph. Note the blank line between&lt;br /&gt; the lines of text. That makes it start a new paragraph.&lt;br /&gt; But one&lt;br /&gt; return&lt;br /&gt; doesn't.&lt;br /&gt;&lt;br /&gt; See though, even though I try to put&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Lots of space between paragraphs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; It doesn't do anything.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;This is one of the guiding principles of TeX—how you format things in your TeX file has little or nothing to do with the exact formatting of the final document. Get used to it, it’s actually kinda nice.&lt;br /&gt;Okay, I hear you say, now I can write great English essays in this thing, but where’s the math? Right, right, here we go then. First off, you should know that there are basically three ways to type math in a TeX file. Here’s a little demonstration:&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;This math will be typeset $x+5 = y-3$ right in the middle&lt;br /&gt;of the paragraph, or what's called ``inline''. Also, notice that&lt;br /&gt;those quotation marks are funny. That makes TeX make nice&lt;br /&gt;typographically-correct quotation marks, so use those things&lt;br /&gt;instead of shift-apostrophe. This formula coming up will be&lt;br /&gt;numbered and centered:&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;x^2 + 4(x - 5)^4 = 3^{x^2}&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;br /&gt;If you don't want it numbered, add a star to the equation&lt;br /&gt;environment, like this:&lt;br /&gt;&lt;br /&gt;\begin{equation*}&lt;br /&gt;x^2 + 4(x - 5)^4 = 3^{x^2}&lt;br /&gt;\end{equation*}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Note that the math code between&amp;nbsp;&lt;code&gt;$$&lt;/code&gt;&amp;nbsp;is inline, and between&amp;nbsp;&lt;code&gt;\begin/end{equation}&lt;/code&gt;&amp;nbsp;is typeset in the middle of the page, but there’s absolutely no difference between the math code between those delimiters— i.e. if you see me write somehwere else in the document that you do something between dollar signs or between equation tags, you can still use it between equation tags or dollar signs, respectively—these just change how the math is placed on the page. There’s also a more complicated environment you can use to write multiple equations in a row and line them up vertically on their equals sign, but it’s beyond the scope of this guide. Google “latex align” and you’ll find it.&lt;br /&gt;&lt;br /&gt;So there’s a lot of math syntax to digest there. First, you can see that the simple syntax for raising things to a power is&amp;nbsp;&lt;code&gt;x^2&lt;/code&gt;&amp;nbsp;(that’s caret, or shift–6 on your keyboard). Also, if you want to raise to a power that’s not just a number, you have to put the argument in curly braces, like&amp;nbsp;&lt;code&gt;3^{x^2}&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code&gt;a^{(p - 1)/2}&lt;/code&gt;. You should also be shocked at how automatic all of the formatting of this math is—you don’t have to do anything but type the formula. Now, I think more math formatting is best taught by example, so here we go. I’d recommend you copy these examples into your TeX file, compile it, and read the PDF along with the TeX source:&lt;br /&gt;&lt;br /&gt;&lt;pre xml:space="preserve"&gt;&lt;code&gt;Here's one with some greek letters and subscripts, so&lt;br /&gt;you get an idea of how those work. The subscripts use an&lt;br /&gt;underscore instead of a caret, but work basically the same way.&lt;br /&gt;Note how the subscript-superscript combo works:&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;2^\alpha = \phi_0 = b_0^2&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;br /&gt;Now for number theory. First, to obtain the symbols for integers,&lt;br /&gt;rationals, etc., we type $\mathbb{Q}$, $\mathbb{C}$,&lt;br /&gt;$\mathbb{R}$, or $\mathbb{Z}/p\mathbb{Z}$. You get the&lt;br /&gt;idea. LaTeX has a builtin mod function, but it produces horrible&lt;br /&gt;output, so the thing to do is as follows. Note importantly the&lt;br /&gt;space after ``mod'' inside the text command, and that equiv&lt;br /&gt;creates the fancy triple-bar equals:&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;a \equiv 1 (\text{mod } p)&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;br /&gt;Here's an integral. Note that you set definite integral limits with&lt;br /&gt;sub and superscripts just like a variable. Also, using the sin with&lt;br /&gt;the backslash makes it typeset properly. The backslash-comma&lt;br /&gt;adds a little bit of space between the sin x and the dx to make it&lt;br /&gt;look right. Also note the square root.&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;0 = \int_0^{2\pi} \sqrt{ \sin x }\, dx&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;br /&gt;Here's a summation, which works basically the same way. Also&lt;br /&gt;notice here we introduce how to do real fractions, which also&lt;br /&gt;works for the Legendre symbol:&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;\sum_{k=1}^n k^2 = \frac{1}{2} n (n+1)&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;br /&gt;And, if you're doing any advanced calculus, here's how to a&lt;br /&gt;second derivative of u with respect to x, and then a second&lt;br /&gt;partial derivative of u with repsect to x:&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;\frac{d^2 u}{dx^2} = \frac{\partial^2 u}{\partial x^2}&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;br /&gt;The same subscripting technique as before also works for&lt;br /&gt;limits:&lt;br /&gt;&lt;br /&gt;\begin{equation}&lt;br /&gt;\lim_{x \to \infty} \frac{1}{x} = 0&lt;br /&gt;\end{equation}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;If you need some kind of random symbol that’s not listed above, it’s almost certain that it’s available in LaTeX. Download [this massive PDF file](ftp://tug.ctan.org/pub/tex-archive/info/symbols/comprehensive/symbols-letter.pdf], and you’ll have a list of basically everything you could ever want.&lt;br /&gt;&lt;br /&gt;This is about all the examples that I can think of right now. Google is your friend with LaTeX—much has been written about how this system works, and it’s pretty easy to find more information. Of course, if you have questions, you can always e-mail me. If you can think of some kind of problem you want to typeset that you can’t figure out (or that you can figure out, that you think should be on this page), e-mail it to me and I’ll add to the example collection! I hope this managed to make some sense, and you’ll find it useful. LaTeX is the best computer program since the C compiler, and I hope you find using it as easy and as holistically life-fulfilling as I do. Or something. Go write brilliant math!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-8051241118011775441?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/8051241118011775441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/8051241118011775441'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/11/introduction-to-latex.html' title='An Introduction to LaTeX'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-6307642510172709518</id><published>2009-10-25T12:58:00.003-04:00</published><updated>2009-11-05T10:11:12.944-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><title type='text'>Ah, Ayn Rand…</title><content type='html'>In case anybody ever feels like asking me about her, things like &lt;a href="http://emptywheel.firedoglake.com/2009/10/23/mark-sanford-goes-galt/"&gt;this post right here&lt;/a&gt; are why Ayn Rand is (a) not a philosopher, and (b) hilariously ludicrous.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-6307642510172709518?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/6307642510172709518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/6307642510172709518'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/10/ah-ayn-rand.html' title='Ah, Ayn Rand…'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-2432672179967136571</id><published>2009-10-21T11:44:00.003-04:00</published><updated>2009-11-05T10:09:46.656-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='teaching'/><title type='text'>A message to the universe</title><content type='html'>Dear universe, and particularly my students (past, present, and future):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Homo sapiens&lt;/span&gt; is not plural.  The singular of Homo sapiens is "one member of the species &lt;span style="font-style:italic;"&gt;Homo sapiens,&lt;/span&gt;" not "a &lt;span style="font-style:italic;"&gt;Homo sapien.&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;Thank you.  That is all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-2432672179967136571?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/2432672179967136571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/2432672179967136571'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/10/message-to-universe.html' title='A message to the universe'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-2018378905895541690</id><published>2009-08-25T16:46:00.002-04:00</published><updated>2009-11-05T10:11:12.944-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><title type='text'>On Wasting Time</title><content type='html'>Think philosophy is a waste of time?  &lt;a href="http://maverickphilosopher.typepad.com/maverick_philosopher/2009/08/on-wasting-time-with-philosophy-and-a-jab-at-pascal.html"&gt;Read this.&lt;/a&gt; [Maverick Philosopher, via Leiter.]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-2018378905895541690?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/2018378905895541690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/2018378905895541690'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/08/on-wasting-time.html' title='On Wasting Time'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-835383605823203934</id><published>2009-05-22T21:05:00.003-04:00</published><updated>2009-11-05T10:11:37.288-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='evolution'/><title type='text'>The Scopes Trial and Flea Medicine</title><content type='html'>Aww, cute puppies:&lt;br /&gt;&lt;br /&gt;&lt;object width="445" height="364"&gt;&lt;param name="movie" value="http://www.youtube.com/v/nNlt0D_xba4&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/nNlt0D_xba4&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pbs.org/wgbh/amex/monkeytrial/sfeature/pop_monkey_02.html"&gt;The original.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;WHAT&lt;br /&gt;&lt;br /&gt;[Thanks to Betty Smocovitis's talk for this gem.]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-835383605823203934?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/835383605823203934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/835383605823203934'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/05/scopes-trial-and-flea-medicine.html' title='The Scopes Trial and Flea Medicine'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-8579241156715985506</id><published>2009-05-12T11:31:00.004-04:00</published><updated>2009-11-05T14:13:35.248-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='website'/><title type='text'>Website Maintenance with Pandoc and Markdown</title><content type='html'>I've been struggling for a long time with how to properly and simply maintain a website.  The eternal dilemma seems to be this:  If you want to keep the HTML simple enough to be readily editable in a text editor, you're stuck with keeping the styling really simple.  On the other hand, a nice theme has lots of header and footer material, which makes it a nightmare to deal with editing a page on a regular basis.  You can smooth over the problem, but only if you have some heavy server power available to use stuff like PHP or server-side includes, and since my professional website is hosted on academic web servers, I don't have any control over what's happening server-side.&lt;br /&gt;&lt;br /&gt;I finally think I've got a solution, using Pandoc.  More below the fold.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;I've known about Pandoc for a while now -- I'm using it to generate the user manual materials for Logos.  But it only just dawned on me that a cautious use of Pandoc could make for a great easy-maintenance website system.  So I've got a website tree set up like this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;/&lt;br /&gt;/research&lt;br /&gt;/teaching&lt;br /&gt;/source&lt;br /&gt;/source/research&lt;br /&gt;/source/teaching&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;In the source directories are a bunch of files with ".mdtext" extension, written in Pandoc's extended Markdown language (the extension of Pandoc's which I use the most is the title block, which lets you do custom page titles).&lt;br /&gt;&lt;br /&gt;Then, at the root of the source directory, I have a bash script, which recursively does the following: (1) calls pandoc on every .mdtext file in /source/, using a different HTML header and footer depending on whether or not the page is the main index (which has a slightly different theme), (2) moves the output to the appropriate place in the directory tree, (3) runs HTML Tidy over it to sanitize Pandoc's pretty heinous HTML source, (4, and most importantly) computes the depth in the directory tree at which the .mdtext file is located, builds a string of "../../" characters, and runs sed over the HTML output, replacing $TOP with the dots.&lt;br /&gt;&lt;br /&gt;Why are the dots so important?  Well, I don't want to use any static path names in my code, since there's multiple addresses you could be using to get to my website (charlespence.net, as well as whatever current host it's on, ND at the moment).  So I need to be able to do things like refer to the stylesheet in each document, using a relative path.  But the header and footer for all the documents is the same.  So I set the href in the link tag to "$TOPstyle.css", and then have the script turn this into "style.css" or "../style.css" or "../../style.css" as the occasion requires.&lt;br /&gt;&lt;br /&gt;Finally, I can mount the Notre Dame web host using SFTP and Fuse, and use rsync (rsync -crLO -T /tmp --progress --delete) to copy the files from my local directory to the server mountpoint.  And finally I have a website system that makes things easy to maintain!&lt;br /&gt;&lt;br /&gt;Watch this space -- I'm planning to put up a little collection of history of biology resources, now that I'm teaching a course this summer and can easily do such a thing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-8579241156715985506?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/8579241156715985506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/8579241156715985506'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/05/website-maintenance-with-pandoc-and.html' title='Website Maintenance with Pandoc and Markdown'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-5942833307460363112</id><published>2009-03-07T16:36:00.003-05:00</published><updated>2009-11-05T10:12:36.041-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='evolution'/><category scheme='http://www.blogger.com/atom/ns#' term='politics'/><title type='text'>Richard Dawkins in Oklahoma</title><content type='html'>I don't normally just re-post content, but, honestly, this is hilarious.  So, Richard Dawkins is going to give a lecture in Oklahoma, and the Oklahoma Legislature &lt;a href="http://scienceblogs.com/pharyngula/2009/03/richard_dawkins_banned_in_okla.php"&gt;decides to condemn him&lt;/a&gt;.  The video of &lt;a href="http://scienceblogs.com/pharyngula/2009/03/how_did_dawkins_react_to_the_n.php"&gt;his response&lt;/a&gt;, however, is more than worth the watching.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-5942833307460363112?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/5942833307460363112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/5942833307460363112'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/03/richard-dawkins-in-oklahoma.html' title='Richard Dawkins in Oklahoma'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-2672063887361091302</id><published>2009-02-23T15:40:00.006-05:00</published><updated>2009-11-05T10:11:37.288-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='evolution'/><title type='text'>Blogging the APA Central: Day 3</title><content type='html'>I was late getting into Chicago due to a crazy snowstorm, so I only managed to catch the last bit of a morning session on experimental philosophy and naturalism, mostly filled with a talk that was at great pains to establish the following two uncontroversial claims: (i) occasionally, philosophical naturalists speak loosely, which might lead one to believe that they thought that ID and its ilk ('God Hypotheses') were actually &lt;span style="font-style: italic;"&gt;scientific,&lt;/span&gt; and (ii) if one actually &lt;span style="font-style: italic;"&gt;does&lt;/span&gt; think that such God Hypotheses are scientific, then one is being self-contradictory in espousing philosophical naturalism.  In point of fact, I agree with both.  Of course, there hasn't yet been presented a God Hypothesis that actually &lt;span style="font-style: italic;"&gt;is&lt;/span&gt; scientific, so as of yet the argument is moot.&lt;br /&gt;&lt;br /&gt;&lt;span id="fullpost"&gt;&lt;br /&gt;Over lunch there was a meeting of the North American Nietzsche Society, which featured arguments for (Richard Schacht) and against (Maudemarie Clark) the claim that Nietzsche was a Lamarckian.  [Note: for any historians or philosophers of biology, they don't &lt;span style="font-style: italic;"&gt;really&lt;/span&gt; mean Lamarckian -- they only mean belief in the inheritance of acquired characters.  Nietzsche would have been &lt;span style="font-style: italic;"&gt;nothing less&lt;/span&gt; than an actual Lamarckian, as the inherent notion of progress built into Lamarck's notion of evolution would have driven Nietzsche &lt;span style="font-style: italic;"&gt;batty.&lt;/span&gt;]  A good exchange, one that I regard as rather inconclusive.  Perhaps yet another point where Nietzsche couldn't quite make up his own mind.&lt;br /&gt;&lt;br /&gt;The highlight of the day was the debate between Plantinga and Dennett on the relationship between science and religion.  Plantinga's argument is, of course, bad, but it was presented particularly poorly (and rebutted fairly poorly as a consequence) on this occasion.&lt;br /&gt;&lt;br /&gt;Plantinga's main points, with my editorial commentary:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The claims that the earth is ancient and that descent with modification are the mechanisms of the evolution of life are compatible with theistic belief.  [I agree.]&lt;/li&gt;&lt;li&gt;The claim that the mutations which underly evolution are completely unplanned and unguided is incompatible with, at least, Christian theistic belief.  [I'm not sure if I agree or not.  I probably don't.  But I don't have a horse in that race, so I'm not very concerned with this claim.  At least in part, Plantinga's argument here seems to rely on the claim that a mutation-directing God is &lt;span style="font-style: italic;"&gt;not part of an organism's environment,&lt;/span&gt; which seems absolutely preposterous.]&lt;/li&gt;&lt;li&gt;Further, evolutionary theory doesn't require such completely random mutations.  [Indeed, in some sense.  See Dennett's reply below.]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The claim that evolution undermines the argument from design, and thus the only really tenable reason for believing in God, is false, due to the work of people like Michael Behe.  [Oh jeez.  Yeah, he really did refer to Michael Behe.  Dennett will tear this to shreds in a little while.]&lt;/li&gt;&lt;li&gt;The claim that evolution is a particularly bad case of the problem of evil isn't valid, because it's no worse an example of the problem of evil than anything else.  [This is probably true.]&lt;/li&gt;&lt;li&gt;The claim that positing a theistic designer is unnecessary, in the Ockhamist sense, is false.  [Plantinga's defense of this seems to hinge on the claim that there's no "further Ockamistic cost" for someone &lt;span style="font-style: italic;"&gt;who already believes in God&lt;/span&gt; to posit a designer.  That's true, but that's also completely evasive of the point.]&lt;/li&gt;&lt;li&gt;Even if evolution were contrary to theistic belief, theistic belief wouldn't automatically become irrational or unwarranted.  [If by this he means it wouldn't become any more irrational or unwarranted &lt;span style="font-style: italic;"&gt;than it already is,&lt;/span&gt; then I agree with that.  Its warrant seems to have little to do with empirical fact.]&lt;/li&gt;&lt;li&gt;Conclusion of this first part of the talk:  the supposed conflict between theistic religion and evolution is, in fact, a chimera.&lt;/li&gt;&lt;/ol&gt;So much for Part I.  Now for Part II.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The probability that our cognitive faculties are reliable (i.e., that the content of most of our well-formed beliefs is true), given that naturalism and evolution are both true, is quite low.  [This seems to me to be a really problematic claim, for lots of reasons.  First of all, Plantinga said nothing in his talk about what the content of a belief is, how that content can be true or false, and so forth.  I'll come back to this claim with the help of Dennett, below.]&lt;/li&gt;&lt;li&gt;If you accept that the probability is low, you have a defeater for every belief.  [I don't see how this is true whatsoever.  I accept that the probability of my own existence is low.  I was born premature, and required quite a bit of medical intervention to reach adulthood.  In this sense, the probability that I have reliable cognitive faculties is pretty small.  I don't thereby have a defeater for my beliefs.  Plantinga seems to think this follows straightforwardly.]&lt;/li&gt;&lt;li&gt;This defeater can't be defeated.  [Because, I take it, any such defeat would be an argument, which would rely on other premises, which would be defeasible by the defeater already proposed.  In other words, if you accept the position I'm trying to attack, you automatically become ineligible to do any philosophy in your own defense.  Honestly...]&lt;/li&gt;&lt;li&gt;If you have a defeater for R, you have a defeater for every belief you have, including naturalism and evolution.  [Fine, probably true.]&lt;/li&gt;&lt;li&gt;Therefore, the conjunction of naturalism and evolution is self-defeating and can't be accepted.&lt;/li&gt;&lt;li&gt;Plantinga backs up the first claim with some really hasty philosophy of mind, all reliant on the premise that adaptiveness -- in the sense in which our cognitive faculties would have had to be adaptive in order for them to evolve in our ancestors -- doesn't entail truth.  [As far as I'm concerned, this claim is transparently false.  If it isn't, Plantinga's going to have to give me a very careful account of beliefs, belief content, truth ascription, natural selection, and adaptiveness that makes the point.  For my money, here's a good counterargument: (1) on most accounts, the content of our beliefs is fixed by repeatable, causal, physically law-based processes; (2) these processes create correlations between our mental states and the contents of the environment; (3) insofar as these correlations are established by these processes, they reflect the contents of the environment accurately.  Now if Plantinga means something else by truth than accurate correlation with environmental stimuli, he'd better tell me what it is.]&lt;/li&gt;&lt;/ol&gt;Now, Dennett moves in.  Three of Plantinga's premises, he says, are accurate, but not in the way Plantinga needs them to be for his argument.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Evolution is compatible with theistic belief.  This is true, Dennett argues.  Theism is one of a class of reasonably silly beliefs that are nevertheless compatible with evolution.  Thus, as supporters of evolution, we have no &lt;span style="font-style: italic;"&gt;contradiction&lt;/span&gt; upon which to base a rejection of theism.  (After all, Dennett argues, finding actual evidence of intelligent design is really, &lt;span style="font-style: italic;"&gt;really hard&lt;/span&gt; -- compare the "design" of a greyhound with the "design" of a cheetah -- and it's equally &lt;span style="font-style: italic;"&gt;really hard&lt;/span&gt; to conceptualize natural selection.)  On the other hand, with respect to evolution, we can see that theistic design hypotheses are &lt;span style="font-style: italic;"&gt;entirely gratuitous.&lt;/span&gt;  Thus, we have no real reason to accept them.&lt;/li&gt;&lt;li&gt;Evolutionary theory doesn't imply that mutations are random, in the sense of being uncaused.  This point of Plantinga's is just flatly correct, despite what some very good evolutionary biologists (like Monod) thought.&lt;/li&gt;&lt;li&gt;Evolutionary theory, by itself, doesn't deny divine design.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;This is true, but only in a very qualified way.  Consider two different explanations of a scenario, where one describes a very plausible naturalistic hypothesis, and one ascribes a very simple divine hypothesis.  There's just no reason to accept the design explanation.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Naturalism and Plantinga:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;First, if we deny naturalism, Plantinga's doing an injustice (!) to Behe, by placing him among theologians or philosophers, and not scientists.&lt;/li&gt;&lt;li&gt;Further, Behe's work is a crock.  Here's a selection of quotes from Dennett:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Behe's work is "neither serious nor quantitative"&lt;/li&gt;&lt;li&gt;It is a "transparent concoction of bad science and bad rhetoric"&lt;/li&gt;&lt;li&gt;It is "hugely disingenuous propaganda"&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;And Dennett already refuted Behe once, with the help of Haig (from Harvard) at a Notre Dame conference.  He's not going to do it again.&lt;/li&gt;&lt;li&gt;No matter how hard the Discovery Institute looks for intelligent design, they aren't going to find any skyhooks.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Naturalism and evolution&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The claim that the probability of reliable cognition given naturalism and evolution is low is simply false.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;First of all, we can measure the reliability of sense organs and correct when they become unreliable.  (Wear glasses much?)&lt;/li&gt;&lt;li&gt;Our brains are syntactic, not semantic engines.  We clearly track truth syntactically, and such truth-tracking is adaptive.  What more do you want?  [Parallels my objection above.]&lt;/li&gt;&lt;li&gt;After a question by Michael Tooley, challenging Plantinga on this premise:  all of the most plausible accounts of brain states have them causally correlated to the environment.  Where's the problem here if there's laws of nature doing causal work for us?&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Finally, after Murray Gell-Mann told Dennett that the Christian fish was an acronym, he pressed Dennett to come up with an acronym for his Darwin-fish pin.  Dennett came up with: "Delere Auctorem Rerum Ut Universum Infinitum Noscas": Destroy the author of things in order to understand the infinite universe.&lt;/li&gt;&lt;/ol&gt;Plantinga replied and a short Q&amp;amp;A session followed, in which nothing really substantive took place.  Among the humor was Plantinga's claim that Behe hasn't been refuted (?!!?).&lt;br /&gt;&lt;br /&gt;And thus ended the APA.  A good time was had by all.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-2672063887361091302?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/2672063887361091302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/2672063887361091302'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/02/blogging-apa-central-day-3.html' title='Blogging the APA Central: Day 3'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-716339087952825746</id><published>2009-02-20T21:48:00.005-05:00</published><updated>2009-11-05T10:11:12.945-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><title type='text'>Blogging the APA Central: Days 1 &amp; 2</title><content type='html'>After the first two days of this year's Central APA, I should probably jot a little note here about the proceedings.&lt;br /&gt;&lt;br /&gt;&lt;span id="fullpost"&gt;&lt;br /&gt;Thursday afternoon I sat in on Michael Tooley's John Dewey Lecture, which, after a brief bit of biographical detail, wound up being on one of my favorite philosophical problems.  Tooley offered the conclusions, at least, of proofs of the following two premises: (i) if we have a reductive (e.g., Humean) conception of natural law, there's good reason to think we'll &lt;span style="font-style: italic;"&gt;never&lt;/span&gt; be able to justify induction, and (ii) if we have a strong (i.e., Armstrong/Tooley) conception of natural law, we get a reasonably straightforward justification of induction -- probabilities climb fairly simply with observed instances.  I'm looking forward to going through these proofs in fuller mathematical detail.&lt;br /&gt;&lt;br /&gt;After the talk, I got a chance to meet Prof. Tooley, as well as famed Spinoza scholar Edwin Curley and Iowa's Evan Fales.  I also got the chance to talk with Stephanie Lewis, wife of the late David Lewis, who is both an astute philosopher (far moreso than her self-description as "amateur metaphysician" would imply), and, perhaps more importantly, an incredibly kind and genial woman whom it was a joy to chat with.&lt;br /&gt;&lt;br /&gt;After a set of quick talks on reduction, multiple realizability, and complex systems, it was back to South Bend for the night.&lt;br /&gt;&lt;br /&gt;Today started with a nice set of talks on causation; my personal favorite being Luke Glynn's discussion of how we might salvage orthodox theories of probabilistic causation (by accepting conditional probabilities as primitive and being careful about our synthesis of objective chance and determinism).  After lunch there was an interesting session on the relationship between human freedom and brain and behavioral science, which, for me, mostly served as a primer on the current state of compatibilism, since the free will literature is somewhere I have close to zero experience.&lt;br /&gt;&lt;br /&gt;Finally, I attended Peter van Inwagen's Presidental Address.  It was mostly combinations of various arguments of Peter's that I'd heard before -- in particular, his claim that the existential quantifier is univocal due to its relationship with counting, combined with his insistence that metaphysical claims, like the truth or falsity of mereological fusions, are valid, non-trivial philosophical problems worth being solved.  In this instance, he was defending himself against arguments of van Fraassen -- that many metaphysical problems turn on vagueness in language -- and Putnam -- that the way we count (i.e., whether or not to include fusions in our counts of what there is) is a convention that determines (changes) our use of the existential quantifier.  A good paper, very much in van Inwagen's style.&lt;br /&gt;&lt;br /&gt;Watch this space tomorrow evening for a report on the Dennett-Plantinga debate on science and religion!&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-716339087952825746?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/716339087952825746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/716339087952825746'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/02/blogging-apa-central-days-1-2.html' title='Blogging the APA Central: Days 1 &amp; 2'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-3845781651834323553</id><published>2009-02-12T20:17:00.004-05:00</published><updated>2009-11-05T10:11:37.288-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='evolution'/><title type='text'>Happy Darwin Day!</title><content type='html'>So, I clearly couldn't let Darwin's 200th birthday go by without writing a post.  But, as it turns out, neither can the rest of the internet.  So let me mention the few articles that, if I were you, I would read in honor of today.&lt;br /&gt;&lt;br /&gt;First, a great &lt;a href="http://www.sciencenews.org/view/feature/id/40014/title/Darwins_Evolution"&gt;article from Science News&lt;/a&gt; on the man himself, giving a good idea of the breadth of Darwin's work.  Next, we have a &lt;a href="http://www.nytimes.com/2009/02/10/science/10evolution.html"&gt;piece at the NYT&lt;/a&gt; that does an incredible job discussing, in broad strokes, the history of the reception of Darwin's work.  The latest issue of BBC Focus Magazine, available in a &lt;a href="http://content.yudu.com/Library/A113su/FocusMagazine/resources/index.htm"&gt;really cool Flash format&lt;/a&gt;, has quite a few neat articles (MINI Coopers are referenced on p. 7; my heart sings).&lt;br /&gt;&lt;br /&gt;On the cultural front, while Texas manages to &lt;a href="http://tfnblog.wordpress.com/2009/01/23/texas-sboe-gives-preliminary-approval-to-science-standards/"&gt;score&lt;/a&gt; a minor victory, &lt;a href="http://www.csmonitor.com/2009/0212/p01s03-ussc.html"&gt;this piece at the Christian Science Monitor&lt;/a&gt; talks about the new form we can expect the ID debate to take in the future.&lt;br /&gt;&lt;br /&gt;Finally, &lt;a href="http://www.nytimes.com/2009/02/10/science/10tier.html"&gt;the singing Darwin scholar.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And, what piece on Darwin could close without the last few paragraphs of the Origin:&lt;br /&gt;&lt;blockquote&gt;It is interesting to contemplate an entangled bank, clothed with many plants of different kinds, with birds singing on the bushes, with various insects flitting about, and with worms crawling through the damp earth, and to reflect that these elaborately constructed forms, so different from each other, and dependent on each other in so complex a manner, have all been produced by laws acting around us.&lt;br /&gt;&lt;br /&gt;[...]&lt;br /&gt;&lt;br /&gt;There is grandeur in this view of life, with its several powers, having been originally breathed into a few forms or into one; and that, whilst this planet has gone cycling on according to the fixed law of gravity, from so simple a beginning endless forms most beautiful and wonderful have been, and are being, evolved.&lt;br /&gt;&lt;/blockquote&gt;That word "evolved" -- the last word of the &lt;span style="font-style: italic;"&gt;Origin&lt;/span&gt; -- is the only time Darwin uses any variety of the word "evolution."  And as the work closes, we feel that the door has been opened -- opened to the entire future of biological science.&lt;br /&gt;&lt;br /&gt;Watch this space on Nov. 24, which, in addition to being my birthday, will be the next Darwin holiday -- the 150th anniversary of the publication of the &lt;span style="font-style: italic;"&gt;Origin!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-3845781651834323553?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/3845781651834323553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/3845781651834323553'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2009/02/happy-darwin-day.html' title='Happy Darwin Day!'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry><entry><id>tag:blogger.com,1999:blog-3204918892069564245.post-4454091085250091560</id><published>2008-10-09T15:11:00.004-04:00</published><updated>2009-11-05T10:12:28.703-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='humor'/><category scheme='http://www.blogger.com/atom/ns#' term='politics'/><title type='text'>Some Presidential humor</title><content type='html'>A bit of 1996-style election-time poetry, for your enjoyment.  Absurdism somehow seems particularly relevant in the face of the current state of the McCain campaign.&lt;br /&gt;&lt;blockquote&gt;Bob Dole wants to make this&lt;br /&gt;country great again, but I say no.  This country&lt;br /&gt;has tried being great, and it&lt;br /&gt;has failed.  I want to make this country small,&lt;br /&gt;embarrassed, slightly befuddled. I&lt;br /&gt;want this country to hum to itself as it cleans&lt;br /&gt;its glasses.  I want this country to try hopelessly&lt;br /&gt;to learn to play the tuba.  I want this country to&lt;br /&gt;watch &lt;span style="font-style: italic;"&gt;Jeopardy!&lt;/span&gt; every day and get most of the&lt;br /&gt;answers right.  I want this country to mumble,&lt;br /&gt;to be shy, to give a limp handshake, to&lt;br /&gt;go days without combing its hair, to&lt;br /&gt;have bad breath.  I want this country to&lt;br /&gt;smile again, awkwardly, while carrying a book.&lt;br /&gt;And I will beat that fucker Dole, with his war&lt;br /&gt;stories and his "courage." Who needs courage?&lt;br /&gt;Courage is for cowards.  I have something greater&lt;br /&gt;than courage.  I am a failure.&lt;br /&gt;&lt;br /&gt; -- Sparrow, "Why I Can Beat Bob Dole"&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3204918892069564245-4454091085250091560?l=secondaryqualities.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/4454091085250091560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3204918892069564245/posts/default/4454091085250091560'/><link rel='alternate' type='text/html' href='http://secondaryqualities.blogspot.com/2008/10/some-presidential-humor.html' title='Some Presidential humor'/><author><name>Charles</name><uri>http://www.blogger.com/profile/08953955147447386410</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11190510002199495023'/></author></entry></feed>