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

0
votes
0answers
44 views

XeLaTeX: \includegraphics with a .png file shows filename in output. How do I hide this? [duplicate]

Possible Duplicate: How to include graphics with spaces in their path? Ok, I was creating graphs in GNUPlot and inputing them in my XeLaTeX file as I usually do, and then I realized that ...
7
votes
1answer
4k views

Center image in landscape mode

I've used the \usepackage{pdflscape} instruction and the following code for inserting an image in a landscape oriented page. \begin{landscape} \begin{figure}[p!] \centering ...
4
votes
1answer
815 views

Move legend closer

I wish to move the legend for the left chart closer to the graph, and for the right graph, I wish to let the x-axis and y-axis appeared just like the left graph (so that there is some extra spaces to ...
5
votes
1answer
498 views

How to configure latexmk to work recursively? (PDF Thumbnails)

I'm writing a book which will include and explain a handful of different memoir page layouts. Setting the scene In the book, I want to imbed thumbnails of pages from PDFs generated with the page ...
2
votes
1answer
167 views

How do I put the top of an image at the top of a page

So I just have one line for the image: \includegraphics[width=10mm]{C:/Users/PhizKid/Desktop/image1.png}\\ And then some text to explain the image below it. But when I try to print it out, ...
0
votes
1answer
155 views

How do you center graphics? [duplicate]

Possible Duplicate: Should I use center or centering for figures and tables? I am doing an assessment and as part of it have linked some graphics into my Latex report, however they are not ...
4
votes
2answers
731 views

How to put text at an arbitrary position around an image?

I want to get sth like: I have produced the vector images in Adobe Illustrator. I could do the labels (X_3, X_2,..) in there too, but after importing them in latex they wouldn't be consistent with ...
13
votes
1answer
5k views

Two column layout with text and knitr chunk

When making presentations (with latex beamer class), I often go for a frame layout with text and equations on the left and a corresponding figure on the right. My standard solution has been to wrap ...
9
votes
2answers
271 views

Set variable with mathematical expression

I need to do something like the following, \includegraphics[width=(\textwidth - 50mm)/2]{myfig.eps} What keywords can I use to search for doing this operation? Everything I've searched for was ...
3
votes
1answer
4k views

Move everything a little bit left in beamer

I am putting an image in each column on a slide, everything is perfect except that because the first image starts too far right and it pushes a small part of the second image off the slide. How can I ...
12
votes
2answers
3k views

Set standard default scaling of \includegraphics

I am using Sphinx and the plantuml package to include UML diagrams. The plantuml package for Sphinx generates the following LaTeX code: \includegraphics{%s} Anyways - the diagrams are to big, so ...
2
votes
0answers
6k views

How to insert pdf (as a graphic file) in LaTeX [closed]

I am trying to insert some ready image-pdf files to my LaTeX code. (I use pdfLaTeX and my distributor is TeXnicCenter.) But I will get this error: Package pdftex.def Error: File 'fig1.pdf' not ...
0
votes
0answers
112 views

Background image [duplicate]

Possible Duplicate: How to create a background image on title page with LaTeX? I am using LaTeX to create a report and I was wondering if there is any way of changing the background from ...
3
votes
0answers
92 views

Graphic in header bloats PDF file size [duplicate]

Possible Duplicate: Multiple inclusion of the same image gives huge PS file I recently started to include a graphic in the header of a long PDF document and the file size has grown ...
2
votes
2answers
2k views

texmaker automatically sets scale=1 in the includegraphics tool. Can this be customised?

I got this set up in Kile, but can't figure it out in texmaker. I want almost all my figures to be as wide as the text, at the moment I have to type this in manually each time. There is already a ...
6
votes
2answers
980 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} ...
0
votes
2answers
256 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
213 views

Covering map picture [closed]

I wish to draw a crazy covering map showing charts any help?
2
votes
1answer
681 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} ...
8
votes
2answers
818 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? ...
21
votes
3answers
56k 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] ...
11
votes
2answers
2k 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 -- ...
8
votes
1answer
7k 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. ...
2
votes
0answers
99 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
306 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 ...
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
35k 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} \\ ...
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
360 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
232 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
551 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
882 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: ...
18
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
400 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
85 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 ...
8
votes
2answers
590 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
234 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
574 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 ...
44
votes
6answers
11k 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? ...
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 ...