alignment.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. <refsynopsisdiv>
  23. <src:fragment xml:id="alignment.frag"><xsl:param name="alignment">justify</xsl:param></src:fragment>
  24. </refsynopsisdiv>
  25. <refsection><info><title>Description</title></info>
  26. <para>The default text alignment is used for most body text.
  27. Allowed values are
  28. <literal>left</literal>,
  29. <literal>right</literal>,
  30. <literal>start</literal>,
  31. <literal>end</literal>,
  32. <literal>center</literal>,
  33. <literal>justify</literal>.
  34. The default value is <literal>justify</literal>.
  35. </para>
  36. </refsection>
  37. </refentry>