skip to content
 

Tex/Latex - FAQ

  1. Where can I learn more about tex or latex
  2. How do I include an eps file in my tex document
  3. How do I include an eps file in my latex document
  4. How do I convert a document from tex/latex to another form Warning - jumps to a separate file. Use back key on browser to get back to this.
  5. How do I print in landscape mode
  1. Where can I learn about tex or latex

  2. How do I include an eps file in my tex document

    to include a file flibble.eps do something like:

        \input epsf    %% needs to be input once only
        \epsfxsize=4in
        \epsfbox{flibble.eps}
    

    or setting \epsfysize to set the y size of the included diagram.

  3. How do I include an eps file in my latex document

    \documentclass{article}
    
    \usepackage{graphicx}
    
    \DeclareGraphicsExtensions{.eps}
    
    
    \begin{document}
    \includegraphics{file}
    % the .eps is implicit.
    \end{document}
    

    The graphicx package allows for inclusion of .pdf files when using pdflatex, and one can switch between the two just by changing the \DeclareGraphicsExtensions line.

  4. Convert from tex/dvi formats to others

  5. How do I print in landscape mode

    use the -t landscape option to dvips. Or use

    \usepackage[a4paper,landscape]{geometry}

    which will also work with pdflatex.