(this page is translated by Google; We're working hard on a human translation)
Class TexyFigureModule
He is responsible for pictures with description. Module disable syntax off the figure :
$texy ->allowed[ 'figure' ] = FALSE ; Configuration
| variable | type | default | description |
|---|---|---|---|
| $ Class | string | 'figure' | Class neplovoucího container <div> |
| $ LeftClass | string | NULL | Class <div> left floating |
| $ RightClass | string | NULL | Class <div> floating right |
| $ WidthDelta | int | 10 | offset to calculate the width |
Neplovoucím containers <div> will be assigned to class $class , floating $leftClass or $rightClass . If the class is not specified for floating container, Texy it constituted as follows:
$texy->figureModule->class . '-' . $texy->alignClasses['left'] resp. 'right'
If not set or class field $alignClasses , Texy container aligns CSS property float .
The floating containers Texy counts and adjusts the width according to the formula:
šířka <div> = šířka obrázku <img> + $widthDelta
It is therefore necessary to determine the width of the image. This requires a properly set the path $texy->imageModule->fileRoot see TexyImageModule .





