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

2
votes
1answer
545 views

Metapost External Figure

I have a metapost file image.mp containing the following lines: beginfig(0); draw p0; externalfigure "/Users/dsg/tex/images/image.png" xyscaled r0 shifted r1; endfig; When I run mptopdf scene.mp ...
2
votes
0answers
194 views

How do I ensure my images/graphics are embedded in the output document? [closed]

I am new to LaTex and I am learning the concept and terminology by using Lyx (TeX live under Linux). I created my first document using the Book class, added some images (combination of jpgs/pngs), ...
3
votes
1answer
244 views

Equivalent of css “position: relative” to move slighty a graphic

I have a header with two columns; On the first column, I have an image (the logo) and I would like to slightly adjust its position. Here is the relevant piece of code: \fancyhead[LE,LO]{\tt\begin{...
4
votes
2answers
334 views

Why does loading tikz before calling “driver=dvips” make a difference

This question doesn't entirely make sense because I know I don't need to call driver=dvips. But I would like to know whether anyone can explain what's happening. A little background I'm trying to ...
0
votes
2answers
2k views

How to include images

I am trying to include math pictures in my document. I have added \usepackage{graphicx} \usepackage{epstopdf} These two packages inside the header and then the following code \setlength{\...
0
votes
0answers
67 views

Graphics Question [duplicate]

I am trying to add pictures in my .tex file. I have added It keeps on giving me an error, that picture.eps is missing. Question: Do I need to create a directory somewhere where I need to store ...
4
votes
2answers
7k views

What is a good way to export part of an Adobe Illustrator illustration into latex?

I have an Adobe Illustrator file with 4 figures on it. I want to use these 4 figures separately in a LaTeX document. What would be the best way to do so? Keeping in mind that: I want to keep this ...
43
votes
8answers
9k views

Is anybody using TeX for business reporting?

Would TeX (LaTeX, ConTeXt, etc) be a good solution for PDF business reports that require dynamically generated graphs and tables? I need to create financial reports that must look top-notch in their ...
5
votes
2answers
603 views

Wrapping images in text without inducing ugly justified text

I am trying to put a small image inside a paragraph. I don't care where it goes in the paragraph as long as it is on the right and text flows around it. I don't want it before or after the text. ...
4
votes
2answers
3k views

Tagging for PSFrag

What programs do people use to put their tags on ready to be replaced by psfrag? I've tried inkscape but if I write in the text "hello" say with inkscape then export as eps PSfrag doesn't seem to ...
1
vote
1answer
148 views

How do I have the list item appear on the top left of the image? [duplicate]

I am including an image with the graphicx package in an enumerated list. \begin{enumerate} \item \includegraphics[width=100px]{my_image.png} \end{enumerate} The list item number appears on the ...
1
vote
0answers
185 views

knitr : Figure are not appearing at the correct place [duplicate]

I'm trying to use knitr while learning LaTeX but all my figures are placed at a seemingly random place. It's driving me insane. Any ideas? Example Input PDF Output I tried reinstalling TeX Live ...
3
votes
1answer
289 views

Figure spans two columns, but text going over half the image

I am using the float package to force an image to right below where the authors section normally is on a journal paper. Using [H] I get the image to show up in the right place, but the text does not ...
1
vote
1answer
4k views

Dealing with figures in LaTeX

I have two figures I want them to be side-by-side, and I have two issues: 1) How to make both figures have the same size? I know that dimensions are not the same for both figures, but how can I make ...
3
votes
1answer
244 views

Problem with package gmp (or with xkeyval?)

I use the "gmp" package which allows to insert MetaPost coding (placed inside an mpost or mpost* environment) in a LaTeX source file. In few words, it does approximately the same job as other packages ...
3
votes
0answers
23k views

“No BoundingBox” error in latex [closed]

This is my preamble \documentclass[12pt,a4paper,twoside,french]{article} \usepackage{mathptmx} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[left=3....
6
votes
3answers
898 views

\includegraphics optional argument not resolved if macro

\documentclass[a4paper,10pt,twoside]{book} \usepackage[demo]{graphicx} \begin{document} \newcommand{\scalefactor}{scale = 0.25} \begin{figure}[!ht] \centering %Next line does not work \...
2
votes
3answers
810 views

Why do images in pdf not render the same on the screen and how to fix it?

My images look awful in the final pdf. If I keep increasing the dpi, this doesn't help, and sometimes makes the image look worse. I understand that if I had a vectorized image it would solve my ...
2
votes
0answers
1k views

Lyx: SVG files on PDF [closed]

I'm having trouble getting an SVG diagram to appear in a PDF. From researching online it looks like it should be simple enough, but I'm yet to discover what I'm doing wrong. I'm working in LyX, and ...
1
vote
1answer
291 views

How to place image at the bottom of the titlepage

I would like to place a picture at the bottom of the titlepage and include some text on the picture and above it. As the sample attached demonstrates.
2
votes
1answer
3k views

xy-eps-converted-to.pdf not found - wrong filename?

I'm trying to include an EPS file into a PDF file using MikTex 2.9 under Windows 8. Everything else LaTex related works like a charm. pdflatex keeps complaining about a missing xy-eps-converted-to....
1
vote
1answer
244 views

Why am I having such problems getting latex notation in my gnu plots?

I have tried setting the terminal to just about everything under the sun. I got it to read my latex notation for a brief compile and then it decided it didn't want to anymore again. The error that I ...
3
votes
1answer
805 views

Gray scale output using pdflatex

I use colour diagrams (saved as pdf files) which I include in my LaTeX file. Is there any options in pdflatex to create a gray scale document or a pdf viewer where you can view the document in gray ...
4
votes
3answers
7k views

pstool, pdfLaTeX: Not getting pstool to work, “LaTeX Error: File not found”

I've spent lots of hours trying to solve a problem by myself. Unfortunately it seems that no one else has experienced the same problem. At least, searching through various forums and employing Google ...
6
votes
3answers
3k views

Resize images to half of text width only if too big for page margin

I want the images I'm using that exceed the page's text width to be scaled down to half the text width. Images that aren't wider than the text width don't need to be scaled. I have one markdown ...
23
votes
3answers
4k views

Includegraphics maximum width

With \includegraphics I can give the width of the resulting image (which would be scaled). How can I give a maximum width of the image? That is, if the original is smaller than X, I'd like to keep ...
10
votes
3answers
2k views

How do I include a click-to-zoom thumbnail picture in a non-beamer document?

The Beamer class for presentations provides a way (using the \framezoom command) to include a picture in the document on which one can click to zoom in, and then zoom back out with another click. How ...
12
votes
2answers
1k views

(How) Can I create picture effects with TeX and Friends?

I'm looking for a way to create subtle picture effects in beamer. I've got a few illustrations with a background that contrast offensively against a white background, and look completely out-of-place ...
3
votes
1answer
167 views

One pgfplot per page in single PDF file

I'd like to reduce my redundancy when making plots with pgfplots. I want to have a single PDF file, such that I can include them on a per-page basis with graphicx. The multi class option for the ...
0
votes
0answers
46 views

Position of a figure within description items [duplicate]

Possible Duplicate: Figure with caption within an itemize list not indenting correctly I have the following code and I would like to position the figure based on the width of the description ...
2
votes
3answers
267 views

Centering figure consisting of subfigures

I currently have a graph that uses subfigures as follows: \begin{figure}[!htbp] \centering \begin{subfigure}[b]{0.3\textwidth} \centering \...
7
votes
4answers
9k views

How do I get mathematical fonts to Illustrator?

I am doing a thesis on graph theory, and I am currently drawing graphs with Illustrator. Vertexes and edges are easy to draw, but how about naming them? How do I get the symbols in image look like ...
3
votes
1answer
782 views

How to put image in table of contents?

My Question is similar to question which has not been answered. How can i put image in index page to improve look and feel. How to generate index page for report?
0
votes
1answer
229 views

Latex pdf output does not show miter line joins drawn in Ipe editor

I am using Ipe to draw eps figures to include in my latex document. I use dvipdfm as the package. I just discovered a nice feature in Ipe to make line joints sharp by choosing "Line join = miter". ...
2
votes
1answer
136 views

How to rearrange a tikzpicture in a page that uses the class suftesi

I drew an ER schema for a database and put it in my mini-thesis written using suftesi. This class has the peculiarity of adding a mini-column beside the main column of contents, used for notes. This ...
7
votes
1answer
5k views

Overfull hbox warning when including graphics

I'm getting the error: Overfull \hbox (14.34999pt too wide) in paragraph at lines 374--375 [][] | when including graphics files. The files are in EPS format. Below is an example: \begin{figure} \...
4
votes
1answer
336 views

How to check image exists or not?

I'm working on Sweave and using includegraphics for include image in report dynamically. Pseudocode: <<> for ( i to 100) # run loop 1 to 100 { includegraphics(image....
10
votes
1answer
2k views

How to top (horizontally) align rows of tikz nodes in an org chart graphic

Apologies for the long MWE and what seems like a slightly duplicated question. I've looked at the question/awnser how to top align rectangles and align tikz node with text about using baseline to top ...
4
votes
3answers
2k views

Beamer - Put a picture right of the table of contents

I have problems to put a picture right to the table of contents. This is how it should look like: I have two MWE's, becuase I already tried two different approaches. (All the empty frames are needed ...
9
votes
1answer
645 views

Include images in TOC?

I've got a large document whose table of contents is being generated by the usual \tableofcontents command. I'd really like to include a small image next to each line in the TOC. How can I do that? ...
2
votes
0answers
230 views

Submitting to a journal with only LaTeX, how to include transparent images and bitmaps? [closed]

The LaTeX submission process to the journal JCP involves Bundling all the bibliographies into a single file and embdeeding that into the source No external libraries Compile with latex not pdflatex ...
0
votes
2answers
436 views

How to remove name while including image in LaTeX?

I am including an image in R and found the name of the image file appearing with the image: name<-c("A.pdf","B.pdf","C.pdf","D.pdf") <<echo=FALSE,results=tex>>= for (i in 1:4) ...
5
votes
3answers
11k views

MikTex error for PNG images when trying to produce DVI

I have a tex file with \includegraphic elements for some PNG images. I use MikTeX on Windows and the PDF is fine. Now, I need a DVI so I tried using: \pdfoutput=0 This creates a DVI, but only after I ...
5
votes
2answers
24k views

Error including a .png: Cannot determine size of graphic [duplicate]

I have a little problem: I am not able to put an image in my document. This is how I start: \documentclass[a4paper,12pt,titlepage]{report} \usepackage{fontenc} \usepackage[italian]{babel} \...
5
votes
1answer
1k views

Make picture background transparent in beamer

I make a PNG picture by using PowerPoint, and include that picture in my slide. However, the picture's background is neither white or transparent. What should I do? You can see the slide below: The ...
4
votes
1answer
272 views

Compile error with MWE using pgfkeys, beamer, xparse and \includegraphics

First, please apologize the vague title, but I do not understand the problem enough to give a more exact title. The following MWE does not compile with a missing \endcsname inserted error around \...
5
votes
2answers
280 views

How to avoid text-spacing after inserting figure?

I am trying to insert a little figure(logo) to a document without changing the vertical spacing. I have two lines of text and I want to insert the figure in the align with the second line. I can do ...
1
vote
0answers
262 views

Extract a graphic from the pdf document [closed]

I have a pdf file which contain text, image and text as : text .... My image text ... how can i do to print just the image on latex ?
3
votes
1answer
2k views

Resize epslatex (gnuplot) graphics for Beamer slides

I have created some graphics in gnuplot using set terminal epslatex color and I rather liked them in my paper. However, once I tried to put them into Latex Beamer slides the way I put them into my ...
0
votes
0answers
83 views

Figures disappear in pdflatex! [duplicate]

Possible Duplicate: Why can’t pdflatex print EPS figures? I am using pdfLaTeX, and i need urgent help: When i add \usepackage[dvips]{color}, all my eps format figures disappear, go blank! ...