{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)

96
votes
4answers
391k 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 ...
19
votes
3answers
25k 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
372 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 ...
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
958 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} ...
2
votes
0answers
109 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
584 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
490 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
554 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
291 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 ...
8
votes
3answers
6k 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. ...
7
votes
1answer
3k 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 ...
7
votes
2answers
7k 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
2k 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 ...
22
votes
3answers
27k 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
635 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} ...
3
votes
3answers
374 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
24k 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. ...
15
votes
5answers
9k 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 ...
16
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
12k 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
369 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 ...
16
votes
1answer
2k views

Surface of Revolution

how to draw using surface of revolution tikz or pgfplots? \documentclass{article} \usepackage{tikz,pgfplots} \begin{document} \begin{tikzpicture} \end{tikzpicture} \end{document} I am not able to ...
10
votes
2answers
2k views

How to put round cornered frame around an image

I want a nice colored frame around an image which has rounded corners. Here is my attempt, using mdframed, but, as you can see, the inner edge of the frame is a right-angle, and not rounded. I would ...
7
votes
3answers
4k views

How to make a table with centered images?

On page 6 in this PDF is there a table with centred pictures in the right column. Does anyone know how to make such a table? I am using pdflatex.
36
votes
3answers
17k views

Understanding minipages - aligning at top

I would like to be able to align two minipage at the top, without worrying about what is in the minipage. I am aware of the optional [t] parameter, but still have some confusion as to how this all ...
3
votes
2answers
2k views

How to display a picture flush to the right side of the page and the bottom? [duplicate]

Possible Duplicate: Absolute positioning in beamer Insert graphic at precise place on a page I would like to add a picture to my title page, however, for effect, the picture needs to be ...
8
votes
3answers
3k views

Is it possible to invert/substitute the colors of included graphics?

I want to use the beamer package with a white on black style to create presentations. I included a simple switch to choose black on white for printout. Is there any possibility to also invert the ...
4
votes
1answer
220 views

How to include a varying graphic in margins

I need to typeset a case report consisting mainly of text, with the occasional picture. This can be done in the article or amsart classes, of course, but I would like to include a varying graphic (a ...
11
votes
2answers
6k views

Two images to fill one beamer frame: most appropriate method?

Suppose I have two images: one a solid blue square and another a yellow. What is the most appropriate way to divide and fill an entire beamer frame with these images? Horizontally (i.e., left half ...
8
votes
5answers
37k views

Insert eps graphics with graphicx (file not found)

When I run Andrew Robert's import.tex in MikTeX I get an error message saying that the image file is not found: ! LaTeX Error: File `chick' not found. See the LaTeX manual or LaTeX Companion for ...
8
votes
1answer
2k views

error bar colors in scatter plot

A data file contains four columns: x, y, error on y, class. class is an integer which I feed to scatter src so i get a graph that has different colors for different classes. However, the error bars ...
1
vote
2answers
1k views

How to see figures prepared in …eps in Yap?

I have MikTEX2.8, WinEdt5.5, Windows XP In the style article figure, presented in title.eps sometimes (unpredictable) after obtaining dvi file cannot be seen in Yap, they are seen in pdf (via ...
9
votes
1answer
1k views

Clipping tikz and raster pictures zigzag style

Is there a way to achieve this kind of clipping for raster images as well, not only for tikz pictures? -- Solved, see Edit #1. Are there any easier solution to achieve this with TikZ? -- Solved, see ...
14
votes
2answers
2k views

Zooming on a data set in a picture (magnifying glass)

In my TeX document I would like to add a picture and in addition, zooming on a small part of the picture (e.g. inset in TeX or spy in TikZ). My question, I have a histogram 2D (f(x,y) = z) date which ...
1
vote
1answer
2k views

Modifications on PDF file do not show up

I usually prefer PDF images for my LaTeX documents because they are easy to crop/resize using Adobe professional. I am facing a weird problem. I modified one of the PDF images using Adobe professional ...
4
votes
3answers
329 views

How to typeset my research publication?

I have the content for a small research publication ready. I have noticed that the formatting of most of the research papers looks the same. How can I quickly convert my text to a research ...
7
votes
1answer
6k views

How to vertically and horizontally centre text and images in (different) table cells?

I have a table which contains images in one column. I would like the first column to have text centred vertically and horizontally. I would like the second column to have text left justified and ...
19
votes
1answer
3k views

What is the advantage of using \includegraphics instead of \pgfimage for ordinary image inclusion?

The TikZ & PGF manual says that ‘LaTeX’s \includegraphics is designed better than pgf’s image mechanism’ and that ‘LaTeX users are encouraged to use \includegraphics to include images.’ But is ...
26
votes
1answer
47k views

Multiple columns with images and wrapped text in Beamer

I need a frame looking like the image below in beamer. The 3rd column will have multirow text with an equation. There are no horizontal lines, neither do I need the boxes around each of the columns. ...
33
votes
2answers
58k views

How to fit a large figure to page [duplicate]

Possible Duplicate: Best figure size adjustment when dealing with different image sizes Given: a large figure, whose height:width ratio is unknown. Todo: Include this fig in LaTeX, such ...
10
votes
3answers
19k views

Drawing circuit diagrams (with logic gates) in LaTeX

I'm having some difficult drawing circuit diagrams with logic gates in LaTeX. I've tried with circuitikz and pst-circ. \begin{pspicture}(-1,-1)(5,3) \logicand[ninputs=2,invertinputa=true, ...