<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rx="http://www.renderx.com/XSL/Extensions">
<!-- ============================================================ -->
<!--                                                              -->
<!-- 	This file makes a part of RenderX XSL Test Suite          -->
<!--                                                              -->
<!--    Author: Alexander Peshkov                                 -->
<!--                                                              -->
<!--    (c) RenderX, 2003                                         -->
<!--                                                              -->
<!-- ============================================================ -->
   <fo:layout-master-set>
      <fo:simple-page-master master-name="document-master" margin="0.4in">
         <fo:region-body margin="20pt" padding="0pt"/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:page-sequence master-reference="document-master">
      <fo:flow flow-name="xsl-region-body" padding="6pt">
   
  
         <fo:block font="bold 16pt Helvetica" space-before="16pt" space-after="16pt" text-align="center" span="all">Creating drop capitals using side floats</fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    A drop capital is a large sized letter, word or text.
    Normally, the drop cap applies to the first letter of a paragraph.
  </fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    In XSL FO drop capitals effect created using side floats.
	<fo:block font-size="12pt" font-style="italic" space-before="6pt" space-after="6pt">
      
               <fo:basic-link external-destination="url(http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo_float)" color="#0000C0" text-decoration="underline">XSL FO Recommendation, Chapter 6.10.2 "fo:float"</fo:basic-link>
    
            </fo:block>
  
         </fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    In this test you can see both graphic and textual drop caps created with <fo:wrapper font-family="monospace">fo:float</fo:wrapper> that has <fo:wrapper font-family="monospace">float="start"</fo:wrapper>.
  </fo:block>
   
         <fo:block>
     
            <fo:float float="start">
               <fo:block margin="0pt" color="red" text-depth="0pt" font-size="62pt" line-height="40pt" font-weight="bold" font-family="Courier">F</fo:block>
            </fo:float>loats dimensions derived from its content width/height, accompanying text should wrap around floating block.
     Drop capital in this paragraph implemented using side float that contains fo:block with single big letter "F".
     Floats dimensions derived from its content width/height, accompanying text should wrap around floating block.
     Drop capital in this paragraph implemented using side float that contains fo:block with single big letter "F".
   </fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    Textual drop cap created with the following code:
    <fo:block white-space="pre" font-family="monospace">    &lt;fo:block margin="0pt" padding="6pt"&gt;
        &lt;fo:float float="start"&gt;
          &lt;fo:block margin="0pt"
                       color="red"
                       text-depth="0pt"
                       font-size="62pt"
                       line-height="40pt"
                       font-weight="bold"
                       font-family="Courier"&gt;F&lt;/fo:block&gt;
        &lt;/fo:float&gt;
        loats dimensions derived from its content width/height...
      &lt;/fo:block&gt;</fo:block>
   
         </fo:block> 

    
         <fo:block>
      
            <fo:float float="start">
               <fo:block>
                  <fo:external-graphic src="url('Images/f-cap.gif')"/>
               </fo:block>
            </fo:float>loats dimensions derived from its content width/height, accompanying text should wrap around floating block.
      Drop capital in this paragraph implemented using side float that contains fo:block with 
      gif image depicting letter "F".
      Floats dimensions derived from its content width/height, accompanying text should wrap around floating block.
      Drop capital in this paragraph implemented using side float that contains fo:block with 
      gif image depicting letter "F".
    </fo:block>

   
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt"> 
   Graphical drop cap created with the following code:
   <fo:block white-space="pre" font-family="monospace">    &lt;fo:block margin="0pt" padding="6pt"&gt;
        &lt;fo:float float="start"&gt;
          &lt;fo:block&gt;
            &lt;fo:external-graphic src="url('Images/f-cap.gif')"/&gt;
          &lt;/fo:block&gt;
        &lt;/fo:float&gt;
        loats dimensions derived from its content width/height...
      &lt;/fo:block&gt;</fo:block>
    
         </fo:block>

      </fo:flow>
   </fo:page-sequence>
</fo:root>