]> git.stg.codes - stg.git/blob - doc/xslt/params/alignment.xml
Set output encoding to utf-8.
[stg.git] / doc / xslt / params / alignment.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="alignment">
7 <refmeta>
8 <refentrytitle>alignment</refentrytitle>
9   <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10   <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
11   <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
12   <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
13   <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
14   <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
15   <refmiscinfo class="other" otherclass="value">center</refmiscinfo>
16   <refmiscinfo class="other" otherclass="value">justify</refmiscinfo>
17 </refmeta>
18 <refnamediv>
19 <refname>alignment</refname>
20 <refpurpose>Specify the default text alignment</refpurpose>
21 </refnamediv>
22
23 <refsynopsisdiv>
24 <src:fragment xml:id="alignment.frag"><xsl:param name="alignment">justify</xsl:param></src:fragment>
25 </refsynopsisdiv>
26
27 <refsection><info><title>Description</title></info>
28
29 <para>The default text alignment is used for most body text.
30 Allowed values are 
31 <literal>left</literal>,
32 <literal>right</literal>,
33 <literal>start</literal>,
34 <literal>end</literal>,
35 <literal>center</literal>,
36 <literal>justify</literal>.
37 The default value is <literal>justify</literal>.
38 </para>
39
40 </refsection>
41 </refentry>