]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/params/component.title.properties.xml
Add stylesheets for our evergreen docbook site.
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / params / component.title.properties.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="component.title.properties">\r
7 <refmeta>\r
8 <refentrytitle>component.title.properties</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>\r
10 </refmeta>\r
11 <refnamediv>\r
12 <refname>component.title.properties</refname>\r
13 <refpurpose>Properties for component titles</refpurpose>\r
14 </refnamediv>\r
15 \r
16 <refsynopsisdiv>\r
17 <src:fragment xml:id="component.title.properties.frag">\r
18 <xsl:attribute-set name="component.title.properties">\r
19   <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>\r
20   <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>\r
21   <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>\r
22   <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>\r
23   <xsl:attribute name="hyphenate">false</xsl:attribute>\r
24   <xsl:attribute name="text-align">\r
25     <xsl:choose>\r
26       <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography))         or (parent::slides | parent::slidesinfo)">center</xsl:when>\r
27       <xsl:otherwise>start</xsl:otherwise>\r
28     </xsl:choose>\r
29   </xsl:attribute>\r
30   <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>\r
31 </xsl:attribute-set>\r
32 </src:fragment>\r
33 </refsynopsisdiv>\r
34 \r
35 <refsection><info><title>Description</title></info>\r
36 \r
37 <para>The properties common to all component titles.</para>\r
38 \r
39 </refsection>\r
40 </refentry>\r