toLatex                package:utils                R Documentation

_C_o_n_v_e_r_t_i_n_g _R _O_b_j_e_c_t_s _t_o _B_i_b_T_e_X _o_r _L_a_T_e_X

_D_e_s_c_r_i_p_t_i_o_n:

     These methods convert R objects to character vectors with BibTeX
     or LaTeX markup.

_U_s_a_g_e:

     toBibtex(object, ...)
     toLatex(object, ...)
     ## S3 method for class 'Bibtex':
     print(x, prefix="", ...)
     ## S3 method for class 'Latex':
     print(x, prefix="", ...)

_A_r_g_u_m_e_n_t_s:

  object: object of a class for which a 'toBibtex' or 'toLatex' method
          exists.

       x: object of class '"Bibtex"' or '"Latex"'.

  prefix: a character string which is printed at the beginning of each
          line, mostly used to insert whitespace for indentation.

     ...: currently not used in the print methods.

_D_e_t_a_i_l_s:

     Objects of class '"Bibtex"' or '"Latex"' are simply character
     vectors where each element holds one line of the corresponding
     BibTeX or LaTeX file.

_S_e_e _A_l_s_o:

     'citEntry' and 'sessionInfo' for examples

