<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>margin.note.properties</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="propsets.html" title="Property Sets"><link rel="prev" href="sidebar.float.width.html" title="sidebar.float.width"><link rel="next" href="margin.note.title.properties.html" title="margin.note.title.properties"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">margin.note.properties</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sidebar.float.width.html">Prev</a> </td><th width="60%" align="center">Property Sets</th><td width="20%" align="right"> <a accesskey="n" href="margin.note.title.properties.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="margin.note.properties"></a><div class="titlepage"></div> <div class="refnamediv"><h2><span class="refentrytitle">margin.note.properties</span></h2><p> margin.note.properties — Attribute set for margin.note properties </p></div> <div class="refsynopsisdiv"><h2>Synopsis</h2> <a name="margin.note.properties.frag"></a><pre class="programlisting"> <xsl:attribute-set name="margin.note.properties"> <xsl:attribute name="font-size">90%</xsl:attribute> <xsl:attribute name="text-align">start</xsl:attribute> </xsl:attribute-set> </pre> </div> <div class="refsection"><a name="idp6318576"></a><h2>Description</h2> <p>The styling for margin notes. By default, margin notes are not implemented for any element. A stylesheet customization is needed to make use of this attribute-set.</p> <p>You can use a template named <span class="quote">“<span class="quote">floater</span>”</span> to create the customization. That template can create side floats by specifying the content and characteristics as template parameters. </p> <p>For example:</p> <pre class="programlisting"><xsl:template match="para[@role='marginnote']"> <xsl:call-template name="floater"> <xsl:with-param name="position"> <xsl:value-of select="$margin.note.float.type"/> </xsl:with-param> <xsl:with-param name="width"> <xsl:value-of select="$margin.note.width"/> </xsl:with-param> <xsl:with-param name="content"> <xsl:apply-imports/> </xsl:with-param> </xsl:call-template> </xsl:template></pre> </div> </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sidebar.float.width.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="propsets.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="margin.note.title.properties.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">sidebar.float.width </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> margin.note.title.properties</td></tr></table></div></body></html>