This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] How to reduce the font size of <screen>


This customization will reduce the font size for screen
elements that have a role="smaller" attribute.

<xsl:template match="screen[@role = 'smaller']">
  <fo:block font-size="6pt">
    <xsl:apply-imports/>
  </fo:block>
</xsl:template>

If you want it to apply to all screen elements, then
just use match="screen" and forget the role attribute. You could
also use a processing instruction for a similar purpose,
probably a better solution since this is purely a formatting
feature.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Joachim Ziegler" <ziegler@mpi-sb.mpg.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, January 14, 2004 4:50 AM
Subject: [docbook-apps] How to reduce the font size of <screen>


> for pdf output?
>
> How do I do change the font size and/or font family?
>
> Greetings,
> Joachim
>
>
> -- 
> Joachim Ziegler                       Stuhlsatzenhausweg 85
> Max-Planck-Institut für Informatik    66123 Saarbrücken, Germany
> Email: ziegler@mpi-sb.mpg.de          Tel.: (+49) 0681 9325-127
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]