{graphics} is about inclusion of external graphic files in your document. For questions about vector graphics created programmatically inside a (La)TeX document, use {diagrams} instead, or preferably the tag for specific packages like {tikz-pgf} or {pstricks}.
124
votes
3answers
14k views
Drawing on an image with TikZ
Recently I have learned how to draw simple stuff with TikZ. I really like it. Now I wonder if it is possible to draw with TikZ on a image. Instead of pasting a image in Illustrator and adding some ...
25
votes
6answers
7k views
Why are some pages in my PDF coming out bold?
When I run my LaTeX document through pdflatex, some of the pages (the ones where figures appear) have all the text bolded. Why, and what can I do to make it stop?
19
votes
2answers
2k views
How to define a figure size so that it consumes the rest of a page?
Sometimes I don't need to have a specific picture size, but for layout reasons I would like to scale the image so that the rest of the page is filled. How can I achieve that?
54
votes
1answer
3k views
How to include a picture over two pages, left part on left side, right on right (for books)?
When writing a long book (from 300 to over a 1000 pages), there is often need to include large pictures and one wishes to have them displayed over two pages, left half on the left page, right half on ...
60
votes
6answers
7k views
Compile a LaTeX document into a PNG image that's as short as possible
I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
112
votes
12answers
27k views
How to include SVG diagrams in LaTeX?
I'm making all my diagrams in SVG format using Inkscape and then I export them to some other format (e.g. PDF, EPS or PNG). I wrote a short script that does this for me automatically, but I'd like to ...
37
votes
6answers
2k views
Which graphics formats can be included in documents processed by latex or pdflatex?
There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know ...
26
votes
7answers
6k views
Included PNG appears blurry in PDF
This is a follow-up to Included png appears too big in PDF, but it's a separate issue so I'll put it in its own question instead of burying it in comments.
The problem: an included PNG, included ...
18
votes
2answers
2k views
How to superimpose LaTeX on a picture?
I know how to add a picture to my LaTeX file, e.g. \includegraphics[width=7cm]{curve.pdf}. What I'd now like to do is place some latex symbols onto the picture. Like a \gamma to name a curve. I do not ...
35
votes
3answers
7k views
Why should a table caption be placed above the table?
In the papers I read the caption in figure floats is placed below the figure and in table floats the caption is placed above the table.
I recognize that this is a common style that a lot of people ...
24
votes
1answer
3k views
Insert graphic at precise place on a page
I would like to put a small graphic in the bottom right corner of a the title page of an article. Is there a way to specify a precise location for a graphic on a page (that has text on it)?
I've ...
29
votes
2answers
7k views
How to include graphics with spaces in their path?
I want to import graphics into my main input file using the macro \includegraphics. It does not work if the filename contains spaces.
Include image with spaces in path directory to be processed with ...
53
votes
4answers
3k views
How to create magnified subfigures and corresponding boxes for portions of a large image
Updated Below
I hope the title gets at what I'm trying to do. I have a large image for a thesis on an image processing topic, and I want show the large image, with zoomed in boxes (typically with the ...
13
votes
3answers
4k views
Quickest way to include graphics
Whenever I make a presentation with LaTeX, it takes me a long time to include the graphics in the way I want them to look.
I start with \includegraphics{foo.jpg},
run pdflatex to see what it looks ...
34
votes
5answers
14k views
Why can't pdflatex print EPS figures?
The images in my paper are in EPS format. If I execute pdflatex to get a PDF version of my paper, the figures won't appear. I have to typeset using the latex command, and then convert the DVI file to ...
59
votes
3answers
2k views
Fundamental differences : PSTricks, TikZ/PGF and others
OK, since this is a pretty vague and subjective question. I need to set up some borders around the discussion that I intend to benefit from. But before anything, I certainly do NOT want to excite the ...
31
votes
2answers
2k views
Can I use an image located on the web in a LaTeX document?
I have tried
\includegraphics{http://www.site.com/path/to/figure.png}
But this returns the error
ERROR: Package pdftex.def Error: File
`http://www.website.com/path/to/figure.png'
not found.
...
15
votes
2answers
2k views
How do I add an image in the upper, left-hand corner using TikZ and graphicx
This is perhaps a simple question with a simple answer, but I'm stumped as a tikz novice. What would be the best method to add an image (logo) file to the upper left-hand corner of my document?
...
21
votes
7answers
2k views
What GUI applications are there to assist in generating graphics for TeX?
I found GeoGebra to be a useful tool to help generate code for graphs. I suppose there must be other tools to help draw diagrams such as Sets/Venn Diagrams or Electrical Circuits (Logic Gates). Which ...
30
votes
3answers
8k views
How to expand TeX's “main memory size”? (pgfplots memory overload)
I'm compiling one pretty simple LaTeX file with few dozen of pgfplots. Now, I can compile part by part, but am unable to compile it all at once. I really need good precision for all those plots (noise ...
24
votes
2answers
393 views
Graphics file extensions and their order of inclusion when not specified
When using graphicx's \includegraphics you can specify the file extension or not. For generic use and perhaps portability, extensions are commonly dropped. The types of "approved" inclusions and their ...
11
votes
3answers
6k views
My pixel perfect picture gets blurry when compiled in LaTex
Here's my problem.
I have this picture: http://dl.dropbox.com/u/3394117/Temp/fig1.png (I have the original in Pixen and could export it to several different formats. I went with png though since it's ...
42
votes
4answers
5k views
How do I insert an image in LaTeX so it looks good on print?
LaTeX documents print beautifully, but images often looks "ugly", "pixelated" or "low-res" compared to the text. By images I don't mean photos, which I rarely use, but rather diagrams, charts and ...
20
votes
1answer
9k views
How can I position an image in an arbitrary position in beamer?
I am making a presentation using beamer, and I want to be able to position a certain image the way I want in a frame. I am not sure how to do that.
Is there some way you can specify coordinates in the ...
25
votes
3answers
1k views
How to preserve hyperlinks in included pdf?
I have generated PDFs with figures that have hyperlinks (hyperref to websites, \href) in them. When I compile these figures standalone the hyperlinks work. But when I try to include these PDFs (as ...
13
votes
2answers
673 views
Aligning enumerate labels to top of image?
I asked a question a while ago about vertically aligning enumerate labels to the top of table. Now I am having the same problem, but with images. Since my problem was solved in my previous thread, I ...
6
votes
1answer
436 views
TikZ borders showing through when they shouldn't (overlapping circles)
If you draw two circles that are exactly the same in all aspects (location, size, etc...) except they have different colors, then the "border" of the underlying circle is showing through.
...
33
votes
3answers
2k views
3-dimensional histogram in pgfplots
I have a simple 3d histogram
which I want to import into pgfplots, e.g. using matlab2tikz or by hand.
PGFplots does not offer 3d histograms.
Is there an easy way to do this?
33
votes
4answers
2k views
Does anybody know a good source of (free) ornaments, decorations, frames, backgrounds etc.?
I'd like to prepare a "fancy" typographical project, more interesting visually than a "boring" black-on-white text. I'm not very talented at drawing, though, so I'd like to ask about a place to find ...
19
votes
1answer
3k views
Simplest way to overlay a text + rectangle label an image?
For my figures thus far I've been using LaTeX's straightforward figure code, i.e.:
\begin{figure}
\centering
\includegraphics[width=6.5in]{figure.png}
\caption[Stuff here]{(A) More stuff ...
42
votes
4answers
4k views
\includegraphics: Dots in filename
\includegraphics cannot handle filenames that contain more than the one dot, separating the filename from the extension. Apparently it uses everything after the first dot as extension and then, of ...
32
votes
6answers
2k views
Which figure type to use: pdf or eps?
Both are vector graphics (typically) and both can be imported painlessly into a pdflatex document (so let's say we ignore dvi for this question).
What are the advantages and disadvantages of each? ...
11
votes
4answers
5k views
Scale (resize) large images (graphics) that exceed page margins
Background
A large number of screen captures have been scaled 300% at 288dpi. They appear correctly when embedded in OpenOffice, but not LyX.
Problem
Images that do not extend beyond the margins ...
68
votes
3answers
3k views
Choosing whether to include PDF or PNG in PDFLaTeX
Can I tell graphicx somehow which graphic format to choose when I omit the file extension in includegraphics and both a PDF and a PNG version of the same image exist? The reason is that I have some ...
29
votes
5answers
12k views
How to vertically center two images next to each other?
How can I vertically center two images next to one another? Here is some example code:
\begin{minipage}[h]{6in}
\centering
\vspace*{.3in}~\\
\includegraphics[height=1.25in]{fig1.pdf}
...
22
votes
4answers
4k views
How to wrap text around a figure?
How to wrap text around a figure in LaTeX like this?
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Aenean quis mi ut elit interdum imperdiet quis non ante.
Sed imperdiet, sapien quis ...
14
votes
2answers
897 views
Use “default” figure if file is missing?
I was recently in charge of organizing all of the references and labels in a very large scientific proposal document. My workflow typically involved compiling the document, seeing a "There were ...
9
votes
4answers
2k views
Convert gif image to png on the fly
I am using pdflatex on linux and attempting to convert gif to png.
I can run scripts to find out the image attributes and even and convert
the files supplied from a folder but I can not write back to ...
7
votes
2answers
740 views
Set fonts in matplotlib graphs equal to tex document
I am writing my PhD in LaTeX and I am generating all my graphical content in Python with the matplotlib package. For my TeX document, I am using a math-supported font -- e.g. Kurier Light Condensed -- ...
5
votes
1answer
2k views
Why does the image not appear?
I'm using IEEEtran to format an article, and I wanted to include an image. I included the graphicx and hyperref packages, and used the following code, like normal, to include an image.
...
27
votes
9answers
9k views
What is the best way to include Matlab graphics?
Which way of exporting Matlab graphics delivers the best result for inclusion in LaTeX? Is it possible to export scalable vector graphics, or even LaTeX graphics?
27
votes
7answers
6k views
What graphics packages are there for creating graphics in LaTeX documents?
What packages do you use and recommend for creating graphics in your LaTeX documents?
As this is a community wiki post, please add your package to the accepted answer (or add a comment, and ...
23
votes
1answer
786 views
Adding a per-chapter image along with group of entries in ToC
Friends, I have an old analytic geometry book with an unusual table of contents: for every group of entries based on the current chapter, there is an image along with it. Well, let me show some actual ...
13
votes
2answers
7k views
Aligning image and text on top, with minipages
I have an image (on the left) and a block of text (on the right), and I would like both to be aligned on their top. I am trying to use minipages for that:
\documentclass{article}
\begin{document}
...
9
votes
3answers
2k views
Using fancyhdr to create an image based header and footer
I'm trying to generate a latex report (via Sweave and R) where the header of the document is an image that covers everything (including the top/left/right page margin) and the footer covers everything ...
17
votes
1answer
18k views
Beamer text and image on the same slide
I am new to beamer and LaTex itself. Right now I want to make a simple slide with image on the right and text and sidebar (of Hannover theme) on the left. I cannot figure out how to do that.
Any ...
11
votes
1answer
857 views
Set image to full all available space in Beamer (without overlapping other elements)
I want to have an image take up as much as possible of the content area in a beamer presentation, without overlapping the title, the sidebars, or the footers. How can I achieve this?
The code below ...
9
votes
2answers
467 views
Image on top specified page
How can i place an image on the top of the specified page. For example odd pages will be filled by image, even with text. Or, i just want to make sure that (lua)latex will place images on page 2,3,6?
...
14
votes
3answers
473 views
How to replace all pictures by white rectangles?
I have a long document (800 pages) with lots of pictures (300 pictures).
I have to produce a version of this document without the pictures (for copyright reasons).
The solution I have found so far is ...
9
votes
4answers
2k views
Inkscape → PDF → includegraphics → XeLaTeX → changed colors
I have an SVG file, which I have made/edited with Inkscape. I want to include this image in my thesis. The svg file is here: http://brussense.be/temp/theSVG.svg
(because Inkscape uses a non-standard ...
