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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] How to decrease font in the code examples


Markus Innerebner wrote:
> Hello to everyone,
> 
> I am trying to decrease the font size of the examples.
> 
>    <para>
>      <example>
>        <title>My First Example</title>
>        <programlisting>
>        <![CDATA[
>          <root>
>             <child id="123"/>
>          </root>
>       ]]>
>      </programlisting>
>      </example>
>    </para>
> 
> 
> Is there a way to specify it somewhere? The problem is, I have a big xml 
> document,  that actually occupies the hole page.
> Therefore I want to decrease the font of the example.


Use CSS (assuming html output).

Use a role attribute on the element,
then CSS to Style the output.

HTH




regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


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