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

6
votes
2answers
1k views

compare two diagrams side by side

I'm trying to compare two diagrams in pdf format side by side. I have this post - Two figures side by side to get some hint. This is the code that I'm coming up with. \begin{figure} \begin{...
0
votes
2answers
261 views

How to print part of .tex code to pdf

My friends send me this .tex code, but it is only part of the code. I need your help to edit this code into a full document, because when I insert this code to TeXworks it does not compile into a pdf ...
4
votes
2answers
1k views

Get a includegraphic to stick in the same place for several beamer slides

I am working with a presentation where I want a sequence of slides with a figure that changes slightly for each slide. I want the figure to to stay in the same place for many slides and I want to ...
0
votes
1answer
215 views

Covering map picture [closed]

I wish to draw a crazy covering map showing charts any help?
2
votes
1answer
691 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{...
8
votes
2answers
846 views

Watermark on pictures only

I know how to use a watermark on a full page in LaTeX reports, using for instance this code: \usepackage{draftwatermark} \SetWatermarkText{Confidential} \SetWatermarkScale{5} However, on my report, ...
0
votes
0answers
38 views

Image is not in the right position [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned Why does the image is not at the point where I included it in the code, but at the end of the part? \documentclass[...
21
votes
3answers
61k views

How to order 3 images horizontally?

I use the following code to include three images: \begin{figure}[h] \includegraphics{delete_gesture.png} \caption{Awesome Image} \label{fig:awesome_image} \end{figure} \begin{figure}[h] \...
8
votes
1answer
8k views

Option clash when using graphicx and tikz packages

The following code fails Option clash for package graphicx, it seems to be an incompatibility between the package graphicx (when the option pdftex is used) and the package tikz. \documentclass[...
2
votes
0answers
103 views

Showing an image with the topic in table of contents in beamer [closed]

In beamer, there is a facility to show the table of contents slide each time I switch to a new section, where the new section will be lighted and others dimmed. Can I find a way of showing an image ...
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'); ...
5
votes
2answers
318 views

How to write some texts in this picture?

I have a file \documentclass[10pt]{article} \usepackage{pstricks-add} \usepackage{esvect} \pagestyle{empty} \begin{document} \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,...
3
votes
3answers
4k views

Problem with AUCTeX, graphicx, pdfTeX and \pdfoutput not equaling 1

I've been using Emacs + AUCTeX for several years now, and all of a sudden I started getting the follow error on all documents that have compiled fine before: ERROR: Package pdftex.def Error: PDF mode ...
1
vote
2answers
3k views

XeTeX and GraphicX

When processing with XeLaTeX, some .pdf (I really don't know the difference between them) files give the following error: ! LaTeX Error: Cannot determine size of graphic in xxxx.pdf (no BoundingBox). ...
27
votes
3answers
36k views

tabular vertical alignment to top?

I'm trying to create a simple tabular with two cells of text and two images below them like so: \begin{tabular}[h]{ c | c} \emph{Normal} & \emph{Cone} \\ \includegraphics[width=0.39\textwidth]{...
1
vote
1answer
2k views

How to make graph originally generated by stata look good? [closed]

I use stata to get an eps graph, then use pdfLaTeX to get a pdf file. \documentclass{article} \usepackage{graphics} \begin{document} \centering \includegraphics{test} \end{document} When I ...
1
vote
1answer
1k views

how to handle corrupted graphics file

I am generating a latex file with many \includegraphics commands from a program. The image files change from run to run. The latex file might, for example, look like the one in this question. ...
2
votes
1answer
369 views

hbox out of margin, beamer

I wanna put a round image in a presentation il LaTeX out from the margin. I would like to show it just as a 1/4 of the image in the left bottom corner. I tried: \begin{frame} \tableofcontents \...
7
votes
2answers
2k views

beamer: How to align images in separate columns?

Here is a snippet of a beamer frame which is divided in three top-aligned columns. Each column contains: some top text an image some bottom text The problem is: because "some top text" in ...
7
votes
1answer
234 views

Overlaying tables

I have two tables as follows: Table 1: Row/Column | C1 | C2 | C3 ROW 1 | v | v | v ROW 2 | v | v | v ROW 3 | v | v | v ROW 4 | v | v | v ROW 5 | v | v | v ... ROW ...
5
votes
2answers
564 views

Positioning of image within an equation

I have the following problem: I would like to have images of Feynman diagrams as part of equations. Using \newcommand{\imineq}[2]{ \includegraphics[height=#2ex]{#1}} I had success in as far as \...
5
votes
2answers
929 views

Change default width of images in graphicx package

Is it possible to change the default width of an image included via \includegraphics (from the graphicx package) to a custom value, for example \linewidth. So I want something like this: \...
19
votes
3answers
1k views

Typesetting a dictionary containing pictures

I am seeking advice (any ideas) how to typeset a bilingual dictionary that will contain many pictures. The picture below shows the dictionary. Problems: The lines in columns differ. The spaces ...
3
votes
1answer
2k views

centering figure, containing a \subfigure with customized \includegraphics

My Problem: I would like to have all images in my Latex document beeing well sized in height and width. Precisly I want, that protrait and landscape images get a predefined size in the document. I got ...
6
votes
2answers
1k views

Included pdf (wallpaper, or includegraphics) has different colors [duplicate]

Edit: Duplicate-clickers, please read on - I believe this case is different, for the following reasons: a) As I said in original post, I am not printing with Acrobat, but using Skim and Mac OSX ...
9
votes
1answer
2k views

Zooming images out to specific locations in beamer

I want to: Show an image full width On click, make a small sized image placed at a particular location starting from top left and show another image full width Repeat the process till all four ...
1
vote
1answer
430 views

PDFs included by XeLaTeX are rotated

When I include an image in pdf format, the image in the file is normal when compiling with pdfLaTeX, but it is rotated counterclockwise 90 degree when using XeLaTeX. The questions are: Why? How to ...
2
votes
0answers
86 views

what would be the best way to include .tif image to pdflatex document? [duplicate]

Possible Duplicate: Which graphics formats can be included in documents processed by latex or pdflatex? I'm trying to include .tif image to a pdflatex document, but it says it is unknown ...
6
votes
2answers
4k views

Keyval Error with \includegraphics: options undefined

I'm trying to make a class file to help me draft bylaws for clubs, but I'm running into a problem with \includegraphics. I want to be able to define a club logo using a \logo command (see class file),...
8
votes
2answers
637 views

Do images have to be saved in a specific location before inserting them into LaTeX?

I've been trying to insert an image into LaTeX using the [graphicx] package using TeXworks with very little success. The .PNG image I want to insert is currently just saved in my Windows Pictures ...
3
votes
0answers
237 views

Drawing on an external image with Asymptote [closed]

When embedding Asymptote code in LaTeX with the asy environment, is there a method to include an external image and add some labels, boxes, or arrows on the image, just like what the Tikz can do (...
4
votes
1answer
597 views

Resolution (dpi) checks for included bitmaps

When I include bitmap images in my PDF files (created with pdflatex and the graphicx package), I always check manually that the resolution will be suitable (I shoot for something between 200 and 300 ...
5
votes
1answer
2k views

Inserting a picture in an equation [duplicate]

Possible Duplicate: Can I insert an image into an equation? Is there any method to insert a picture in an equation? I am trying to write an equation where one of the elements of the equation ...
10
votes
4answers
2k views
5
votes
2answers
937 views

Best option to create vector graphics with LaTeX labels

I would like to create some vector graphics for my LaTeX documents. The graphics would often contain mathematical expressions that would should be typeset using LaTeX. As far as I know, my best ...
6
votes
1answer
625 views

Problem with external graphics and 3D pgfplots

I want to include an external graphics with pgfplots. I tried to follow the instructions of the manual (p45 et seq.) as carefully as possible. But the result is hoorible as hell. Here is the code I ...
12
votes
1answer
767 views

Page Bordering with an image?

I want a custom border for my document. I was thinking of doing something like this, creating a border with a graphics tool(only the outer frame) and then placing it in the beginning of the document, ...
5
votes
1answer
309 views

Configure tex4ht for linked images

I have a document that is to be compiled in PDF (using pdflatex) and XHTML (using tex4ht). For the XHTML version, I wish to have the images linking to their source in a new window (target="_blank"). ...
3
votes
2answers
1k views

How to pass the draft option for pdfpages to \includegraphics?

If I use \usepackage[draft]{pdfpages} and include \includepdf[...]{...} everything works fine, i.e. instead of the included pages I get empty boxes. But if I use \includegraphics[...]{...} ...
4
votes
1answer
110 views

Difficulty with lineup of inner table inside a table cell

I need to create a table with 1 row and 2 columns where the first cell has an inner table and the second a photo where I specify the width and let the system take care of the height. My difficulty is ...
2
votes
1answer
882 views

show image on slides

I have put four images on slide and I display them one by one using the pause command. I want to display row-wise, but they are getting displayed vertically one by one. Below is my code: \...
1
vote
1answer
119 views

How to put the labels of enumerated images at the middle left of the images? [duplicate]

Possible Duplicate: Aligning enumerate labels to top of image? The current code produces the labels at the lower left corners of the enumerated images. \documentclass[a6paper]{article} \...
18
votes
2answers
4k views

Find optimal figure size to fit two images on one page

I often encounter a situation where I would like to fit two or three figures on one page. I define my figures as follows: \begin{figure}[htpb] \centering \includegraphics[width=0.xx\...
5
votes
1answer
813 views

putting a box over an image in beamer presentation

In a Beamer presentation, I want to put a box over a graphic file. For example, in one slide, I want to put a graphic file: And, in the next slide, I want to put a box on the image: This style of ...
2
votes
2answers
1k views

PNG (with transparent background) and \pdfximage \pdfrefximage

I'm using pdflatex (MiKTeX 2.9 portable on Windows 7), and use the pair \pdfximage and \pdfrefximage to include graphics. Using a PNG with a transparent background yields, in my view, unexpected ...
11
votes
1answer
269 views

Copyright issue, replace bitmaps by empty frame

I have a thesis to submit tomorrow as .pdf. The University requires written permission from the copyright holder for every figure taken from book/journal--a thing I don't have, and I didn't know was ...
4
votes
2answers
4k views

Place image/figure beside text {Lyx}

Is it possible to place an image beside (right or left) my text in LyX ? something like that : (The screenshot is not mine)
3
votes
1answer
578 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 ...
6
votes
1answer
7k views

Using subcaption with graphicx: How to solve the “Missing number treated as zero” problem?

I'm trying to use the subcaption package to build composite figures. When I try to include an image using \includegraphics{}. I get the error beneath. I know this is very similar to Subfloat with ...
5
votes
1answer
404 views

Including same PDF image many times: how to optimize?

I am include (with graphicx’s \includegraphics) the same small PDF vector graphics many many times in my LaTeX file, always at the same size. I then compile my document with pdflatex. While the size ...