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

3
votes
2answers
1k views

Why does viewport produce a strange result

I use pdflatex to compile the following input file: \documentclass{article} \usepackage{graphicx} \begin{document} \fbox{\includegraphics[viewport=10 10 20 20]{bald.png}} \end{document} The image ...
2
votes
1answer
56 views

How to suppress units such that they can be passed to viewport key?

How to suppress units in length macros such that they can be passed to viewport. See the following Minimal Not Working Example, \documentclass{article} \usepackage{graphicx} \newsavebox\IBox ...
5
votes
2answers
1k views

Exclude everything from pdf document except images

is there any way to ONLY print out a pdf with all the image with the correct sizes as they appear in the single chapters/sections etc...? The reason is I want to only print out some pages (not the ...
1
vote
2answers
309 views

A problem in placing caption exactly below the graph

I draw a graph in Latex but I'm having a problem in placing the caption of the graph since I want it be exactly below my graph at the left side of the page but it's always in the center regardless to ...
2
votes
1answer
880 views

Problem converting images for beamer presentation

I've got many troubles with raster images and beamer class: convert *.png to eps, cslatex => dvips => ps2pdf, images look like compressed by jpg algorithm :/ convert *.png -> eps -> pdf (epstopdf) ...
7
votes
1answer
5k views

Fix position of picture over different slides

I have a few very simple beamer slides, which are built up this way: A short introducory text A picture, which is almost the same in all slides Unfortunately, the introducory text is ...
4
votes
2answers
3k views

A scheme in LaTeX

I have 5 statements and some of them are equivalent, for some of them implications hold only in one direction. I would like to draw the scheme of these relations in LaTeX. Fortunately, two pairs of ...
0
votes
0answers
405 views

How can I fix this problem: “Cannot determine size of graphic” [duplicate]

Possible Duplicate: MikTex error for PNG images when trying to produce DVI I have the following line in my tex file: \includegraphics[width=1.0\textwidth]{pic.png} There is no error ...
3
votes
1answer
815 views

How to make a graphic fill the rest of a given space?

Sometimes I use a figure numbering style in which each number is placed to the left of a figure. When using this formatting, I try to make sure that the space occupied by a given number and figure is ...
2
votes
2answers
723 views

Use \ref in PDF images included with \includegraphics

I prepare my figures in a drawing tool (OmniGraffle), export them to PDF and then use \includegraphics to include them in my tex file (which is compiled using pdflatex). Some of these figures have ...
15
votes
2answers
3k views

Suppress the processing of all images

I am trying to make a draft by forcing LaTeX to ignore all images. How do I tell LaTeX to suppress all the image filenames (in the \includegraphics command) and just insert an empty box? The problem ...
2
votes
1answer
484 views

LyX — copy images into build directory for LaTeX include tags

The default beamer-ornate template includes an option to put an institution logo at the bottom of every slide, \pgfdeclareimage[height=0.5cm]{institution-logo}{logofile.png} ...
12
votes
1answer
4k views

Trim image by number of pixels

Is it possible to trim an image by a certain number of pixels rather than a length? I have a set of images that I'm including, and in one figure, a trim of 135 on the bottom works nicely, but a ...
3
votes
1answer
2k views

Subfloating images with same margins left/middle/right

Currently I have the following code: \begin{figure}[htb] \centering \subfloat[htb][left]{\fcolorbox{plotBord}{plotPadd}{\includegraphics[scale=0.3]{figs/bla1.png}}} \hfill ...
14
votes
1answer
16k 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 ...
15
votes
2answers
1k 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 ...
11
votes
4answers
22k views

Inserting a .EMF file into a LaTeX document.

I had a question about a file extension I was dealing with after creating a graphics file using the computing software Maxima. When I created the plot I wanted, I saved the file and it saved as a .EMF ...
34
votes
2answers
44k views

Adding custom image in title slide

I use beamer with the warsaw style to create presentation. I would like to insert an image in the title slide as part of customization. An image that fills the whole breadth of the slide but limits to ...
12
votes
2answers
9k views

A3 pages within A4 doc

I'm writing my thesis and I'd like to insert A3 pages within my A4 document. Is it possible to place figures with captions (as normal) on those A3? I'm able to include full PDF pages which are A3 by ...
7
votes
1answer
2k views

Make Caption of Image longer than Image in Subfloat

I have little icons (48x48) and I want to display them using subfloat. To prevent that images from being pixelated I set the width to 1cm. But now the caption has also a length of 1cm and looks ...
3
votes
4answers
9k views

How to compile a document with EPS images using TeXnicCenter?

I have all my input images in EPS format. I am using TeXnicCenter. When I use latex->dvi output profile, all of the EPS images show up fine. However when I want to take the final output by using ...
2
votes
3answers
2k views

Why do pdflatex and latex LNCS outputs look different?

I've found that using embedded postscript (eps) with the pdflatex command, as opposed to the latex command, may require more effort; and potentially insecure write18 permissions with cygwin. No ...
-2
votes
2answers
911 views

How can I draw an aircraft diagram using Latex/tikz ? [closed]

I want to draw an aircraft diagram with three axes (longitudinal, lateral and normal) using latex/tikz. I also need three views (top, side, and front) of it.
4
votes
2answers
4k views

stripe pattern tikz manual chapter 78

Interleaving two colors in a stripes pattern Aim: coloring a shape (rectangle, circle, etc.) in two interleaving colors with the aid of patterns. One solution would be the definition of four ...
2
votes
2answers
2k views

Side by side images problem

I am having some problems using sub-floats. I am trying to put two images side by side in the same row to avoid wasting space, for which I used sub-floats. However, they touch each other that it is ...
42
votes
2answers
19k views

How to superimpose LaTeX on a picture?

I know how to add a picture to my LaTeX file, e.g. \includegraphics[width=7cm]{curve.pdf}. What I'd now like to do is place some latex symbols onto the picture. Like a \gamma to name a curve. I do not ...
12
votes
2answers
2k views

Adding full-page illustrations before chapters in classic-thesis

I use classic-thesis, and I would like to do the following: each chapter should begin on an odd page (right on a dual-page view), and on the left page should be displayed a picture I choose. would ...
2
votes
1answer
215 views

epslatex visible box doesn't fit all of the info (axis names)

i'm preparing a publication into Phys Rev E. they ask to use revtex. in revtex guidelines, they say that i should include eps files. i already have all the plots made with latex symbols and ...
103
votes
4answers
118k 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 ...
9
votes
4answers
2k views

Creative Commons logo

I have found the ccicons package to typeset Creative Commons logos, but I'm wondering if there is a package that typesets logos like this one: If not, how would you do that in TiKz or graphicx? ...
2
votes
1answer
2k views

Sideways figure and caption to fit textwidth and no page break

I'm struggling with placing some plots in latex. I'm trying to include the plots (sideways, but not the heading) in an appendix, so the first plot needs to be placed at the same page as the appendix ...
6
votes
1answer
636 views

What one CANNOT do with TikZ?

I am about to give a short introduction to TikZ, and I was asked to add a slide of what cannot be achieved with TikZ. So, are there certain types/categories of graphics where one should use something ...
2
votes
1answer
1k views

Force sideways graphic to fit page

I'm using this preamble: \documentclass[pdftex,10pt,b5paper,twoside]{report} \usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry} \usepackage[comma]{natbib} ...
0
votes
2answers
478 views

How do I include a path to my image in graphicx?

I want to specify path-to-image\image.png but for obvious reasons that will not work because \... is interpreted as a command. How do I include a path to my image? (I'm on Windows 7). ...
10
votes
5answers
1k 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 ...
2
votes
3answers
587 views

What is the better option to include some “snapshots” of HTML pages in Beamer?

I am giving a presentation (in beamer) about creating HTML pages. I want to include some sort of "snapshot" of the created HTML file within the presentation. I am looking for something like pdfpages ...
1
vote
2answers
8k views

Text floats over figure in latex

I just need to insert a figure in the latex document I am writing -nothing big.Problem is the text keeps floating over the figure and the figure is not centered.Here is my code \begin{figure}[h!] ...
3
votes
1answer
196 views

Force stringification of a length

I'm trying to include a background image of the correct size based on the two variables \IApaperheight and \IApaperwidth. To do this, I'm converting the lengths to a rounded text value and ...
3
votes
3answers
3k views

How to add a photo using the res class?

I'm using the res class for my resume, but none of the examples show how to add a photo. How do I add a 2x2 photo somewhere in the upper corners without breaking the layout? (I'm using example #2 in ...
6
votes
1answer
3k views

Why aren't my included graphics properly colored?

When I include graphics in my document, the colors are always converted to grayscale, which is very unfortunate as I depend on the colors in the images. I use LaTeX => PS => PDF for creating my ...
9
votes
2answers
11k views

Table inside table

Inside of a Beamer presentation, I want to put a graph side-by-side with a data table. Outline of the code: \begin{tabular*}{l r} \begin{center}\includegraphics{graph}\end{center} & ...
32
votes
5answers
3k 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 ...
4
votes
3answers
98k views

How to insert an image into LaTeX document?

I have already included graphicx package and include \ifCLASSINFOpdf \usepackage[pdftex]{graphicx} % declare the path(s) where your graphic files are ...
7
votes
2answers
2k views

multipage pdf as separate image in LaTeX [duplicate]

Possible Duplicate: pdflatex, \includegraphics, and multi-page PDF files Sometimes I create a multi-page pdf as output, e.g. graphs from R. Is there a possibility which allows me to select ...
16
votes
2answers
1k 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 ...
2
votes
0answers
50 views

Latex: adding text inform of a graphic [duplicate]

Possible Duplicate: Displaying two XML listings side by side. I have two xml outputs from a program that I would like to include in a latex document. I would like them to appear ...
3
votes
1answer
1k views

Sometimes the resulting PDF doesn't allow copy image [closed]

In case it matters I am using TeXnicCenter with miktex, LaTeX => PDF configuration. If I do the following: \includegraphics[scale=0.08]{figure.png} I get a PDF which looks fine in Adobe ...
1
vote
2answers
7k views

caption ruining figure placement in minipage

I have tiny problem. I'm using minipage to put two pictures side by side in a two column article. The code is \begin{figure*} \centering \begin{minipage}[b]{.49\textwidth} ...
25
votes
3answers
20k views

Techniques for embedding images with transparent backgrounds in LaTeX

I am trying to embed an image with a transparent background in my LaTeX poster. However a quick google search has taught me that it is not possible to do so. However I intend to know any clever ...
16
votes
1answer
2k views

PGFplot Axis Labels Detaching From Graph

Update: Aug 04, 2013 With the current version of TeXLive 2013, the second MWE below still exhibits the same behavior if the \todo[inline] is commented out after the first run. Furthermore, the ...