writeFigure {maDB}R Documentation

Includes a figure in a LaTeX document

Description

writeFigure This function writes all the needed lines into a tex document to include an image into a LaTeX document (the image has to be created before.).

Usage

writeFigure(file=NULL,image=NULL,label=NULL,caption=NULL,option="[!ht]",image.width=1)

Arguments

file The file where the lines should be included. If the file does not exist it will be created, if the file should be in some subdirectories, these will also be created if needed. As file a file handle or a character string giving the file name (and or directories) can be submitted.
image The path to the image (relative from the directory where the file lies into).
label The label that should be used to link to this figure.
caption The caption that should be written below the figure.
option Some LaTeX specific options for the figure.
image.width The image width relative to the text width.

Details

The lines that are needed to include an image into a LaTeX document are inserted with this function into a file, if the file does already exist, the lines will be appended. As file parameter also a file handle can be submitted.

Author(s)

Johannes Rainer

See Also

writeLatexTable


[Package maDB version 1.14.1 Index]