Class Graphics
java.lang.Object
ch.stegmaier.java2tex.commands.registry.ctan.graphics.Graphics
These are the commands available with the graphics and graphicx packages.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ch.stegmaier.java2tex.core.GenericCommandDeclare a list of directories to search for graphics files.static IncludeGraphicsInclude a graphics file.static ch.stegmaier.java2tex.core.GenericCommandGiven a size, such as 3cm, transform material to make it that size.static RotateboxPut material in a box and rotate it angle degrees counterclockwise.static ch.stegmaier.java2tex.core.GenericCommandscalebox()Scale the material.
-
Method Details
-
includegraphics
Include a graphics file. The starred form \includegraphics* will clip the graphic to the size specified, while for the unstarred form any part of the graphic that is outside the box of the specified size will over-print the surrounding area.- See Also:
-
rotatebox
Put material in a box and rotate it angle degrees counterclockwise.- See Also:
-
scalebox
public static ch.stegmaier.java2tex.core.GenericCommand scalebox()Scale the material.- See Also:
-
resizebox
public static ch.stegmaier.java2tex.core.GenericCommand resizebox()Given a size, such as 3cm, transform material to make it that size. If either horizontal length or vertical length is an exclamation point ! then the other argument is used to determine a scale factor for both directions.- See Also:
-
graphicspath
public static ch.stegmaier.java2tex.core.GenericCommand graphicspath()Declare a list of directories to search for graphics files. This allows you to later say something like \includegraphics{lion.png} instead of having to give its path.- See Also:
-