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="root.properties">
8 <refentrytitle>root.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
12 <refname>root.properties</refname>
13 <refpurpose>The properties of the fo:root element</refpurpose>
17 <src:fragment xml:id="root.properties.frag">
18 <xsl:attribute-set name="root.properties">
19 <xsl:attribute name="font-family">
20 <xsl:value-of select="$body.fontset"/>
22 <xsl:attribute name="font-size">
23 <xsl:value-of select="$body.font.size"/>
25 <xsl:attribute name="text-align">
26 <xsl:value-of select="$alignment"/>
28 <xsl:attribute name="line-height">
29 <xsl:value-of select="$line-height"/>
31 <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
32 <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
33 <xsl:attribute name="writing-mode">
34 <xsl:value-of select="$direction.mode"/>
40 <refsection><info><title>Description</title></info>
42 <para>This property set is used on the <tag>fo:root</tag> element of
43 an FO file. It defines a set of default, global parameters.</para>