body.font.size.xml 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. <refsynopsisdiv>
  16. <src:fragment xml:id="body.font.size.frag">
  17. <xsl:param name="body.font.size">
  18. <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
  19. </xsl:param></src:fragment>
  20. </refsynopsisdiv>
  21. <refsection><info><title>Description</title></info>
  22. <para>The body font size is specified in two parameters
  23. (<parameter>body.font.master</parameter> and <parameter>body.font.size</parameter>)
  24. so that math can be performed on the font size by XSLT.
  25. </para>
  26. </refsection>
  27. </refentry>