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

1
vote
2answers
878 views

\includegraphics without changing text symbols?

I'm trying to include a MATLAB figure in LaTeX. The MATLAB figure has this text: t1 = ['\phi = ', num2str(phi(k)),'^\circ']; text(Pmax*1.05,sqrt(-X*Pmax*tp+E^2/2)*.95,t1,'rotation',90,'FontSize',8) ...
6
votes
1answer
2k views

Apply gradient (shading) background to algorithm listing

Background A number of source files are included within floating algorithm boxes. The source files are PNG images with a transparent background. The document is edited using LyX. Problem The source ...
4
votes
1answer
1k views

Change float background colour

Background Including images within Algorithm floats. The images are trimmed to size automatically by a batch file. Problem In the following portion of the PDF, Listing 1.1 has a lot of space to the ...
8
votes
2answers
9k 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} & ...
5
votes
1answer
750 views

Auto-displaying a large image on multiple pages

I have a long UML diagram, I use the following code. The figure is about two and a half page long, but only the first page is showing, and the lower part of the figure is missing. How do I display the ...
12
votes
5answers
8k views

Graphicspath for MikTeX

Is there a way to specify a \graphicspath that includes all sub-directories? I know I could put all my graphics in a texmf tree, but I'd like to have them in another directory tree. As far as I can ...
9
votes
2answers
6k views

Is there a way to convert an image to grayscale?

Is there a way to convert a colored image to grayscale both for printing as well as screen viewing through pdfLaTeX?
6
votes
1answer
20k views

PNG: importing it with latex | pdflatex | xelatex

I never understood how (pdf)latex determines the size of imported bitmaps, but many years ago I experimentally elaborated simple rule that allowed me to get same output by running either latex or ...
1
vote
1answer
357 views

Formatting problem with lyx

I am writing a report in Lyx. I have included many images in the report. And I am having bit of problem with the placement of the image in the final report. I include a image in a section and ...
4
votes
1answer
1k views

LaTeX \graphicspath recursive search

I've read that LaTeX image directories can be searched recursively with the \graphicspath command by including a double slash at the end - i.e. \graphicspath{{../my_images//}}. However, the recursive ...
1
vote
2answers
167 views

Efficient Manner of Importing Graphics

What is the quickest way of importing graphics you need into your tex file. Say if you need to put figure's, charts, or plots from a textbook into your document. What's the fastest (but still get ...
0
votes
1answer
1k views

Images not visible in PDF

I have a strange problem. In some of the PDF readers, the images are not visible. In others, the images are visible but font size of the text below the image for that page becomes really tiny. Is it ...
2
votes
1answer
2k views

Insert Image from multipage pdf file in Lyx

I am writing a report and I have all the images in a pdf file with very high resolution. With limited skills in editing, I am loosing the quality of the image when I try to save the individual images. ...
5
votes
1answer
907 views

Trying to align external images within a tikz tree

I'm trying to generate a tikz tree that includes images (square pdf's) in the outermost nodes. (incidently, I'm generating these images using R and Sweave on the fly, but that's not pertanent to my ...
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 ...
53
votes
4answers
13k views

How do I insert an image in LaTeX so it looks good on print?

LaTeX documents print beautifully, but images often looks "ugly", "pixelated" or "low-res" compared to the text. By images I don't mean photos, which I rarely use, but rather diagrams, charts and ...
2
votes
1answer
201 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 ...
2
votes
2answers
633 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 ...
1
vote
1answer
2k views

Generating UML Entity-Relationship Diagrams in LaTeX

Would you recommend LaTeX for this kind of UML diagramming? http://yuml.me/ is great for quickly drawing Use Case and Class diagrams. Please recommend a library of some sort for LaTeX, or ...
11
votes
2answers
364 views

Can I conditionally scale an image with graphicx

In particular, when I include a graphic, I would like it to have width=\linewidth if it's width is greater than \linewidth, but I'd like it to have \scale=1 if it is smaller than the line width. In ...
0
votes
1answer
146 views

KDE Template Header not displaying

The KDE template won't display the .png image file. I haven't changed anything from the stock settings. I wanted to give the template a whirl, but all I see is a label called oxygen-header for a ...
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} ...
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
4k views

Alignment and scaling of nested subfigures

Update: Read this first I originally asked this question to find out how I would show a large image with magnified portions of the same image next to it. I was doing this by manually cropping copies ...
12
votes
1answer
7k views

Beamer background image centered

I'm trying to use an image as a background for Beamer presentation according to this post. However, I do not want the image spanning the entire background. Thus, I'm doing something like: ...
0
votes
0answers
98 views

Darker typeface in pages which include figures [duplicate]

Possible Duplicate: Why are some pages in my PDF coming out bold? In my PDF output, pages with figures on them have a darker typeface than pages without figures. This does not appear when I ...
27
votes
12answers
2k views

Competition time: Design an error page!

Or a 404 or the "captcha" image. To go with our amazing new design, we need some amazing pictures to go on the error page, the 404 page, and the captcha page. They should have a lighthearted theme, ...
1
vote
1answer
5k views

Move the position of figure subcaption of subfloat command

As the following code shows, it will label an 'a' and 'b' under each picture. How can I put the label at the left-top corner of each figure? \documentclass{article} \usepackage{graphicx} ...
2
votes
1answer
180 views

Including figures; how to determine compiler

I need to prepare a PDF and PS file from the same latex source but got stuck on including figures. When using pdflatex I can insert a png file like: \includegraphics[scale=0.6]{figure.png} However, ...
0
votes
1answer
966 views

Place a grid of pictures (2x2) with captions

I have 4 photos that I would like to place in in grid on my pages and add a caption to each photo. Does anyone know how to do this?
3
votes
1answer
510 views

Why does my graphics flows out of the box?

I'm new to LaTeX, and have been struggling with what I think should be simple. I want to create a box with a blue border and yellow interior. Inside of the box should be a graphic on the left, and ...
8
votes
4answers
3k views

Background image for minipage

I'd like to put a background image into a minipage, stretching exactly to the surrounding fbox. What's the best option to do that? (Searching the web, I only found solutions for backgrounding the ...
2
votes
1answer
46k views

undefined control sequence \includegraphics

I write my text in Mac OS X and every thing was fine but when I want compile my code with Winedt in Windows 7 Environment I got this error: undefined control sequence ...
2
votes
2answers
557 views

graphics issue— wrapfig and floatflt packages

I can't seem to get a graphic included without including the path. Can somebody help me with this? \begin{figure}[h] \includegraphics[width=0.35\textwidth]{C:/Users/zach/Documents/My ...
20
votes
3answers
16k 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 ...
1
vote
0answers
925 views

Exporting 3D graphics from Mathematica to TeX [closed]

So far, whenever I had to use a 3D plot generated in Mathematica in a LaTeX document, I used exported the graphics to either of the following: PDF PNG file format. Then I could easily include the ...
6
votes
1answer
2k views

How to place an image over a _full_ (including bleed) page in memoir?

I need to include a jpg into my document created with memoir as a full separate page. The jpg is colored and has 3 mm bleed out into the stock paper. A bit naively I thought I could just use negative ...
7
votes
1answer
596 views

What is the LaTeX filename length limit for images?

See Final Update below. I have some images with very long filenames and/or paths, and when I try to include them, my document appears to build fine, but when I try to open the PDF, it says the ...
7
votes
2answers
2k views

Ditaa diagrams in TeX (LaTeX) document

I would like to make Diagrams in AsciiArt style. I've found Ditaa tool very usefull. I was happy to find, there is Eps output addoon for it. What the easiest, but clear and elegant way (following ...
5
votes
1answer
376 views

Is it possible to create a hyperlink from an \includegraphics picture?

I'd like to make an image clickable, meaning I want to turn it into a hyperlink. I am including the image via \includegraphics but I am not sure how to make it clickable. Anyone knows how to do that?
0
votes
1answer
110 views

What are graphics being displayed at the end of the section? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I am including graphics into my latex documents as below: \begin{figure}[abc] \begin{center} ...
2
votes
2answers
755 views

How to use preview and animate packages together?

I'm used to prepare tikz graphics with preview or standalone packages to crop them. Now I've started to experiment with animations and wanted to do the same. My first test was with Alexander Grahn's ...
32
votes
2answers
12k 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 ...
4
votes
0answers
175 views

How to include PDF as graphics and as attachment without using extra file space [duplicate]

Possible Duplicate: Attach displayed image to the PDF without storing it twice Is it at all possible to include a PDF as a graphic in the document and also as an internal attachment to the ...
4
votes
1answer
258 views

Is it OK to scale image by changing its resolution?

Assume I have an image fruit240.jpg of 800 pixels by 600 pixels at resolution of 240 dpi. Normally I can scale it by half using the following way. \documentclass{article} ...
6
votes
3answers
3k views

Align text and image on the same line?

According to the two-column example document below, how can you put text and image on the same line? I'm interested in how to insert text at Some text here and more text here with the image right ...
1
vote
1answer
1k views

Allow centered graphic to overflow in margin [duplicate]

Possible Duplicate: Balancing figure that is wider than document's width I'm including a graphic with: \centering\includegraphics[width=xin]{some_name} This works fine as long as the ...
4
votes
1answer
5k views

Convert from PDF to EPS while keeping/outlining fonts

Situation: I have a PDF file which was generated by using a combination of tikz/pgf and Inkscape. It has all the correctly embedded fonts. It can be downloaded here. For example, using pdffonts ...
1
vote
0answers
114 views

Possible to Embed Base64 Encoded Images in TeX Documents? [duplicate]

Possible Duplicate: Embedding images with an encoding algorithm Most of the examples I've seen explain how to insert images by using graphicx and external images. But I'd like to know if ...
9
votes
4answers
18k 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 ...