[OS X TeX] Re: LaTeX, MS Word, asking questions, LyX (was 1/2" margins)

William Adams will.adams at frycomm.com
Fri Oct 13 13:26:02 CEST 2006


On Oct 13, 2006, at 3:01 AM, Google Kreme wrote:

> I've been meaning to setup a letterhead template, but I haven't  
> gotten around to figuring out how to put graphics into a LaTeX file  
> yet.

Believe it or not, w/ TeXshop it's mostly ``drag and drop'' and if  
you drop a graphic in you'll get something like:

\includegraphics[]{../Desktop/Listing.pdf}

and all you need to add to support it is:

\usepackage{graphicx}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/ 
`basename #1 .tif`.png}

(that's from the LaTeXTemplate stored under the ``Templates'' button  
in the TeXshop button bar)

There's even a graphics template:

\begin{figure}[htbp] %  figure placement: here, top, bottom, or page
    \centering
    \includegraphics[width=2in]{example.jpg}
    \caption{example caption}
    \label{fig:example}
\end{figure}

and lots more hidden away under ``More'' --- read the graphicx  
documentation for more information on the graphics angle.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list