]> git.stg.codes - stg.git/blobdiff - doc/xslt/params/alignment.xml
xslt filters moved upper, Makefiles fixed to use bundled xslt filters
[stg.git] / doc / xslt / params / alignment.xml
diff --git a/doc/xslt/params/alignment.xml b/doc/xslt/params/alignment.xml
new file mode 100644 (file)
index 0000000..9c0a3de
--- /dev/null
@@ -0,0 +1,41 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:xi="http://www.w3.org/2001/XInclude"
+          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          version="5.0" xml:id="alignment">
+<refmeta>
+<refentrytitle>alignment</refentrytitle>
+  <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
+  <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
+  <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
+  <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
+  <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
+  <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
+  <refmiscinfo class="other" otherclass="value">center</refmiscinfo>
+  <refmiscinfo class="other" otherclass="value">justify</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>alignment</refname>
+<refpurpose>Specify the default text alignment</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="alignment.frag"><xsl:param name="alignment">justify</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>The default text alignment is used for most body text.
+Allowed values are 
+<literal>left</literal>,
+<literal>right</literal>,
+<literal>start</literal>,
+<literal>end</literal>,
+<literal>center</literal>,
+<literal>justify</literal>.
+The default value is <literal>justify</literal>.
+</para>
+
+</refsection>
+</refentry>