[tex-live] Formatting mismatch

Ulrike Fischer news2 at nililand.de
Thu Jul 31 14:28:23 CEST 2008


Am Thu, 31 Jul 2008 12:22:13 +0100 schrieb Udo Zallmann:

> Hello,
> 
> I recently downloaded TL2008 Test (texlivetest2008-20080730.iso) and
> tried LaTeX-ing a few documents. I encountered an anomaly when
> comparing a compiled document against one compiled through the website
> <http://sciencesoft.at/index.jsp?link=latex>:
> 
> I am using the KOMA-Script scrlttr2 class to typeset a letter. On this
> letter, I intended to set the recipient info in bold, so I used the
> construct:
> 
> \begin{letter}{%
> 	\bfseries%
> 	per Fax an\\
> 	+49--180--5\,33\,01\,63}
> 
> This should set two lines in the recipient field, both in bold, the
> first one containing 'per Fax an,' the second containing
> '+49--180--5\,33\,01\,63.' When compiling the document using the
> ScienceSoft LaTeX website, this expected result is obtained. With
> TL2008, however, only the first line is set in bold, the second is
> not.
> 

Koma is first saving the first line to the variable toname, and the
second to toaddress and latter it uses the variables inside groups:

\usekomafont{addressee}{%

\usekomafont{toname}{\usekomavar{toname}\\}%

\usekomafont{toaddress}{\usekomavar{toaddress}}}}

 This enables special font settings for toname and toaddress but means
also that font switches in the first line are local to toname. 

It is quite possible that this behaviour is quite new, but it is
intended and certainly not a bug.

Use the scrlttr2 interface to change the font in the address fields. 
Or add a \bfseries to the second line. 

-- 
Ulrike Fischer 



More information about the tex-live mailing list