writeFigure               package:maDB               R Documentation

_I_n_c_l_u_d_e_s _a _f_i_g_u_r_e _i_n _a _L_a_T_e_X _d_o_c_u_m_e_n_t

_D_e_s_c_r_i_p_t_i_o_n:

     '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.).

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    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.

_D_e_t_a_i_l_s:

     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.

_A_u_t_h_o_r(_s):

     Johannes Rainer

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     'writeLatexTable'

_E_x_a_m_p_l_e_s:

