[OS X TeX] Color in Koma letter docs under TL-2010

Stephen Anderson sra at yale.edu
Mon Sep 27 12:59:01 EDT 2010

> Date: Fri, 24 Sep 2010 18:34:33 -0400
> From: Alan Munn <amunn at gmx.com>
> Subject: Re: [OS X TeX] Color in Koma letter docs under TL-2010
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <717230B9-4233-4DC6-97A7-E506F42B41C5 at gmx.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> Hi Steve, I don't use scrlttr2 for letters, and trying to put your  
> code into a minimal document produced lots of errors.  But when I  
> pushed through the errors, it finally spat out the letterhead in blue.
> Could you post a minimal example document with your letterhead that  
> doesn't work?

Here's one.  I can quite reliably switch between blue header (correct) and black (incorrect) by switching between TL-2209 and TL-2010 in the TeX distribution manager:

%!TEX TS-program = XeLaTeX-xdv2pdf
\usepackage{xunicode}% provides unicode character macros 
\usepackage{xltxtra} % provides some fixes/extras 
\setkomavar{fromlogo}{\color{Yale-blue} \parbox{3in}{\headingfont\Huge {Yale University} \vspace{1.5in}}}
\setkomavar{fromaddress}{\headingfont\color{Yale-blue} \scriptsize  \ \\ \ \\ \ \\
\parbox{2in}{\flushleft  \itshape \ {Department of Linguistics}\\
\ {370 Temple Street}\ \\
\ {P.O.\ Box 208366}\\
\ {New Haven, Connecticut 06520-8366}\\
\ \\
\ {Telephone: 203.432.2456}\\
\  {Email:sra at yale.edu}}}
\setkomavar{signature}{Stephen R. Anderson}
\renewcommand{\raggedsignature}{\raggedright} % make the signature 
\opening{To Whom It May Concern:}
Foo Far Bahz.
\closing{Sincerely yours,}

> Also, did you run TL Utility to update all the packages to the most  
> recent versions after installing TL2010?


Thanks for any help,


Steve Anderson

More information about the MacOSX-TeX mailing list