diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kdoctools/docbook/xsl/params/title.margin.left.xml | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/params/title.margin.left.xml')
-rw-r--r-- | kdoctools/docbook/xsl/params/title.margin.left.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/title.margin.left.xml b/kdoctools/docbook/xsl/params/title.margin.left.xml new file mode 100644 index 000000000..140d7f53d --- /dev/null +++ b/kdoctools/docbook/xsl/params/title.margin.left.xml @@ -0,0 +1,45 @@ +<refentry id="title.margin.left"> +<refmeta> +<refentrytitle>title.margin.left</refentrytitle> +<refmiscinfo role="type"></refmiscinfo> +</refmeta> +<refnamediv> +<refname>title.margin.left</refname> +<refpurpose>Adjust the left margin for titles</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<src:fragment id='title.margin.left.frag'> +<xsl:param name="title.margin.left"> + <xsl:choose> + <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when> + <xsl:otherwise>-4pc</xsl:otherwise> + </xsl:choose> +</xsl:param> +</src:fragment> +</refsynopsisdiv> + +<refsect1><title>Description</title> + +<para>This parameter adjusts the left margin for titles, +effectively leaving the titles at the left +margin and indenting the body text. +The default value is -4pc, which means the +body text is indented 4 picas relative to +the titles. +</para> +<para> +If you set the value to zero, be sure to still include +a unit indicator such as <literal>0pt</literal>, or +the FO processor will report errors. +</para> +<para> +This parameter is set to 0pt if the +<parameter>passivetex.extensions</parameter> +parameter is nonzero because PassiveTeX cannot handle +the math expression with negative values +used to calculate the indents. +</para> + +</refsect1> +</refentry> |