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

4
votes
1answer
711 views

\twopagepicture package refining with long caption spanning across the two pages

The \twopagepicture package is definitely worth it when you have many large pictures. But perhaps I'm not getting the required results because I'm not following the advice correctly. Here are some ...
4
votes
1answer
5k views

Block Diagrams in TikZ

for my thesis i need to put some block diagrams in my LaTeX document. I was recommended to use TikZ for that. This is the only sample code i could find. Do you guys maybe have some tutorials / doc ...
4
votes
2answers
2k 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 ...
4
votes
2answers
944 views

How to rotate a picture in 3 dimensions?

I have a picture like this: I want to use this picture rotated like this (inline with the text as well as separately): Is there a way to achieve this?
4
votes
2answers
4k views

LyX: set width of image to 100% of page width

When I insert an image into LyX and set it to 100% page width, its left side is not at the farthest most edge of the left page. Instead it starts where the text margin is, and since it's too large to ...
4
votes
1answer
3k views

Override \centering to left justify an image

Background Dozens of source code snippets inserted into a document as images inside of Algorithm floats. Other images are screen captures, inserted as Graphics floats, to make a distinction. All ...
3
votes
2answers
88 views

add vertical line of equation x=2 and shade a region in graph by pgfplots

I would like to plot these four equations : $$y=\dfrac{3}{2x+1}, y=3x-2, x=2 y=0$$ and i don't know how to draw vertical line of equation x=2 and shade a region like the picture below ...
3
votes
1answer
227 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
100 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
1answer
143 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
275 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
807 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
20k 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
84 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
103 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
414 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
314 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
313 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
23 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
105 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 ...
20
votes
3answers
383 views

Is it ImageMagick's fault or pdflatex's that some JPEGs aren't working?

pdflatex (as well as lualatex and xelatex) cannot process (some) JPEG images which were created by my ImageMagick. I'm on OSX Mavericks, using ImageMagick v6.9.0-0 Q16 x86_64 provided via MacPorts. ...
12
votes
3answers
455 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
698 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
795 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
684 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
1answer
2k 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 ...
9
votes
2answers
383 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
367 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
649 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
2answers
23k 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
650 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
2answers
335 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 ...
8
votes
1answer
806 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
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 ...
8
votes
1answer
331 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
531 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
378 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
24k 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
348 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 ...