| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Prepare an Image for use in LaTeX

Page history last edited by Jim Davies 13 years, 2 months ago

Sometimes Jim will give you an image and ask you to prepare it for use in a book written in LaTeX.

 

1. Install the Gimp, photoshop, or some image program with which you can save an image as an eps (Encapsulated PostScript). The Gimp is free software.

 

2. Find a good version of the image. There are a few factors at work here: 1) image quality. The image should be high enough quality to be printed in a book. 2) Rights. We should know who owns the image. We prefer images that are free in some way (see below.)

 

3. Find ownership. If you can get a version of the image that is creative commons Attribution or creative commons attribution-NoDerivatives, we don't need permission from anyone (Sharealike is no good because Jim plans to sell books to publishers, and it won't be given away under a CC license). You can often find free images at Wikimedia Commons, but pay attention to exactly what the license is. If you can't get a free version, find out who owns it, find out who we'd need to contact to get permission to print it.

 

4. Create the LaTeX code. It should look like this:

 

\begin{figure}[H]
\centering
\includegraphics  [width=0.3\textwidth] {PictureFileName.eps}
\caption{The caption goes here (Adapted from Wikimedia Commons).}
\label{fig:PictureFileName}
\end{figure}

% Comments go here, each line preceeded with the % symbol.

% Permission information.

 

Put the filename in place in the third line.

Put a caption describing what it is in the caption line. Put "adapted from" if you changed the image (format doesn't count.) We can't change the image at all if it's a Creative Commons Attribution-NoDerivatives license. Also in the caption you need to credit who the image is from. For example, "Image appears courtesy of the National Art Gallery of Canada."

The label is how the figure will be referred to in the document. Just put the filename without the extension there, for consistency. Please pick an understandable filename.

 

Put all permission information in the comments below the other LaTeX information so Jim or his publisher can track it down easily. Don't try to get the permission yourself.

 

5. Save the image as a .eps

 

6. Send an email with the LaTeX code, the attached image, the permissions information in comments, and whatever comments that came with the request in the Caption. Email it to jim@jimdavies.org

Comments (0)

You don't have permission to comment on this page.