]> git.stg.codes - stg.git/blob - doc/xslt/params/body.font.size.xml
Get<something>Num -> Count
[stg.git] / doc / xslt / params / body.font.size.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="body.font.size">
7 <refmeta>
8 <refentrytitle>body.font.size</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>body.font.size</refname>
13 <refpurpose>Specifies the default font size for body text</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="body.font.size.frag">
18 <xsl:param name="body.font.size">
19  <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
20 </xsl:param></src:fragment>
21 </refsynopsisdiv>
22
23 <refsection><info><title>Description</title></info>
24
25 <para>The body font size is specified in two parameters
26 (<parameter>body.font.master</parameter> and <parameter>body.font.size</parameter>)
27 so that math can be performed on the font size by XSLT.
28 </para>
29
30 </refsection>
31 </refentry>