Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module allows you to use the LaTeX graphicx library in order to insert graphics in a document and perform some transformations.
CTAN page for graphicx: http://ctan.org/pkg/graphicx.
- 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
graphicx :: PackageName Source #
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
Scale the content by the given factor. If only the horizontal scale is supplied, the vertical scaling will be the same.
reflectbox :: LaTeXC l => l -> l Source #
Reflect horizontally the content.