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

13
votes
3answers
4k views

What's the best way to include graphics in an enumerated list?

I'm currently putting together an installation document for some software at work, and I decided that now was as good a time as any to try to ditch the endless frustration that is Microsoft Word, and ...
13
votes
2answers
1k views

Two-Headed Arrow Over Formula

I have a quantified formula. I want to show what happens when the order of quantifiers is reversed. To do this, I like to use a two-headed arrow over the formula, like this: Is it possible? I don't ...
13
votes
2answers
1k views

Aligning enumerate labels to top of image?

I asked a question a while ago about vertically aligning enumerate labels to the top of table. Now I am having the same problem, but with images. Since my problem was solved in my previous thread, I ...
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
1k views

Disabling included pictures in Beamer

I am preparing a huge document with tons of pictures and Tikz drawings (based on Beamer package). Is there a command for NOT including all the pictures inserted by \includegraphics? This might speed ...
13
votes
2answers
4k views

Vertically center text and image in one line

I need to place an icon and text behind each other on one line. The icon is higher than a single text line, and would like to have the icon and text center aligned. How do I do that?
13
votes
2answers
1k views

Placing picture above \chapter?

Can anyone recommend/provide an example as to include pictures in the chapter headers? Any packages known for this? I have read about fncychap which looks great, but would still require add'l ...
13
votes
2answers
166 views

Transparency vs image compression dilemma

I have a bunch of raster images that I want to include in a poster. For aesthetic reasons I want to replace the image background by a transparent one. So far, I have been grabbing the images I had ...
13
votes
3answers
362 views

Need alt text for images in pdf for screen readers

I need the generated PDF to have "alt" text associated with each image so that a screen reader can read the alt text to the visually impaired user. I understand that essentially just including the ...
13
votes
1answer
7k views

How to change white background of an included PDF to transparent

I have an external 100 pages PDF document (not created by pdflatex) that I \includegraphics page-wise into a beamer presentation. The external PDF document employs white as page color, but I need the ...
12
votes
5answers
748 views

A grid of images to fill A4 -paper for economic printing with some space for scissors

I want to print a A4 paper full of the same QR image. I want more elegant way to this answer here, yes I can get it working like that but I want to leave just enough space for scissors and no space ...
12
votes
2answers
1k views

Text wrap with shapepar (insert image between text)

How do insert image between text and text wrap with shapepar or other package?
12
votes
4answers
763 views

What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?
12
votes
3answers
18k 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] ...
12
votes
5answers
666 views

Create image from statistical data automatically

I am looking for a way to automatically create images like the one below: There is no MWE because all I have, for now, is this image (created, I believe, by SPSS, but I have nothing to do with that ...
12
votes
3answers
338 views

What's the best way to draw a square or rectangle with specified dimensions?

How might one define a command \rectangle, invoked via e.g. \rectangle{70cm}{70cm} that produces a black-outline rectangle of the specified dimensions?
12
votes
2answers
1k views

How to convert a png into pdf using LaTeX?

I have a larger png image: width is 5400 pixels and height is 3850 pixels. I need to transform it into a pdf file in SPA3 size, which means 320mm x 450mm. Is there a way to do it with LaTeX? What I ...
12
votes
3answers
2k views

Create list of all external files used by master LaTeX document?

Is there an easy way to create a list of all external files (complete path) which are used by a LaTeX document (and its "sub-documents") by \input \include \includegraphics ? (may I have forgotten ...
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 ...
12
votes
2answers
17k views

Insert image and list inside a table

I am trying to add both an image and list inside a table but I face various problems. As shown in the picture, the image is above the first horizontal line and also the lists are not properly ...
12
votes
3answers
5k views

Make two figures aligned at top

I am inserting two graphs (of different size) in the following way: \begin{figure}[H] \begin{center} \includegraphics[scale=0.5]{graph1.eps} \includegraphics[scale=0.3]{graph2.eps} ...
12
votes
3answers
32k views

How to add a gif file to my LaTeX file? [duplicate]

Possible Duplicate: Convert gif image to png on the fly I have an image file -- a gif file, which is the graph of a function. How do I add it to a LaTeX file? Will it come out OK in the ...
12
votes
2answers
745 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} ...
12
votes
3answers
2k views

Graphing sine function in MetaPost

I'm trying to reconstruct this picture in MetaPost: So far came up with this: draw (-1cm,0)--(3cm,0); draw (0,1cm)--(0,-1cm); draw fullcircle scaled 1.8cm; label(btex $y$ etex,(0,1.2cm)); ...
12
votes
2answers
1k views

Zooming on a data set in a picture (magnifying glass)

In my TeX document I would like to add a picture and in addition, zooming on a small part of the picture (e.g. inset in TeX or spy in TikZ). My question, I have a histogram 2D (f(x,y) = z) date which ...
12
votes
1answer
5k views

Best figure format practice to use?

What is the best file format to use when typesetting in LaTeX? I really prefer eps for all my Matlab work, and now I found here on site ( Which figure type to use: pdf or eps? ) that people recommend ...
12
votes
2answers
235 views

How to improve color consistency of bitmap pictures from native format to target pdf file?

For the first time I am concerned about proper rendition of pictures for the draft of a document with artistic content. I use the basic macro below to embed the pictures. The pictures are in .jpg ...
12
votes
2answers
9k views

How to make a block transparent for a background image

I use the code \usebackgroundtemplate{ \centering \includegraphics[width=0.5\paperwidth,height=0.5\paperheight]{image.png} } to get a background image in a Beamer/Latex presentation. ...
12
votes
2answers
3k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
12
votes
2answers
828 views

Adding the author photo along with the name in the title page

Friends, I'm trying to add a photo along with each author name in a beamer title page. Please consider the following code: \documentclass[10pt]{beamer} \usepackage[T1]{fontenc} ...
12
votes
1answer
178 views

Reducing the REAL size of an image (compressing) when using \includegraphics

I know when downscaling images we can just use the scale option. But as far as I know, this doesn't change the size of the overall output (let's say the PDF file). \begin{figure} \centering ...
12
votes
2answers
225 views

Basic geometric shapes, sections, shading

Two questions really ... (fishing for lots of opinions here) Is there a definitive guide that most folks agree is the best place to come up to speed on how to make pictures in the tikz world, and in ...
12
votes
2answers
19k views

\graphicspath and \include

I am trying to define a central graphics path for my thesis, however, the chapters are included with the \include command and by using \include with \graphicspath, pdflatex complains about it can not ...
12
votes
2answers
2k views

How to insert code and graphic in textbox

I want to put a graphic and a little linux bash code in a textbox, like the picture blow... with the follow in problem: all in a textbox with yellow backgroud left part is a graphic (a finger)... ...
12
votes
1answer
4k views

Cropping/Trimming an image with includegraphics by specifying percentages

Say I have an image my_image.png that I am loading in my LaTeX document using: \begin{figure} \includegraphics[width=0.5cm]{my_image.png}} \end{figure} Is there a way of telling LaTeX to only ...
12
votes
6answers
5k views

A good tool to make electronic schematics and export them vectorially?

I have to make a relative simple diagram and import it to latex vectorially. What would you recommend me to do this? This question might not be best asked here, but I suspect a lot of you have ...
12
votes
1answer
633 views

Creating a drop shadow with guassian blur

How can I add a drop shadow to a \includegraphics picture? The effect should be very minute just to be a little bit eye pleasing. I know you can use \shadowbox in fancybox package but the output would ...
12
votes
3answers
20k views

Syntax similar to \centering for right and left?

For images we can use \centering is there anything to position the image to right side or left side of the page.
12
votes
1answer
8k views

How to float figure within multicol text

I have a simple two-column text, and want to place figures within the text. I used this code \documentclass{article} \usepackage{multicol} \usepackage{graphicx} \usepackage{caption} \begin{document} ...
12
votes
1answer
615 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, ...
12
votes
2answers
415 views

How to tell when to use pdflatex, latex, and xelatex for any given tex file?

I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...
12
votes
1answer
166 views

Simple way to switch inline asymptote figures on and off

I use the inline asymptote environment \begin{asy} to draw a lot of the figures in my papers. To those not familiar with asymptote, the asymptote package creates *.asy files for each of the asy ...
12
votes
2answers
780 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 ...
12
votes
2answers
344 views

How to emulate some options of \node from TikZ

Code \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \a in {0,45,...,315}% {\node[line width = 0pt, rotate = \a, anchor = ...
11
votes
3answers
777 views

Typographic conventions for width of figures in LaTeX data analysis reports

I posted this question on stats.SE, but the consensus was that it was better suited to tex.SE. Context: I've been thinking recently about conventions for figure width in data analysis reports that ...
11
votes
3answers
4k views

Problem with a very heavy EPS image - scatter plot too heavy as EPS

Using Stata, I produced a scatter plot of some variables. I saved the image as an EPS file. There are around a 1000 dots in the scatter plot - and this makes the EPS file to be 26MB. I need to use ...
11
votes
6answers
2k views

Insert a full page image

How can I insert a full page image? No blanck space left in the page. Extra bonus: how to add some text over the image.
11
votes
4answers
3k views

Inkscape → PDF → includegraphics → XeLaTeX → changed colors

I have an SVG file, which I have made/edited with Inkscape. I want to include this image in my thesis. The svg file is here: http://brussense.be/temp/theSVG.svg (because Inkscape uses a non-standard ...
11
votes
2answers
1k 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 ...
11
votes
4answers
4k views

LaTeX is putting a border around my figures

I'm trying to embed a few images in a figure, but LaTeX keeps putting a border around three of the sides. Is there any way for me to keep it from adding this border? The code that I used to create ...