Safe Haskell | None |
---|
This module allows you to use the LaTeX graphicx library in order to insert graphics in a document.
- graphicx :: PackageName
- dvips :: LaTeXC l => l
- dvipdfm :: LaTeXC l => l
- pdftex :: LaTeXC l => l
- data IGOption
- includegraphics :: LaTeXC l => [IGOption] -> FilePath -> l
- rotatebox :: LaTeXC l => Float -> l -> l
- scalebox :: LaTeXC l => Float -> Maybe Float -> l -> l
- reflectbox :: LaTeXC l => l -> l
- resizebox :: LaTeXC l => Measure -> Measure -> l -> l
Graphicx package
The graphicx
package.
usepackage [] graphicx
Package options
Including graphics
Include Graphics Option. These options can be passed as arguments to the includegraphics
function.
IGWidth Measure | Specify the preferred width of the imported image. |
IGHeight Measure | Specify the preferred height of the imported image. |
KeepAspectRatio Bool | When |
IGScale Float | Scales the image by the desired scale factor. |
IGAngle Int | Rotate the image by given degrees. |
IGTrim Measure Measure Measure Measure | This option will crop the imported image. Arguments are from-left , from-bottom, from-right and from-top respectively. |
IGClip Bool | |
IGPage Int | If the image file is a pdf file with multiple pages, this parameter allows you to use a different page than the first. |
Include an image in the document.
Transformations
reflectbox :: LaTeXC l => l -> lSource