[texhax] Non-proportional font availability

William Adams will.adams at frycomm.com
Mon Aug 7 21:00:05 CEST 2006

On Aug 7, 2006, at 1:38 PM, hgi at shaw.ca wrote:

> I now have a nice, in-house, two-column newsletter that our branch  
> uses to generate awareness in other branches.  It goes out once a  
> month, is a one-pager (two sides), yet presents some useful  
> information.
> I'm now setting it up so everything can be generated automatically  
> using a Python program to generate the Tex (LaTex) code.
> My  difficulty is that I have little "title bars" in blue (with  
> white text inside) just above each tiny section.  So it would be  
> great, when titles are entered, to know that a titlebar is say, 50  
> characters in width and since the heading itself is (for example)  
> 30 chars in width, I need to pad 20 characters with the blue  
> colour.  In this way all titlebars are exactly the same width,  
> regardless of how much text they contain.
> So I am wondering if there is a fairly nice looking font that I  
> might access for titles, that is likely non-proportional, so I can  
> dynamically create equal-width titlebars throughout my little  
> document.


Why do this based on character count?

Wrap it up in a box which is \textwidth wide and format the box  
appropriately and let TeX work things out.


William Adams
senior graphic designer
Fry Communications

This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.

More information about the texhax mailing list