[R] Latex Question

Jason Turner jasont at indigoindustrial.co.nz
Sat Dec 8 05:41:28 CET 2001


Two minor points; one a fact, the other a personal opionion...

On Fri, Dec 07, 2001 at 11:17:24PM +1300, Ko-Kang Kevin Wang wrote:
> The latex command you will need is \includegraphics{filename.ps}.  Normally
> I'd use a block of statements as follows:

<fact>

To use \includegraphics{} , you need to put a 

\usepackage{graphics}

or

\usepackage{graphicsx}

somewhere in the document preamble (i.e. between \documentclass{} and
\begin{document}).

</fact>

Welcome to LaTeX.  

> \begin{figure}[h!]  % Begin to insert a figure, h! means here.  You can
> append a t (top) or a b (bottom) in front of h

<opinion>
Depending on the document, \begin{figure}[h!] is not usually prefered, 
typographically, to \begin{figure}.   Play with them; [h!] gives results 
more familiar to people used to word processors - the graphic goes where 
you've told it to.  Most serious publications use the convention of putting 
figures at the top of the page, to avoid breaking up the flow of text.  
There are pretty convincing typographical reasons for this.  If you've only 
got a handful of figures (no more than one per two pages), LaTeX does a 
pretty good job of sorting out where things need to go.  

Check out the varioref package for nifty cross references to figures.
</opinion>

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list