Re: [css-d] Trying to emulate a LaTeX trick in CSS...

2009-04-09 Thread Cristian Palmas
2009/4/9 Philippe Wittenbergh > > On Apr 9, 2009, at 5:19 PM, Cristian Palmas wrote: > > > By the way, the "ex" measure unit in CSS does not exist for width. > > You can > > use, on second your needs: "px", "pt" (I recommend to use only for > > print > > styles), "%" or "em". > > See http://www.w

Re: [css-d] Trying to emulate a LaTeX trick in CSS...

2009-04-09 Thread Philippe Wittenbergh
On Apr 9, 2009, at 5:19 PM, Cristian Palmas wrote: > By the way, the "ex" measure unit in CSS does not exist for width. > You can > use, on second your needs: "px", "pt" (I recommend to use only for > print > styles), "%" or "em". > See http://www.w3.org/TR/CSS21/visudet.html#propdef-width fo

Re: [css-d] Trying to emulate a LaTeX trick in CSS...

2009-04-09 Thread Cristian Palmas
2009/4/9 Chris Lee > In LaTeX, there's a package called 'tracking' which provides a few > methods that will adjust letter spacing to fit a given chunk of text > content to a specified width. > > I'd like to replicate the effect of: > > \fittrack{66ex}{$chapter} > > (where $chapter is likely to be

[css-d] Trying to emulate a LaTeX trick in CSS...

2009-04-08 Thread Chris Lee
In LaTeX, there's a package called 'tracking' which provides a few methods that will adjust letter spacing to fit a given chunk of text content to a specified width. I'd like to replicate the effect of: \fittrack{66ex}{$chapter} (where $chapter is likely to be a string that looks like "CHAPTER 9