Antenna House Formatter extends the float feature with the ability to position the float in any place on the page or position it across multiple columns. The reference area where the float is positioned can be specified by -ah-float-reference. Available values are: auto, normal, page, multicol, and column. Specify -ah-float-x for horizontal position of the float, and specify -ah-float-y for vertical position. This sample shows the float in a multi-column area specified by -ah-float-reference: multicol.
The column spanning can be specified by the unit of 'gr' (grid). A 'gr' is a special unit of length, where the ‘column width’ and the ‘column gap’ each count as '1gr' . If you want to span two columns, then this is calculated as '3gr': column width x 2 + column gap x 1.
Float is positioned at the upper left and spans two columns. -ah-float-reference: multicol; -ah-float-x: left; -ah-float-y: top;
Float is positioned at the lower right and spans three columns. -ah-float-reference: multicol; ah-float-x: right; -ah-float-y: bottom;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra. Aenean ultricies molestie ante, sit amet ultricies nunc mollis id. Integer ut porttitor felis, vel tincidunt velit. Duis volutpat, quam quis aliquet tristique, nulla dui malesuada velit, et consectetur tellus ipsum et arcu. Ut tincidunt lorem erat, at elementum nibh varius consectetur. Sed viverra metus quis nibh pulvinar, at dignissim nibh adipiscing. Duis sit amet ipsum non elit tincidunt sagittis ac non tortor.
Mauris commodo, elit a imperdiet interdum, nulla velit viverra elit, at scelerisque urna est eget lacus. Integer eu lobortis neque. Donec malesuada sed arcu vitae fringilla. Quisque imperdiet tortor iaculis, pulvinar neque sit amet, aliquet massa. Sed sed auctor purus.
Vivamus nec turpis elementum, iaculis lorem in, pellentesque metus. Ut blandit tortor mi, ac bibendum felis varius vitae. Ut tincidunt lorem erat, at elementum nibh varius consectetur. Sed viverra metus quis nibh pulvinar, at dignissim nibh adipiscing.
Integer ut porttitor felis, vel tincidunt velit. Duis volutpat, quam quis aliquet tristique, nulla dui malesuada velit, et consectetur tellus ipsum et arcu.Integer ut porttitor felis. Integer ut porttitor felis, vel tincidunt velit. Duis volutpat, quam quis aliquet tristique, nulla dui malesuada velit, et consectetur tellus ipsum et arcu.
You can also use the ‘-ah-float’ shorthand property to specify the float-related extended properties at once. The following produce the same result but use different approaches of individual properties and the shorthand property.
Using individual extended properties (Position the float at the upper left of the multiple columns) fo:float -ah-float-reference: multicol; -ah-float-x: left; -ah-float-y: top;
Using the shorthand property (Position the float at the upper left of the multiple columns) fo:float -ah-float: multicol left top"