OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] changing font-size of caption


On Mon, Feb 28, 2005 at 01:04:42PM +0100, Steffen Gl?ckselig wrote:

> >You could add attributes to the fo:block you've used in your custom
> >template:
> >
> >>For left-aligning I've already included
> >>  <xsl:template match="caption">
> >>    <fo:block>
> >
> >      <fo:block font-family="Helvetica" font-size="8">
> Thanks, that's what I've been looking for. I just got
> 	<fo:block font-family="Helvetica" font-size="8pt">
> to work, though. Not the 'pt' in the font-size attribute.

Oops!  Sorry, yes, my typo.

> An addition: Could I indent the block - preferably from the outer
> margin of the resulting pdf?

A fo:block can take lots of attributes.  Start here:


and for what you want, take a look at the common border, padding and
background properties:


and the common margin properties:



w  http://logicsquad.net/
h  http://paul.hoadley.name/

PGP signature

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]