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

28
votes
11answers
18k views

How to avoid large margins around Matlab plot in PDF

I am preparing image files to be included in a latex document. The image file is generated by printing a Matlab plot. If I print the plot in eps format, the content of the eps file is fully occupied ...
40
votes
1answer
15k views

pdflatex, \includegraphics, and multi-page PDF files

I have a PDF file with multiple figures; each figure is a separate page in the PDF file. I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures. ...
37
votes
9answers
8k views

Multiple pdfs with page group included in a single page warning

I updated TexLive to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal example ...
13
votes
2answers
3k views

Clipping a figure to content

Is it possible to clip a figure inserted with \includegraphics to contents? That is, remove all surrounding whitespace.
13
votes
2answers
3k 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 ...
30
votes
5answers
2k views

LaTeX accessibility

Does anyone know of any LaTeX modules that makes the pdf output generated by pdflatex Americans with Disabilities Act of 1990 (ADA)/Section 508 compliant? Specifics: With regard to math. One simple ...
8
votes
5answers
3k views

Inserting figures using loops

I have a set of pictures in my working directory and I want to make a PDF report using these images. I want to include all of them, but the number of the pictures changes in each case. I would like to ...
9
votes
1answer
8k views

Image from \includegraphics showing in wrong image size

When I use the following to embed an image: \begin{figure}[htb] \centering \includegraphics{my_image} \caption{blaaa} \label{fig:blaaa} \end{figure} whereas my_image is a JPG file, the ...
16
votes
1answer
2k views

Set image to full all available space in Beamer (without overlapping other elements)

I want to have an image take up as much as possible of the content area in a beamer presentation, without overlapping the title, the sidebars, or the footers. How can I achieve this? The code below ...
16
votes
2answers
2k views

Use “default” figure if file is missing?

I was recently in charge of organizing all of the references and labels in a very large scientific proposal document. My workflow typically involved compiling the document, seeing a "There were ...
11
votes
1answer
821 views

Embedding images with an encoding algorithm

Friends, sometimes I had to create a self-contained PHP script. That means the PHP script could have any files within it due to some encoding/decoding algorithm, like Base64. For example, this code is ...
9
votes
2answers
689 views

Image on top specified page

How can i place an image on the top of the specified page. For example odd pages will be filled by image, even with text. Or, i just want to make sure that (lua)latex will place images on page 2,3,6? ...
8
votes
3answers
3k 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 ...
5
votes
1answer
5k views

How to reduce space between image and its caption?

I m importing one image in latex document. But caption has bigger font than my normal text on page. \documentclass{article} \usepackage{graphicx} \begin{document} Some text... ...
9
votes
2answers
1k 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 -- ...
4
votes
2answers
277 views

Putting two images beside each other

If I want to put two images beside each other, what should I do? I have inserted a figure. But, rather than having the next figure on a new line, I want it to be beside the already inserted figure. ...
10
votes
1answer
1k views

How to align picture top left in a table?

is there a way to create a table with 2 columns, in the left column should be some text, in the right column should be a picture. The problem is - to align both to the left, top corner. The image ...
6
votes
3answers
14k 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 ...
23
votes
1answer
34k views

Beamer text and image on the same slide

I am new to beamer and LaTex itself. Right now I want to make a simple slide with image on the right and text and sidebar (of Hannover theme) on the left. I cannot figure out how to do that. Any ...
12
votes
3answers
6k views

Using fancyhdr to create an image based header and footer

I'm trying to generate a latex report (via Sweave and R) where the header of the document is an image that covers everything (including the top/left/right page margin) and the footer covers everything ...
38
votes
3answers
49k 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.
17
votes
5answers
2k views

How to embed screenshots properly?

I have a .png screenshot and I want to insert it in a LyX document. However, the screenshot needs scaling to fit in my column width. Downscaling (or upscaling) the image, if done wrong, gives all ...
18
votes
1answer
2k 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 ...
17
votes
3answers
551 views

How to replace all pictures by white rectangles?

I have a long document (800 pages) with lots of pictures (300 pictures). I have to produce a version of this document without the pictures (for copyright reasons). The solution I have found so far is ...
9
votes
2answers
635 views

Using an image as a table

I have an image containing tabular data and would not like to convert this to a real table. What I do want is for this image to have a proper caption and be included in the listoftables. Is it ...
5
votes
2answers
2k views

\usepackage[turkish]{babel} and \includegraphics inconcistency

Here is my document : \documentclass[12pt]{book} % must-have packages \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} % This package will support Turkish chars % must-have packages ...
4
votes
2answers
416 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 ...
89
votes
9answers
5k views

Starting a PhD; Any guides to setting up a 'system'?

I'm starting a PhD and am being overwhelmed with the different possible ways people do things, and how they very rarely mix. I'm (obviously) sold on TeXing it, and have a ViM background I intend on ...
33
votes
1answer
12k views

Tikz: using external images as building blocks.

I would like to create a custom vector drawing in Inkscape and then use it many times in many tikz pictures. Is it possible? Should I use PDF or SVG or other output from Inkscape? How to use external ...
33
votes
5answers
8k views

LaTeX Package to generate QR codes?

I would like to be able to generate QR barcodes in my LaTeX documents, and I'm having a hard time finding a solution. The use would be a command such as \qr[1in]{Your text to be QR encoded here} ...
41
votes
6answers
18k views

Image on full slide in beamer package

I would like to make a slide of only one image without any borders or any other beamer specific element. I tried : \begin{frame}[plain] ...
35
votes
7answers
10k views

Placeholder for figure/includegraphics

Is there a command that I can use as a placeholder for \includegraphics? I want to use such a placeholder to add the original graphics later.
16
votes
2answers
23k 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
1answer
628 views

Creating Bezier surfaces using procedural graphics

Are there any package for LaTeX that can create Bezier surfaces? I mean a actual existing function that takes matrices as arguments and generates the surface, not a function written by myself.
21
votes
2answers
42k views

How to use figure inside a minipage?

I'm trying to include an image, and keep it centered, and prevent from wrapping from the next page. The following code works for that: \begin{minipage}{\textwidth} \begin{center} Caption ...
18
votes
1answer
7k views

Includegraphics: set image opacity

I'd like to insert a PDF, but make it "lighter" by setting the opacity to 10% ("background watermark"). How to do that? A solution that works with texlive 2011 would be great. I use pdflatex and ...
14
votes
2answers
699 views

Attach displayed image to the PDF without storing it twice

If one and the same image is included in a PDF multiple times it is only stored only once as an PDF object. Now I like to also attach an image which is shown in the document to the PDF to allow users ...
9
votes
5answers
757 views

How can I clip an image via a bezier-path?

I have a rectangular image that I can not change. I'd like to clip the image with a bezier path so I get one that is rectangular at the top and the sides but has a curve at the bottom, preferable ...
12
votes
2answers
746 views

Automatically Locate Included Images

Do you think it's possible to include images into LaTeX without specifying the exact path to them. So instead of: \includegraphics{path/to/image/myfig.pdf} It would be: \includegraphics{myfig.pdf} ...
10
votes
1answer
2k views

Is it possible to create overlays in beamer inside pgfplots graphics?

When working with pgf-tikz, I can create overlays in beamer presentations with \path<overlay specification> ... However, I could not get this to work in pgfplots graphics. It would be nice ...
9
votes
2answers
13k views

LaTeX Error: Unknown graphics extension: .ps

When I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs: ! LaTeX Error: Unknown graphics extension: .ps. I'm using TeXworks Version 0.4.3 ...
7
votes
2answers
5k views

How to avoid showing the filename when using graphicx?

I am writing a LaTeX document with the apacite and graphicx package. The issue is when I include an image either using figure with an enclosed \includegraphics or \includegraphics by itself it shows ...
5
votes
1answer
224 views

Why do I get a black rectangle instead of my external picture?

I write some of my network notes in TeX. I wanted to make a table, and inside it insert an image: . I wrote a document: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{booktabs} ...
5
votes
3answers
6k 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 ...
4
votes
2answers
531 views

What is the best way of arranging multiple minipages on a page?

I have been trying to use mini-pages to produce the equivalent of Office text-boxes. The idea is to have panels of different sizes on a page such as 4 equal sized or one wide followed by two long ...
2
votes
1answer
1k views

insert MAPLE algorithm to LaTeX

I am writing my dissertation through LaTeX, and I want to insert the code from MAPLE, it is about 2 pages and I am not sure how to include the algorithm, do you have any idea how am I going to do it?
53
votes
1answer
2k views

A way to draw a lab apparatus

Are there any packages that would make a simple lab apparatus easy to draw? e.g. a spectrometer connected to a computer and has a wire before a light emitting tube, the wire also being connected to ...
41
votes
4answers
45k views

How to add border for an image?

I use \includegraphics command to insert image to the document. But how can I add a border around this image w/o any margin between border lines and image? It seems to be very easy, but I can't find ...
36
votes
8answers
5k 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 ...
19
votes
4answers
7k views

How to typeset flowcharts in LaTeX?

I know that it can be done with graphics packages like TikZ, but it seems to be a bit of an overkill. And for those not already familiar with the TikZ system, learning it can be a bit of a barrier. So ...