{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}, {pstricks}, or {metapost}.

learn more… | top users | synonyms (4)

1
vote
1answer
950 views

Problem with inserting images on specific page

I am producing a pdf file using LaTeX. Now I want to insert some images on page 13 and page 14 of my LaTeX generated pdf document. That images are stored in some other pdf file. So I want to get that ...
1
vote
0answers
57 views

Images on multiple pages [duplicate]

Possible Duplicate: How to include a picture over two pages, left part on left side, right on right (for books)? I need to insert a really big diagram and i need to split it in two pages. Is ...
28
votes
2answers
66k views

How to include a PDF image into a PDFLaTeX document

I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX ...
99
votes
4answers
168k views

Scale image to page width?

I use \inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos.
4
votes
2answers
542 views

How to include graphics from a complex file structure

I am writing a Latex file that needs to include figures from a directory graphs. graphs has several sub-directories say, one , two and three. These individually contain several graphics that should ...
4
votes
1answer
2k views

Problem using matlab2tikz

I'm trying to get matlab2tikz to work. I want to use it for prettyfying output of Matlab's image() command. In Matlab I tried imagesc(rand(100)); xlabel('X'); ylabel('Y'); title('Random Colors'); ...
22
votes
2answers
12k 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? MWE:...
4
votes
1answer
474 views

Font issue when including EPS from Metapost into XeLaTeX

I've run into strange problems with fonts in figures included in XeLaTeX document. I have figures generated from Metapost sources with rotated math labels. When I include resulting EPS into document ...
5
votes
1answer
2k views

How to force a picture's location and still use overpic

I want to insert a picture, and use overpic to label it, in between two paragraphs of text, like so: Here is my first paragraph of text. \begin{figure}[htb] \centering \begin{overpic}[width=0.5\...
19
votes
3answers
7k views

Image with axis

I need to plot some data in a file (10000 records of 2 points each one) but PGFPlots is very very slow rendering it. So I'm trying to use MatLab to plot the data, capture the image without axis and in ...
5
votes
1answer
587 views

Different graphic formats in a document

I have a large LaTeX document with figures in .eps, .pdf, .png, .tif(f), .jpg formats as well as pstricks code and psfrag fragment. One approach to compile this document is to use an external program ...
6
votes
1answer
4k views

Image quality using PDFLaTeX

I've got some PNG images within my LaTeX document. The quality of the image files is sufficient and the result using LaTeX and viewing the resulting DVI file is quite what I expect - looks good. But ...
1
vote
0answers
78 views

How can I write text to a graphic? [duplicate]

Possible Duplicate: How to superimpose LaTeX on a picture? I want to write text to a graphic. Firstly I thought about the wallpaper package in combination with the textpos package. Do you know ...
6
votes
1answer
228 views

How may i add a paper stucture? [duplicate]

Possible Duplicate: PDF letterhead as document background Does anybody know, how to get a paper structure like shown at http://www.tsengbooks.com/showbooks.html ? I've heard this would be ...
16
votes
2answers
2k views

High precision \includegraphics for LaTeX

\includegraphics produces boxes whose witdth and height are about 0.5pt off: \usepackage{graphicx} ... \setbox0\hbox{\includegraphics[width=\textwidth,height=\textheight]{mypic}} \showthe\textheight \...
5
votes
1answer
584 views

Spacing using minipage in theorem environment (ntheorem)

Consider the following example and notice the different vertical spacings between the theorem caption and the text. Is there a way to get the same spacing when using minipage as in the case of normal ...
51
votes
1answer
90k views

Scale figure to a percentage of \textwidth

I would like to change my figure's width to a precentage of my \textwidth: \textwidth /2 would scale to 50% of the \textwidth. What is the proper syntax (if any) to do this ?
3
votes
2answers
2k views

Recommended resolution (dpi) for \includeimage pics (pdflatex)

I designed a newsletter using a logo and a topbanner, 2 pages. It is to be send by mail (A4-paper) and by e-mail (pdf). As usual, I used 300dpi for my graphics. The result is 1.2M in size, which is ...
12
votes
1answer
19k views

Problem inserting figure to LaTeX file using Texlipse

I'm trying to insert a figure into my LaTeX file using the following syntax: \begin{figure} \centering \includegraphics [width=3in]{fig1.png} \caption{Calculation of shortest path betweenness} ...
1
vote
0answers
1k views

Images (png) are very blurred when printing pdf (generated with pdflatex) from linux [closed]

When I create a pdf file using pdflatex which includes png images the output of the pdf looks fine in my linux and windows pdf viewer. However, when printing this file from linux to a network printer ...
122
votes
4answers
483k views

LaTeX figures side by side [duplicate]

Possible Duplicate: Two figures side by side I want to place 2 images side by side in LaTeX. I have 2 .png files and I don't understand how to do it in LaTeX. I have tried many ways but could ...
24
votes
3answers
29k views

How to pause figures in beamer

I would to \pause two different images (as I can to do with text). This is the ideal code: \documentclass{beamer} \usetheme{Copenhagen} \setbeamercovered{dynamic} \begin{document} \begin{frame} \...
17
votes
4answers
10k views

How to make a grid of images?

Is it possible to place 4 images in an 2x2 grid? I don't want to float them, I don't want any captions. Each image should have the same width. Edit: Thanks for all the answers. After trying it out, ...
1
vote
1answer
405 views

Latex does not read figure file [duplicate]

Possible Duplicate: Why does the image not appear? I have a LaTeX file, which I compile with pdflatex and I have put some figure with the command \resizebox{6.5cm}{!}{\includegraphics{...
7
votes
1answer
4k views

\includegraphics forces new page

When I include a PDF diagram, it forces a new page, so I have one blank page and then this diagram, can somebody help me please? I need to remove that blank page. My document looks like this \...
2
votes
2answers
990 views

fancyhdr with image and flowing text

I want to add a flipbook to my document. Everything seems to work (adding the write pictures. The only thing I'm looking for is making the text flow on every page around the image inserted with ...
6
votes
2answers
3k views

Problem with parpic and compactenum

I want to place a graphics to the right in a theorem environment containing a compactenum list. I tried to use parpic like this, but it doesn't work: \documentclass{article} \usepackage[pdftex]{...
2
votes
0answers
110 views

how to link a margin graphic to a URL [closed]

I am trying to create a margin graphic that is linked to a url. So when I click it in the pdf document, the url will open in a browser. I cannot figure out how to do that. My try below does not work ...
10
votes
2answers
656 views

Format a tutorial with screenshots in LaTeX

I want to format a step-by-step tutorial in LaTeX in a way that each step shows one screenshot and a small piece of text for that step. I could think of a formatting where in each step the screenshot ...
2
votes
1answer
526 views

Seeing figures inside a tex/latex buffer in emacs

Quite often while typing in emacs I will LaTeX a file just to see whether I am including the right figures in the right order. Is there an emacs package that will either: show the figure within the ...
3
votes
1answer
581 views

graphing problems in metapost

I have some data as follows (first and second columns) in the file mydata.d that I want to graph: 8 98826 year 2008 9 104925 year 2009 10 140153 year 2010 11 178414 year 2011 As we have ...
4
votes
2answers
1k views

How to replace chapter boilerplate with full-page image?

Let's say I am producing a book (using \documentclass{book}) where instead of displaying the chapter name textually, I am inserting an image that includes the chapter text. How can I still start a ...
2
votes
1answer
301 views

Why using pdf we get better results than using dvi?

In How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?) I asked how I could change the equation sizes. Nothing seemed to work. But the problem was I was ...
11
votes
4answers
7k views

How to export a equation as a image without background?

For example, if we have a equation on a file like: \documentclass[12pt]{standalone} \usepackage{varwidth} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath, amssymb, ...
10
votes
3answers
2k views

Convert PNG image to TikZ code

I am trying to convert this image here into a somewhat clean TikZ code Now I downloaded potrace, and tried to convert the image to an eps, and then to use inkscape to convert it into TikZ code. Alas,...
7
votes
1answer
4k views

Graphic size in slides

I'm doing a slide presentation with LaTeX, and some slides show only graphics. I created those graphics using R. But in those slides, the graphic size is too big and a part of the graphic does not ...
8
votes
2answers
10k views

LaTeX cannot embed images located inside a folder

I have a few JPEG images inside a folder. I use the following code to embed images \begin{figurehere} \centering \includegraphics[width=0.5\textwidth]{folder\test.jpg} \caption{Example \...
3
votes
0answers
2k views

xdvi/ghostscript error on inserting a png into a LaTeX file [closed]

I'm trying to include a .png picture into my LaTeX .dvi file. I use Emacs on Debian, if that is of any importance. I do this by \usepackage{graphicx} \graphicspath{{./dia/}} and then \...
1
vote
2answers
3k views

Rotate eps image without the whole page

I have a eps file printed out from a Simulink model using the Matlab command print -deps. However, the image is rotated +90 degrees to portrait. When I include it into my latex document, the whole ...
1
vote
0answers
1k views

How to include class diagrams in Doxygen pdf? [closed]

I'm doing a programming project in college and I documenting my code with Doxygen. The program generates two folders, html and latex. In the html folder, there are some class diagrams (png files) I ...
24
votes
3answers
31k views

How to overlap images in a beamer slide?

I'm creating a beamer presentation. I want to make one frame that has a couple of images overlapped, like a stack of photos. Actually, I want something like this: .-----. | AAA | | AAA | '-----' ...
9
votes
3answers
4k views

How to put algorithm and figure(s) side by side?

How can I put an algorithm and figure(s) side by side? Say, XXXXXXXXXXX FIG ONE XXXXXXXXXXX FIG ONE XXXXXXXXXXX FIG ONE XALGORITHMX FIG TWO XXXXXXXXXXX FIG TWO Please, only post working solution -...
2
votes
1answer
696 views

Insert other shape with shapepar and cutout

How to fix this code so that the text clipping the picture? I'm not able to edit the initial commands. \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{shapepar} \usepackage{...
3
votes
3answers
413 views

Error shapepar to use the command \circleshape

See my code: With \diamondshape it works but with \circleshape it does not. What is wrong? \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{shapepar} \usepackage{lipsum} \...
14
votes
1answer
26k views

Including GIF image in pdflatex document

I'm trying to include GIF image in my LaTeX document. To my understanding this is possible. I'm using pdflatex and I get the following message: ERROR: LaTeX Error: Unknown graphics extension: .gif. ...
16
votes
5answers
11k views

LaTeX is putting a border around my figures

I'm trying to embed a few images in a figure, but LaTeX keeps putting a border around three of the sides. Is there any way for me to keep it from adding this border? The code that I used to create ...
18
votes
2answers
2k views

Text wrap with shapepar (insert image between text)

How do insert image between text and text wrap with shapepar or other package?
2
votes
1answer
1k views

Inserting text in the image between two columns

How do I insert an image from text in two columns so that the text go around the picture?
15
votes
6answers
13k views

How to export matlab figures to (pdf) LaTeX?

I am writing a student thesis in LaTeX and need to import several figures created in Matlab. I found some programs to do this task: matfig2pgf matlab2tikz fig2texPS The problem is that using one ...
4
votes
1answer
388 views

Horizontally centered figures in twoside margin of book using wrapfig

I would like to put figures in the outer margins of a book. I am using wrapfig to do so, but the figures are aligned differently on even and odd numbered pages. On odd pages, they align based on the ...