{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
1answer
193 views

Pullquotes not working

I am want to wrap text around image using pull quote from Two-column text with circular insert, but I wasn't able even to compile example file correctly. Is there anybody that has pull quotes working? ...
3
votes
1answer
98 views

How to set border for figures

When I insert figures into my tex,sometimes it goes out of the page. Can you please suggest a method to avoid this.
3
votes
3answers
4k views

Drawing and inserting mathematical symbols on a Dia generated graph

I use graph via Dia to draw graphs. But I want to insert an equation or symbol on the graph. Is there any way to put an equation symbol such as $\alpha$ or $\beta$ on the graph? I have inserted ...
3
votes
1answer
142 views

Using Metapost inline in LaTeX (no ConTeXt)

When I was more active in LaTeX and Metapost (~10 years ago) I could not find a way to directly use Metapost in LaTeX. There were few tutorials on how to use it within ConTeXt, but for using it with ...
3
votes
1answer
269 views

Aligning 3 images square in a box

I am trying to create a figure with 3 images: two on the left half which are on top of each other, and one on the right that spans the height of the left images. Here is what I have: ...
3
votes
1answer
781 views

package wallpaper for landscape, latex

I'm using wallpaper package to put background image on each page. I'm facing problem to put image on landscape on right position. I need to put it upper left corner of the page. I It seems that it is ...
3
votes
1answer
2k views

How to deal with PDF figures

I can insert JPEG figures in publications, but when it comes the time to include PDF figures (I prefer them for graphics because of its vectorial nature) I cannot scale them properly. I am using ...
3
votes
1answer
19k views

Package pdftex.def error PDF mode expected

Took me 6 hours today and still doesn't work, the error is : Package pdftex.def error PDF mode expected mf-texlive/tex/latex/pdftex-def/pdftex.def Example document: \documentclass{article} ...
2
votes
1answer
83 views

How to put figures at the end of pdf file

I'm preparing an article for submission in a journal and it requires that all figures must be coded at the end of the TeX file and not inline. I've tried to use : ...
2
votes
4answers
102 views

Centering an image vertically

I'm currently having a few problems with centering an image on a page (both vertically and horizontally) while enlarging the image so that it is taking the whole width of the page. I'm managing to ...
2
votes
1answer
330 views

How to correctly clip with viewports with includegraphics and beamer columns?

I will happily accept any alternative to beamer's columns and \includegraphics that produces the intended result in a beamer slide. I'm trying to take the attached eps file and reorganize it so that ...
2
votes
1answer
57 views

Add part numbers and descriptions to figure?

I'd like to add part numbers and descriptions to a figure containing an object consisting of several parts. A circle with a number in it, a line and a dot or arrow that points to the relating part ...
2
votes
2answers
312 views

How to include a pdf image

All I am trying to include a pdf image in my tex file, but when I compiled the tex file, the console pop up the following error msg: ! LaTeX Error: Cannot determine size of graphic in ...
2
votes
1answer
4k views

Four Arranged Figures are offset

How can I ensure that the four plots (which are all the same size pdfs) appear with the same spacing: see they are offset here: % Actual versus predicted plots \begin{figure}[H] ...
2
votes
2answers
4k views

Align an image at the right of a text in LyX

I am LyX user and I would like to align an image at the right side of my title but I don't know how..:/ I am using as module "report". I've attached a screenshot in order to illustrate where I want ...
1
vote
2answers
308 views

Need to left align referenced image in mdframed Info box

I have been successful at creating a set of Warning, Note, and Info boxes using mdframed package, and they look very good. However, I need to left align an inserted image rather than have it on its ...
1
vote
1answer
1k views

Adding a figure to a Part Page

I'd like to add a figure below the title of the part on the part page. How does one go about doing so using the amsbook class? \documentclass{amsbook} \usepackage{lipsum} \begin{document} ...
1
vote
2answers
1k views

Change the shape of a vertex using qtree

Using the QTree package, is it possible to add a shape to a node? For example, a square or a circle?
1
vote
1answer
350 views

On-Screen resolution deteriorates in pdflatex if figures are included

When I put a figure into my document (doesn't have to be bitmap, PS does the trick as well, I think the distinction is color vs no color), the on-screen resolution of the text changes at the default ...
0
votes
0answers
22 views

To combine two overpics?

This question is based on this great answer about overpic, please see it for code and images. I have now a grid with greater density of cells: \begin{overpic}[grid,tics=2] % use this to figure ...
0
votes
1answer
101 views

What to do when including graphics path causing error?

I have the following entries before the \begin{document}: \DeclareGraphicsExtensions{.pdf,.png} \graphicspath{ {./images/} } I have verified that the path exists with the requisite files. But I ...
0
votes
2answers
128 views

What is the common approach to include pictures/figures from pdf files or other sources? [closed]

What is the common approach to include pictures/figures from pdf files or other sources? My approach is to save the graphic as a jpg. Afterwards I include it into a Power Point and safe it from PP to ...
0
votes
0answers
101 views

How to include .tif pictures via pdftex? [duplicate]

Possible Duplicate: Which graphics formats can be included in documents processed by latex or pdflatex? I am in the process of writing a paper for submission to PLOS ONE. Under their ...
12
votes
3answers
439 views

Fit text to linewidth, shrinking only

I often have AVMs/tables that are just a bit too large and use \resizebox to fit everything in one line. Now, if the linewidth changes (switch from twocolumn to onecolumn) this results in enlarging ...
12
votes
1answer
697 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, ...
10
votes
1answer
786 views

Redefine memoir Part to allow image

I am preparing a book with memoir. The book has three parts. I would like to have the Part title raised and to insert an image directly below the title. I am able to raise the Part title to the upper ...
9
votes
1answer
652 views

What are the default placement options for a floating figure in Latex?

The document Using Imported Graphics in L A TEX and pdfL A TEX talks about the different ways to affect where a floating figure is placed [htbp]. But these arguments are optional ... So how is the ...
9
votes
2answers
381 views

How to detect if in an exercise environment?

I found in How to use figure inside a exercise environment? that I can't use begin{figure} ... \end{figure} in an exercise environment. I also found situations where avoiding the use of such floats ...
8
votes
2answers
344 views

Include PDF via \pdfliteral

The pdfinlimg package and perl script allow to include ("binary") images directly into the LaTeX source code via the \pdfliteral command. For example, \documentclass[margin=1cm]{standalone} ...
8
votes
1answer
637 views

tex4ht, html output: increase eps image resolution without affecting math images size

I have the following MWE: \documentclass{book} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} Lorem ipsum dolor sit amet, \(k_\delta=\frac{3 ...
8
votes
1answer
3k views

beamer: How to place images behind text (z-order)

When writing a beamer presentation, I often use textblocks containing a single includegraphics to place pictures freely on a slide, e.g. \begin{textblock*}{0.51\textwidth}(10.8mm,56.8mm) ...
8
votes
1answer
1k views

Parameter Stack Size Error with graphicx

I'm trying to include a graphic in a document, and no matter how I try to manipulate the graphicx package, I have never been able to make an image appear. I have tried making the image PNG, PDF, and ...
8
votes
2answers
22k views

!LaTeX Error: Cannot determine size of graphic in simLinkError.pdf (no Bounding Box)

I'm trying to put a .pdf graphic in my LaTeX file. This is usually no problem for me. I use pdfLaTeX in TeXworks. The only difference this time seems to be that I'm using the style files from the ...
8
votes
2answers
639 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, ...
8
votes
1answer
787 views

How can I renew \includegraphics to always use \shadowbox?

I want to enclose all \includegraphics into \shadowbox. Therefore I thought to re-define \includegraphics: \renewcommand{\includegraphics}{\shadowbox\includegraphics} so that each time ...
8
votes
1answer
326 views

Produce PDFs with only the figures/tables without captions and with only the captions without figures/tables

I'm submitting the final copy of a journal paper and got the following requirements: Camera-ready copies of all figures and tables in a single pdf/ps file (that is, produce a single ps/pdf file ...
8
votes
1answer
524 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? ...
7
votes
1answer
370 views

Embed image data (png or pdf) inside tex document [duplicate]

Is there a way to include (or "inline") raw image data or pdf data inside the tex document itself, such that it becomes stand-alone? Something like this: ...
7
votes
2answers
1k views

Equivalent of bounding box when compile with pdflatex

I'm having an issue inserting a .pdf image into my .tex file (an .eps works fine). A description of my problem is below. When I insert an .eps figure by doing: \documentclass[a4paper,11pt]{article} ...
7
votes
4answers
23k views

\includegraphics — file not found, even when in same directory

Here's the preamble: \documentclass{report} \usepackage{fullpage} \usepackage{amssymb} \usepackage[fleqn]{amsmath} \usepackage{graphicx} \usepackage{color} ... And here's the call to ...
7
votes
1answer
340 views

how to import images into Memoir chapter style

Another Memoir style I'm trying to create... I grabbed bits of code from here and there and I almost have it working, but the imported image isn't centered over the chapter title... spent many hours ...
7
votes
2answers
323 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 ...
7
votes
1answer
7k views

Watermark image

Please note I'm new to LaTeX so don't know much about it (yet). I've looked on-line about how to add a watermark image but don't know how to do it. I've seen sites that show something about it but ...
7
votes
2answers
12k views

How to insert the author picture in the biography picture box of the IEEE LaTeX Template

How do I put the author picture in the picture frame box of a journal paper? I tried using this code but the picture wasn't placed in the box, it is outside the box. Here is the code: ...
7
votes
3answers
3k views

How to make a table with centered images?

On page 6 in this PDF is there a table with centred pictures in the right column. Does anyone know how to make such a table? I am using pdflatex.
7
votes
0answers
140 views

How to put one big image on each page [duplicate]

Possible Duplicate: How to include a picture over two pages, left part on left side, right on right (for books)? The problem is the following: I am formatting a twopage book on latex and I ...
6
votes
1answer
662 views

\addplot graphics: maintaining image's aspect ratio despite different scaling of axes

I have created a plot using a sophisticated program and would like to put the content of that plot into pgfplots' axis environment. Naturally, \addplot graphics is the way to achieve this. The Image's ...
6
votes
1answer
261 views

Magnify part of picture with TikZ spy, expressed in relative scoped coordinates

I want to magnify part of a picture with the TikZ spy library; however, with a scope for using relative coordinates like in #9561 Drawing on an image with TikZ. Provided I'm using the image tux.png - ...
6
votes
1answer
379 views

Is it possible to reduce the file size of generated PDF by clipping the included images with \includegraphics' viewport?

I noticed that clipping images with \includegraphics' viewport does not reduce the file size of generated PDF output. I might miss other settings. Is it possible to reduce the file size of generated ...
6
votes
1answer
5k views

How do I put an image on the left of right-aligned text

I'm trying to add an image to the top left corner of a page (inside the margins) in LaTeX. Across from the image I want a set of right-aligned text. I tried using two columns but the image is smaller ...